UNPKG

fastcomments-sdk

Version:

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

63 lines 2.32 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.instanceOfGetDomainConfigs200Response = instanceOfGetDomainConfigs200Response; exports.GetDomainConfigs200ResponseFromJSON = GetDomainConfigs200ResponseFromJSON; exports.GetDomainConfigs200ResponseFromJSONTyped = GetDomainConfigs200ResponseFromJSONTyped; exports.GetDomainConfigs200ResponseToJSON = GetDomainConfigs200ResponseToJSON; exports.GetDomainConfigs200ResponseToJSONTyped = GetDomainConfigs200ResponseToJSONTyped; /** * Check if a given object implements the GetDomainConfigs200Response interface. */ function instanceOfGetDomainConfigs200Response(value) { if (!('configurations' in value) || value['configurations'] === undefined) return false; if (!('status' in value) || value['status'] === undefined) return false; if (!('reason' in value) || value['reason'] === undefined) return false; if (!('code' in value) || value['code'] === undefined) return false; return true; } function GetDomainConfigs200ResponseFromJSON(json) { return GetDomainConfigs200ResponseFromJSONTyped(json, false); } function GetDomainConfigs200ResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'configurations': json['configurations'], 'status': json['status'], 'reason': json['reason'], 'code': json['code'], }; } function GetDomainConfigs200ResponseToJSON(json) { return GetDomainConfigs200ResponseToJSONTyped(json, false); } function GetDomainConfigs200ResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'configurations': value['configurations'], 'status': value['status'], 'reason': value['reason'], 'code': value['code'], }; } //# sourceMappingURL=GetDomainConfigs200Response.js.map