UNPKG

fastcomments-sdk

Version:

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

55 lines 2.26 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.instanceOfCreateQuestionConfigBodyCustomOptionsInner = instanceOfCreateQuestionConfigBodyCustomOptionsInner; exports.CreateQuestionConfigBodyCustomOptionsInnerFromJSON = CreateQuestionConfigBodyCustomOptionsInnerFromJSON; exports.CreateQuestionConfigBodyCustomOptionsInnerFromJSONTyped = CreateQuestionConfigBodyCustomOptionsInnerFromJSONTyped; exports.CreateQuestionConfigBodyCustomOptionsInnerToJSON = CreateQuestionConfigBodyCustomOptionsInnerToJSON; exports.CreateQuestionConfigBodyCustomOptionsInnerToJSONTyped = CreateQuestionConfigBodyCustomOptionsInnerToJSONTyped; /** * Check if a given object implements the CreateQuestionConfigBodyCustomOptionsInner interface. */ function instanceOfCreateQuestionConfigBodyCustomOptionsInner(value) { if (!('imageSrc' in value) || value['imageSrc'] === undefined) return false; if (!('name' in value) || value['name'] === undefined) return false; return true; } function CreateQuestionConfigBodyCustomOptionsInnerFromJSON(json) { return CreateQuestionConfigBodyCustomOptionsInnerFromJSONTyped(json, false); } function CreateQuestionConfigBodyCustomOptionsInnerFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'imageSrc': json['imageSrc'], 'name': json['name'], }; } function CreateQuestionConfigBodyCustomOptionsInnerToJSON(json) { return CreateQuestionConfigBodyCustomOptionsInnerToJSONTyped(json, false); } function CreateQuestionConfigBodyCustomOptionsInnerToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'imageSrc': value['imageSrc'], 'name': value['name'], }; } //# sourceMappingURL=CreateQuestionConfigBodyCustomOptionsInner.js.map