tuix-timesheets-api
Version:
This package facilitates the client request to tuix timesheets api
52 lines • 2.05 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.SubscriptionsSentResponseDtoToJSON = exports.SubscriptionsSentResponseDtoFromJSONTyped = exports.SubscriptionsSentResponseDtoFromJSON = exports.instanceOfSubscriptionsSentResponseDto = void 0;
const SubscriptionSentDto_1 = require("./SubscriptionSentDto");
/**
* Check if a given object implements the SubscriptionsSentResponseDto interface.
*/
function instanceOfSubscriptionsSentResponseDto(value) {
let isInstance = true;
isInstance = isInstance && "subscriptionsProcessed" in value;
return isInstance;
}
exports.instanceOfSubscriptionsSentResponseDto = instanceOfSubscriptionsSentResponseDto;
function SubscriptionsSentResponseDtoFromJSON(json) {
return SubscriptionsSentResponseDtoFromJSONTyped(json, false);
}
exports.SubscriptionsSentResponseDtoFromJSON = SubscriptionsSentResponseDtoFromJSON;
function SubscriptionsSentResponseDtoFromJSONTyped(json, ignoreDiscriminator) {
if ((json === undefined) || (json === null)) {
return json;
}
return {
'subscriptionsProcessed': (json['subscriptionsProcessed'].map(SubscriptionSentDto_1.SubscriptionSentDtoFromJSON)),
};
}
exports.SubscriptionsSentResponseDtoFromJSONTyped = SubscriptionsSentResponseDtoFromJSONTyped;
function SubscriptionsSentResponseDtoToJSON(value) {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
'subscriptionsProcessed': (value.subscriptionsProcessed.map(SubscriptionSentDto_1.SubscriptionSentDtoToJSON)),
};
}
exports.SubscriptionsSentResponseDtoToJSON = SubscriptionsSentResponseDtoToJSON;
//# sourceMappingURL=SubscriptionsSentResponseDto.js.map