wallee
Version:
TypeScript/JavaScript client for wallee
37 lines (36 loc) • 1.6 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfDeliveryIndicationListResponse = instanceOfDeliveryIndicationListResponse;
exports.DeliveryIndicationListResponseFromJSON = DeliveryIndicationListResponseFromJSON;
exports.DeliveryIndicationListResponseFromJSONTyped = DeliveryIndicationListResponseFromJSONTyped;
exports.DeliveryIndicationListResponseToJSON = DeliveryIndicationListResponseToJSON;
exports.DeliveryIndicationListResponseToJSONTyped = DeliveryIndicationListResponseToJSONTyped;
const DeliveryIndication_1 = require("./DeliveryIndication");
/**
* Check if a given object implements the DeliveryIndicationListResponse interface.
*/
function instanceOfDeliveryIndicationListResponse(value) {
return true;
}
function DeliveryIndicationListResponseFromJSON(json) {
return DeliveryIndicationListResponseFromJSONTyped(json, false);
}
function DeliveryIndicationListResponseFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'data': json['data'] == null ? undefined : (json['data'].map(DeliveryIndication_1.DeliveryIndicationFromJSON)),
'hasMore': json['hasMore'] == null ? undefined : json['hasMore'],
'limit': json['limit'] == null ? undefined : json['limit'],
};
}
function DeliveryIndicationListResponseToJSON(json) {
return DeliveryIndicationListResponseToJSONTyped(json, false);
}
function DeliveryIndicationListResponseToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}