fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
51 lines • 1.71 kB
JavaScript
;
/* 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.instanceOfChangeTicketStateBody = instanceOfChangeTicketStateBody;
exports.ChangeTicketStateBodyFromJSON = ChangeTicketStateBodyFromJSON;
exports.ChangeTicketStateBodyFromJSONTyped = ChangeTicketStateBodyFromJSONTyped;
exports.ChangeTicketStateBodyToJSON = ChangeTicketStateBodyToJSON;
exports.ChangeTicketStateBodyToJSONTyped = ChangeTicketStateBodyToJSONTyped;
/**
* Check if a given object implements the ChangeTicketStateBody interface.
*/
function instanceOfChangeTicketStateBody(value) {
if (!('state' in value) || value['state'] === undefined)
return false;
return true;
}
function ChangeTicketStateBodyFromJSON(json) {
return ChangeTicketStateBodyFromJSONTyped(json, false);
}
function ChangeTicketStateBodyFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'state': json['state'],
};
}
function ChangeTicketStateBodyToJSON(json) {
return ChangeTicketStateBodyToJSONTyped(json, false);
}
function ChangeTicketStateBodyToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'state': value['state'],
};
}
//# sourceMappingURL=ChangeTicketStateBody.js.map