diff --git a/tools/enums.go b/tools/enums.go index 9f61c9a..c82bfe5 100644 --- a/tools/enums.go +++ b/tools/enums.go @@ -92,3 +92,7 @@ func (d DataType) String() string { // String - Returns the string name of the d func (d DataType) EnumIndex() int { return int(d) } + +func DataTypeList() []DataType { + return []DataType{DATA_RESOURCE, PROCESSING_RESOURCE, STORAGE_RESOURCE, COMPUTE_RESOURCE, WORKFLOW_RESOURCE, WORKFLOW, WORKFLOW_EXECUTION, WORKSPACE, RESOURCE_MODEL, PEER, COLLABORATIVE_AREA, RULE, BOOKING, WORKFLOW_HISTORY, WORKSPACE_HISTORY, ORDER, BUYING_STATUS} +}