UNPKG

fastcomments-sdk

Version:

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

55 lines 2.12 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.instanceOfGetDomainConfigs200ResponseAnyOf = instanceOfGetDomainConfigs200ResponseAnyOf; exports.GetDomainConfigs200ResponseAnyOfFromJSON = GetDomainConfigs200ResponseAnyOfFromJSON; exports.GetDomainConfigs200ResponseAnyOfFromJSONTyped = GetDomainConfigs200ResponseAnyOfFromJSONTyped; exports.GetDomainConfigs200ResponseAnyOfToJSON = GetDomainConfigs200ResponseAnyOfToJSON; exports.GetDomainConfigs200ResponseAnyOfToJSONTyped = GetDomainConfigs200ResponseAnyOfToJSONTyped; /** * Check if a given object implements the GetDomainConfigs200ResponseAnyOf interface. */ function instanceOfGetDomainConfigs200ResponseAnyOf(value) { if (!('configurations' in value) || value['configurations'] === undefined) return false; if (!('status' in value) || value['status'] === undefined) return false; return true; } function GetDomainConfigs200ResponseAnyOfFromJSON(json) { return GetDomainConfigs200ResponseAnyOfFromJSONTyped(json, false); } function GetDomainConfigs200ResponseAnyOfFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'configurations': json['configurations'], 'status': json['status'], }; } function GetDomainConfigs200ResponseAnyOfToJSON(json) { return GetDomainConfigs200ResponseAnyOfToJSONTyped(json, false); } function GetDomainConfigs200ResponseAnyOfToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'configurations': value['configurations'], 'status': value['status'], }; } //# sourceMappingURL=GetDomainConfigs200ResponseAnyOf.js.map