UNPKG

wallee

Version:
38 lines (37 loc) 1.7 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfDeliveryIndicationSearchResponse = instanceOfDeliveryIndicationSearchResponse; exports.DeliveryIndicationSearchResponseFromJSON = DeliveryIndicationSearchResponseFromJSON; exports.DeliveryIndicationSearchResponseFromJSONTyped = DeliveryIndicationSearchResponseFromJSONTyped; exports.DeliveryIndicationSearchResponseToJSON = DeliveryIndicationSearchResponseToJSON; exports.DeliveryIndicationSearchResponseToJSONTyped = DeliveryIndicationSearchResponseToJSONTyped; const DeliveryIndication_1 = require("./DeliveryIndication"); /** * Check if a given object implements the DeliveryIndicationSearchResponse interface. */ function instanceOfDeliveryIndicationSearchResponse(value) { return true; } function DeliveryIndicationSearchResponseFromJSON(json) { return DeliveryIndicationSearchResponseFromJSONTyped(json, false); } function DeliveryIndicationSearchResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(DeliveryIndication_1.DeliveryIndicationFromJSON)), 'offset': json['offset'] == null ? undefined : json['offset'], 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } function DeliveryIndicationSearchResponseToJSON(json) { return DeliveryIndicationSearchResponseToJSONTyped(json, false); } function DeliveryIndicationSearchResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }