UNPKG

wallee

Version:
28 lines (27 loc) 856 B
/** * Check if a given object implements the DocumentTemplateTypeGroup interface. */ export function instanceOfDocumentTemplateTypeGroup(value) { return true; } export function DocumentTemplateTypeGroupFromJSON(json) { return DocumentTemplateTypeGroupFromJSONTyped(json, false); } export function DocumentTemplateTypeGroupFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'id': json['id'] == null ? undefined : json['id'], 'title': json['title'] == null ? undefined : json['title'], }; } export function DocumentTemplateTypeGroupToJSON(json) { return DocumentTemplateTypeGroupToJSONTyped(json, false); } export function DocumentTemplateTypeGroupToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }