tuix-timesheets-api
Version:
This package facilitates the client request to tuix timesheets api
51 lines • 1.74 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.SlackAccountResponseDTOToJSON = exports.SlackAccountResponseDTOFromJSONTyped = exports.SlackAccountResponseDTOFromJSON = exports.instanceOfSlackAccountResponseDTO = void 0;
/**
* Check if a given object implements the SlackAccountResponseDTO interface.
*/
function instanceOfSlackAccountResponseDTO(value) {
let isInstance = true;
isInstance = isInstance && "slackAccountId" in value;
return isInstance;
}
exports.instanceOfSlackAccountResponseDTO = instanceOfSlackAccountResponseDTO;
function SlackAccountResponseDTOFromJSON(json) {
return SlackAccountResponseDTOFromJSONTyped(json, false);
}
exports.SlackAccountResponseDTOFromJSON = SlackAccountResponseDTOFromJSON;
function SlackAccountResponseDTOFromJSONTyped(json, ignoreDiscriminator) {
if ((json === undefined) || (json === null)) {
return json;
}
return {
'slackAccountId': json['slackAccountId'],
};
}
exports.SlackAccountResponseDTOFromJSONTyped = SlackAccountResponseDTOFromJSONTyped;
function SlackAccountResponseDTOToJSON(value) {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
'slackAccountId': value.slackAccountId,
};
}
exports.SlackAccountResponseDTOToJSON = SlackAccountResponseDTOToJSON;
//# sourceMappingURL=SlackAccountResponseDTO.js.map