UNPKG

fastcomments-sdk

Version:

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

55 lines 2.07 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.instanceOfQuestionConfigCustomOptionsInner = instanceOfQuestionConfigCustomOptionsInner; exports.QuestionConfigCustomOptionsInnerFromJSON = QuestionConfigCustomOptionsInnerFromJSON; exports.QuestionConfigCustomOptionsInnerFromJSONTyped = QuestionConfigCustomOptionsInnerFromJSONTyped; exports.QuestionConfigCustomOptionsInnerToJSON = QuestionConfigCustomOptionsInnerToJSON; exports.QuestionConfigCustomOptionsInnerToJSONTyped = QuestionConfigCustomOptionsInnerToJSONTyped; /** * Check if a given object implements the QuestionConfigCustomOptionsInner interface. */ function instanceOfQuestionConfigCustomOptionsInner(value) { if (!('imageSrc' in value) || value['imageSrc'] === undefined) return false; if (!('name' in value) || value['name'] === undefined) return false; return true; } function QuestionConfigCustomOptionsInnerFromJSON(json) { return QuestionConfigCustomOptionsInnerFromJSONTyped(json, false); } function QuestionConfigCustomOptionsInnerFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'imageSrc': json['imageSrc'], 'name': json['name'], }; } function QuestionConfigCustomOptionsInnerToJSON(json) { return QuestionConfigCustomOptionsInnerToJSONTyped(json, false); } function QuestionConfigCustomOptionsInnerToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'imageSrc': value['imageSrc'], 'name': value['name'], }; } //# sourceMappingURL=QuestionConfigCustomOptionsInner.js.map