UNPKG

wallee

Version:
36 lines (35 loc) 1.52 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfDeliveryIndicationDecisionReason = instanceOfDeliveryIndicationDecisionReason; exports.DeliveryIndicationDecisionReasonFromJSON = DeliveryIndicationDecisionReasonFromJSON; exports.DeliveryIndicationDecisionReasonFromJSONTyped = DeliveryIndicationDecisionReasonFromJSONTyped; exports.DeliveryIndicationDecisionReasonToJSON = DeliveryIndicationDecisionReasonToJSON; exports.DeliveryIndicationDecisionReasonToJSONTyped = DeliveryIndicationDecisionReasonToJSONTyped; /** * Check if a given object implements the DeliveryIndicationDecisionReason interface. */ function instanceOfDeliveryIndicationDecisionReason(value) { return true; } function DeliveryIndicationDecisionReasonFromJSON(json) { return DeliveryIndicationDecisionReasonFromJSONTyped(json, false); } function DeliveryIndicationDecisionReasonFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'name': json['name'] == null ? undefined : json['name'], 'description': json['description'] == null ? undefined : json['description'], 'id': json['id'] == null ? undefined : json['id'], }; } function DeliveryIndicationDecisionReasonToJSON(json) { return DeliveryIndicationDecisionReasonToJSONTyped(json, false); } function DeliveryIndicationDecisionReasonToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }