UNPKG

fastcomments-sdk

Version:

FastComments API Client - A SDK for interacting with the FastComments API

61 lines 2.55 kB
"use strict"; /* tslint:disable */ /* eslint-disable */ /** * fastcomments * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 0.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfPatchDomainConfigParams = instanceOfPatchDomainConfigParams; exports.PatchDomainConfigParamsFromJSON = PatchDomainConfigParamsFromJSON; exports.PatchDomainConfigParamsFromJSONTyped = PatchDomainConfigParamsFromJSONTyped; exports.PatchDomainConfigParamsToJSON = PatchDomainConfigParamsToJSON; exports.PatchDomainConfigParamsToJSONTyped = PatchDomainConfigParamsToJSONTyped; /** * Check if a given object implements the PatchDomainConfigParams interface. */ function instanceOfPatchDomainConfigParams(value) { return true; } function PatchDomainConfigParamsFromJSON(json) { return PatchDomainConfigParamsFromJSONTyped(json, false); } function PatchDomainConfigParamsFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'domain': json['domain'] == null ? undefined : json['domain'], 'emailFromName': json['emailFromName'] == null ? undefined : json['emailFromName'], 'emailFromEmail': json['emailFromEmail'] == null ? undefined : json['emailFromEmail'], 'logoSrc': json['logoSrc'] == null ? undefined : json['logoSrc'], 'logoSrc100px': json['logoSrc100px'] == null ? undefined : json['logoSrc100px'], 'footerUnsubscribeURL': json['footerUnsubscribeURL'] == null ? undefined : json['footerUnsubscribeURL'], 'emailHeaders': json['emailHeaders'] == null ? undefined : json['emailHeaders'], }; } function PatchDomainConfigParamsToJSON(json) { return PatchDomainConfigParamsToJSONTyped(json, false); } function PatchDomainConfigParamsToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'domain': value['domain'], 'emailFromName': value['emailFromName'], 'emailFromEmail': value['emailFromEmail'], 'logoSrc': value['logoSrc'], 'logoSrc100px': value['logoSrc100px'], 'footerUnsubscribeURL': value['footerUnsubscribeURL'], 'emailHeaders': value['emailHeaders'], }; } //# sourceMappingURL=PatchDomainConfigParams.js.map