tuix-timesheets-api
Version:
This package facilitates the client request to tuix timesheets api
51 lines • 1.72 kB
JavaScript
;
/* tslint:disable */
/* eslint-disable */
/**
* Tuix Services
* Tuix Services API
*
* The version of the OpenAPI document: 1.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.SlackAccountReponseDtoToJSON = exports.SlackAccountReponseDtoFromJSONTyped = exports.SlackAccountReponseDtoFromJSON = exports.instanceOfSlackAccountReponseDto = void 0;
/**
* Check if a given object implements the SlackAccountReponseDto interface.
*/
function instanceOfSlackAccountReponseDto(value) {
let isInstance = true;
isInstance = isInstance && "slackAccountId" in value;
return isInstance;
}
exports.instanceOfSlackAccountReponseDto = instanceOfSlackAccountReponseDto;
function SlackAccountReponseDtoFromJSON(json) {
return SlackAccountReponseDtoFromJSONTyped(json, false);
}
exports.SlackAccountReponseDtoFromJSON = SlackAccountReponseDtoFromJSON;
function SlackAccountReponseDtoFromJSONTyped(json, ignoreDiscriminator) {
if ((json === undefined) || (json === null)) {
return json;
}
return {
'slackAccountId': json['slackAccountId'],
};
}
exports.SlackAccountReponseDtoFromJSONTyped = SlackAccountReponseDtoFromJSONTyped;
function SlackAccountReponseDtoToJSON(value) {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
'slackAccountId': value.slackAccountId,
};
}
exports.SlackAccountReponseDtoToJSON = SlackAccountReponseDtoToJSON;
//# sourceMappingURL=SlackAccountReponseDto.js.map