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.instanceOfUpdateQuestionConfigBodyCustomOptionsInner = instanceOfUpdateQuestionConfigBodyCustomOptionsInner; exports.UpdateQuestionConfigBodyCustomOptionsInnerFromJSON = UpdateQuestionConfigBodyCustomOptionsInnerFromJSON; exports.UpdateQuestionConfigBodyCustomOptionsInnerFromJSONTyped = UpdateQuestionConfigBodyCustomOptionsInnerFromJSONTyped; exports.UpdateQuestionConfigBodyCustomOptionsInnerToJSON = UpdateQuestionConfigBodyCustomOptionsInnerToJSON; exports.UpdateQuestionConfigBodyCustomOptionsInnerToJSONTyped = UpdateQuestionConfigBodyCustomOptionsInnerToJSONTyped; /** * Check if a given object implements the UpdateQuestionConfigBodyCustomOptionsInner interface. */ function instanceOfUpdateQuestionConfigBodyCustomOptionsInner(value) { if (!('imageSrc' in value) || value['imageSrc'] === undefined) return false; if (!('name' in value) || value['name'] === undefined) return false; return true; } function UpdateQuestionConfigBodyCustomOptionsInnerFromJSON(json) { return UpdateQuestionConfigBodyCustomOptionsInnerFromJSONTyped(json, false); } function UpdateQuestionConfigBodyCustomOptionsInnerFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'imageSrc': json['imageSrc'], 'name': json['name'], }; } function UpdateQuestionConfigBodyCustomOptionsInnerToJSON(json) { return UpdateQuestionConfigBodyCustomOptionsInnerToJSONTyped(json, false); } function UpdateQuestionConfigBodyCustomOptionsInnerToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'imageSrc': value['imageSrc'], 'name': value['name'], }; } //# sourceMappingURL=UpdateQuestionConfigBodyCustomOptionsInner.js.map