wallee
Version:
TypeScript/JavaScript client for wallee
29 lines (28 loc) • 995 B
JavaScript
/**
* Check if a given object implements the DeliveryIndicationDecisionReason interface.
*/
export function instanceOfDeliveryIndicationDecisionReason(value) {
return true;
}
export function DeliveryIndicationDecisionReasonFromJSON(json) {
return DeliveryIndicationDecisionReasonFromJSONTyped(json, false);
}
export 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'],
};
}
export function DeliveryIndicationDecisionReasonToJSON(json) {
return DeliveryIndicationDecisionReasonToJSONTyped(json, false);
}
export function DeliveryIndicationDecisionReasonToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}