UNPKG

fastcomments-sdk

Version:

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

59 lines 2.18 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.instanceOfGetDomainConfigsResponseAnyOf1 = instanceOfGetDomainConfigsResponseAnyOf1; exports.GetDomainConfigsResponseAnyOf1FromJSON = GetDomainConfigsResponseAnyOf1FromJSON; exports.GetDomainConfigsResponseAnyOf1FromJSONTyped = GetDomainConfigsResponseAnyOf1FromJSONTyped; exports.GetDomainConfigsResponseAnyOf1ToJSON = GetDomainConfigsResponseAnyOf1ToJSON; exports.GetDomainConfigsResponseAnyOf1ToJSONTyped = GetDomainConfigsResponseAnyOf1ToJSONTyped; /** * Check if a given object implements the GetDomainConfigsResponseAnyOf1 interface. */ function instanceOfGetDomainConfigsResponseAnyOf1(value) { if (!('reason' in value) || value['reason'] === undefined) return false; if (!('code' in value) || value['code'] === undefined) return false; if (!('status' in value) || value['status'] === undefined) return false; return true; } function GetDomainConfigsResponseAnyOf1FromJSON(json) { return GetDomainConfigsResponseAnyOf1FromJSONTyped(json, false); } function GetDomainConfigsResponseAnyOf1FromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'reason': json['reason'], 'code': json['code'], 'status': json['status'], }; } function GetDomainConfigsResponseAnyOf1ToJSON(json) { return GetDomainConfigsResponseAnyOf1ToJSONTyped(json, false); } function GetDomainConfigsResponseAnyOf1ToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'reason': value['reason'], 'code': value['code'], 'status': value['status'], }; } //# sourceMappingURL=GetDomainConfigsResponseAnyOf1.js.map