UNPKG

wallee

Version:
30 lines (29 loc) 1.08 kB
import { DeliveryIndicationFromJSON, } from './DeliveryIndication'; /** * Check if a given object implements the DeliveryIndicationListResponse interface. */ export function instanceOfDeliveryIndicationListResponse(value) { return true; } export function DeliveryIndicationListResponseFromJSON(json) { return DeliveryIndicationListResponseFromJSONTyped(json, false); } export function DeliveryIndicationListResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(DeliveryIndicationFromJSON)), 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } export function DeliveryIndicationListResponseToJSON(json) { return DeliveryIndicationListResponseToJSONTyped(json, false); } export function DeliveryIndicationListResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }