UNPKG

fastcomments-sdk

Version:

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

59 lines 2.25 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.instanceOfPatchDomainConfig200ResponseAnyOf1 = instanceOfPatchDomainConfig200ResponseAnyOf1; exports.PatchDomainConfig200ResponseAnyOf1FromJSON = PatchDomainConfig200ResponseAnyOf1FromJSON; exports.PatchDomainConfig200ResponseAnyOf1FromJSONTyped = PatchDomainConfig200ResponseAnyOf1FromJSONTyped; exports.PatchDomainConfig200ResponseAnyOf1ToJSON = PatchDomainConfig200ResponseAnyOf1ToJSON; exports.PatchDomainConfig200ResponseAnyOf1ToJSONTyped = PatchDomainConfig200ResponseAnyOf1ToJSONTyped; /** * Check if a given object implements the PatchDomainConfig200ResponseAnyOf1 interface. */ function instanceOfPatchDomainConfig200ResponseAnyOf1(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 PatchDomainConfig200ResponseAnyOf1FromJSON(json) { return PatchDomainConfig200ResponseAnyOf1FromJSONTyped(json, false); } function PatchDomainConfig200ResponseAnyOf1FromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'reason': json['reason'], 'code': json['code'], 'status': json['status'], }; } function PatchDomainConfig200ResponseAnyOf1ToJSON(json) { return PatchDomainConfig200ResponseAnyOf1ToJSONTyped(json, false); } function PatchDomainConfig200ResponseAnyOf1ToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'reason': value['reason'], 'code': value['code'], 'status': value['status'], }; } //# sourceMappingURL=PatchDomainConfig200ResponseAnyOf1.js.map