UNPKG

fastcomments-sdk

Version:

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

59 lines 2.22 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.instanceOfGetDomainConfig200ResponseAnyOf1 = instanceOfGetDomainConfig200ResponseAnyOf1; exports.GetDomainConfig200ResponseAnyOf1FromJSON = GetDomainConfig200ResponseAnyOf1FromJSON; exports.GetDomainConfig200ResponseAnyOf1FromJSONTyped = GetDomainConfig200ResponseAnyOf1FromJSONTyped; exports.GetDomainConfig200ResponseAnyOf1ToJSON = GetDomainConfig200ResponseAnyOf1ToJSON; exports.GetDomainConfig200ResponseAnyOf1ToJSONTyped = GetDomainConfig200ResponseAnyOf1ToJSONTyped; /** * Check if a given object implements the GetDomainConfig200ResponseAnyOf1 interface. */ function instanceOfGetDomainConfig200ResponseAnyOf1(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 GetDomainConfig200ResponseAnyOf1FromJSON(json) { return GetDomainConfig200ResponseAnyOf1FromJSONTyped(json, false); } function GetDomainConfig200ResponseAnyOf1FromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'reason': json['reason'], 'code': json['code'], 'status': json['status'], }; } function GetDomainConfig200ResponseAnyOf1ToJSON(json) { return GetDomainConfig200ResponseAnyOf1ToJSONTyped(json, false); } function GetDomainConfig200ResponseAnyOf1ToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'reason': value['reason'], 'code': value['code'], 'status': value['status'], }; } //# sourceMappingURL=GetDomainConfig200ResponseAnyOf1.js.map