UNPKG

wallee

Version:
29 lines (28 loc) 843 B
/** * Check if a given object implements the ConditionType interface. */ export function instanceOfConditionType(value) { return true; } export function ConditionTypeFromJSON(json) { return ConditionTypeFromJSONTyped(json, false); } export function ConditionTypeFromJSONTyped(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 ConditionTypeToJSON(json) { return ConditionTypeToJSONTyped(json, false); } export function ConditionTypeToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }