UNPKG

tuix-timesheets-api

Version:

This package facilitates the client request to tuix timesheets api

57 lines 1.86 kB
"use strict"; /* 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.SubscriptionSentDtoToJSON = exports.SubscriptionSentDtoFromJSONTyped = exports.SubscriptionSentDtoFromJSON = exports.instanceOfSubscriptionSentDto = void 0; /** * Check if a given object implements the SubscriptionSentDto interface. */ function instanceOfSubscriptionSentDto(value) { let isInstance = true; isInstance = isInstance && "email" in value; isInstance = isInstance && "language" in value; isInstance = isInstance && "isSent" in value; return isInstance; } exports.instanceOfSubscriptionSentDto = instanceOfSubscriptionSentDto; function SubscriptionSentDtoFromJSON(json) { return SubscriptionSentDtoFromJSONTyped(json, false); } exports.SubscriptionSentDtoFromJSON = SubscriptionSentDtoFromJSON; function SubscriptionSentDtoFromJSONTyped(json, ignoreDiscriminator) { if ((json === undefined) || (json === null)) { return json; } return { 'email': json['email'], 'language': json['language'], 'isSent': json['isSent'], }; } exports.SubscriptionSentDtoFromJSONTyped = SubscriptionSentDtoFromJSONTyped; function SubscriptionSentDtoToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'email': value.email, 'language': value.language, 'isSent': value.isSent, }; } exports.SubscriptionSentDtoToJSON = SubscriptionSentDtoToJSON; //# sourceMappingURL=SubscriptionSentDto.js.map