fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
51 lines • 1.62 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.instanceOfCreateTicketBody = instanceOfCreateTicketBody;
exports.CreateTicketBodyFromJSON = CreateTicketBodyFromJSON;
exports.CreateTicketBodyFromJSONTyped = CreateTicketBodyFromJSONTyped;
exports.CreateTicketBodyToJSON = CreateTicketBodyToJSON;
exports.CreateTicketBodyToJSONTyped = CreateTicketBodyToJSONTyped;
/**
* Check if a given object implements the CreateTicketBody interface.
*/
function instanceOfCreateTicketBody(value) {
if (!('subject' in value) || value['subject'] === undefined)
return false;
return true;
}
function CreateTicketBodyFromJSON(json) {
return CreateTicketBodyFromJSONTyped(json, false);
}
function CreateTicketBodyFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'subject': json['subject'],
};
}
function CreateTicketBodyToJSON(json) {
return CreateTicketBodyToJSONTyped(json, false);
}
function CreateTicketBodyToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'subject': value['subject'],
};
}
//# sourceMappingURL=CreateTicketBody.js.map