UNPKG

fastcomments-sdk

Version:

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

55 lines 2.06 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.instanceOfDeleteSubscriptionAPIResponse = instanceOfDeleteSubscriptionAPIResponse; exports.DeleteSubscriptionAPIResponseFromJSON = DeleteSubscriptionAPIResponseFromJSON; exports.DeleteSubscriptionAPIResponseFromJSONTyped = DeleteSubscriptionAPIResponseFromJSONTyped; exports.DeleteSubscriptionAPIResponseToJSON = DeleteSubscriptionAPIResponseToJSON; exports.DeleteSubscriptionAPIResponseToJSONTyped = DeleteSubscriptionAPIResponseToJSONTyped; /** * Check if a given object implements the DeleteSubscriptionAPIResponse interface. */ function instanceOfDeleteSubscriptionAPIResponse(value) { if (!('status' in value) || value['status'] === undefined) return false; return true; } function DeleteSubscriptionAPIResponseFromJSON(json) { return DeleteSubscriptionAPIResponseFromJSONTyped(json, false); } function DeleteSubscriptionAPIResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'reason': json['reason'] == null ? undefined : json['reason'], 'code': json['code'] == null ? undefined : json['code'], 'status': json['status'], }; } function DeleteSubscriptionAPIResponseToJSON(json) { return DeleteSubscriptionAPIResponseToJSONTyped(json, false); } function DeleteSubscriptionAPIResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'reason': value['reason'], 'code': value['code'], 'status': value['status'], }; } //# sourceMappingURL=DeleteSubscriptionAPIResponse.js.map