tuix-timesheets-api
Version:
This package facilitates the client request to tuix timesheets api
67 lines (57 loc) • 1.57 kB
text/typescript
/* 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.
*/
import { exists, mapValues } from '../runtime';
/**
*
* @export
* @interface SlackAccountResponseDTO
*/
export interface SlackAccountResponseDTO {
/**
*
* @type {string}
* @memberof SlackAccountResponseDTO
*/
slackAccountId: string;
}
/**
* Check if a given object implements the SlackAccountResponseDTO interface.
*/
export function instanceOfSlackAccountResponseDTO(value: object): boolean {
let isInstance = true;
isInstance = isInstance && "slackAccountId" in value;
return isInstance;
}
export function SlackAccountResponseDTOFromJSON(json: any): SlackAccountResponseDTO {
return SlackAccountResponseDTOFromJSONTyped(json, false);
}
export function SlackAccountResponseDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): SlackAccountResponseDTO {
if ((json === undefined) || (json === null)) {
return json;
}
return {
'slackAccountId': json['slackAccountId'],
};
}
export function SlackAccountResponseDTOToJSON(value?: SlackAccountResponseDTO | null): any {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
'slackAccountId': value.slackAccountId,
};
}