fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
53 lines • 1.78 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.instanceOfUpdateHashTagBody = instanceOfUpdateHashTagBody;
exports.UpdateHashTagBodyFromJSON = UpdateHashTagBodyFromJSON;
exports.UpdateHashTagBodyFromJSONTyped = UpdateHashTagBodyFromJSONTyped;
exports.UpdateHashTagBodyToJSON = UpdateHashTagBodyToJSON;
exports.UpdateHashTagBodyToJSONTyped = UpdateHashTagBodyToJSONTyped;
/**
* Check if a given object implements the UpdateHashTagBody interface.
*/
function instanceOfUpdateHashTagBody(value) {
return true;
}
function UpdateHashTagBodyFromJSON(json) {
return UpdateHashTagBodyFromJSONTyped(json, false);
}
function UpdateHashTagBodyFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'tenantId': json['tenantId'] == null ? undefined : json['tenantId'],
'url': json['url'] == null ? undefined : json['url'],
'tag': json['tag'] == null ? undefined : json['tag'],
};
}
function UpdateHashTagBodyToJSON(json) {
return UpdateHashTagBodyToJSONTyped(json, false);
}
function UpdateHashTagBodyToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'tenantId': value['tenantId'],
'url': value['url'],
'tag': value['tag'],
};
}
//# sourceMappingURL=UpdateHashTagBody.js.map