UNPKG

fastcomments-sdk

Version:

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

57 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.instanceOfUpdateAPIPageData = instanceOfUpdateAPIPageData; exports.UpdateAPIPageDataFromJSON = UpdateAPIPageDataFromJSON; exports.UpdateAPIPageDataFromJSONTyped = UpdateAPIPageDataFromJSONTyped; exports.UpdateAPIPageDataToJSON = UpdateAPIPageDataToJSON; exports.UpdateAPIPageDataToJSONTyped = UpdateAPIPageDataToJSONTyped; /** * Check if a given object implements the UpdateAPIPageData interface. */ function instanceOfUpdateAPIPageData(value) { return true; } function UpdateAPIPageDataFromJSON(json) { return UpdateAPIPageDataFromJSONTyped(json, false); } function UpdateAPIPageDataFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'isClosed': json['isClosed'] == null ? undefined : json['isClosed'], 'accessibleByGroupIds': json['accessibleByGroupIds'] == null ? undefined : json['accessibleByGroupIds'], 'title': json['title'] == null ? undefined : json['title'], 'url': json['url'] == null ? undefined : json['url'], 'urlId': json['urlId'] == null ? undefined : json['urlId'], }; } function UpdateAPIPageDataToJSON(json) { return UpdateAPIPageDataToJSONTyped(json, false); } function UpdateAPIPageDataToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'isClosed': value['isClosed'], 'accessibleByGroupIds': value['accessibleByGroupIds'], 'title': value['title'], 'url': value['url'], 'urlId': value['urlId'], }; } //# sourceMappingURL=UpdateAPIPageData.js.map