toOperationFilterName method

OperationFilterName toOperationFilterName()

Implementation

OperationFilterName toOperationFilterName() {
  switch (this) {
    case 'NAMESPACE_ID':
      return OperationFilterName.namespaceId;
    case 'SERVICE_ID':
      return OperationFilterName.serviceId;
    case 'STATUS':
      return OperationFilterName.status;
    case 'TYPE':
      return OperationFilterName.type;
    case 'UPDATE_DATE':
      return OperationFilterName.updateDate;
  }
  throw Exception('$this is not known in enum OperationFilterName');
}