toOpsItemFilterKey method
Implementation
OpsItemFilterKey toOpsItemFilterKey() {
switch (this) {
case 'Status':
return OpsItemFilterKey.status;
case 'CreatedBy':
return OpsItemFilterKey.createdBy;
case 'Source':
return OpsItemFilterKey.source;
case 'Priority':
return OpsItemFilterKey.priority;
case 'Title':
return OpsItemFilterKey.title;
case 'OpsItemId':
return OpsItemFilterKey.opsItemId;
case 'CreatedTime':
return OpsItemFilterKey.createdTime;
case 'LastModifiedTime':
return OpsItemFilterKey.lastModifiedTime;
case 'ActualStartTime':
return OpsItemFilterKey.actualStartTime;
case 'ActualEndTime':
return OpsItemFilterKey.actualEndTime;
case 'PlannedStartTime':
return OpsItemFilterKey.plannedStartTime;
case 'PlannedEndTime':
return OpsItemFilterKey.plannedEndTime;
case 'OperationalData':
return OpsItemFilterKey.operationalData;
case 'OperationalDataKey':
return OpsItemFilterKey.operationalDataKey;
case 'OperationalDataValue':
return OpsItemFilterKey.operationalDataValue;
case 'ResourceId':
return OpsItemFilterKey.resourceId;
case 'AutomationId':
return OpsItemFilterKey.automationId;
case 'Category':
return OpsItemFilterKey.category;
case 'Severity':
return OpsItemFilterKey.severity;
case 'OpsItemType':
return OpsItemFilterKey.opsItemType;
case 'ChangeRequestByRequesterArn':
return OpsItemFilterKey.changeRequestByRequesterArn;
case 'ChangeRequestByRequesterName':
return OpsItemFilterKey.changeRequestByRequesterName;
case 'ChangeRequestByApproverArn':
return OpsItemFilterKey.changeRequestByApproverArn;
case 'ChangeRequestByApproverName':
return OpsItemFilterKey.changeRequestByApproverName;
case 'ChangeRequestByTemplate':
return OpsItemFilterKey.changeRequestByTemplate;
case 'ChangeRequestByTargetsResourceGroup':
return OpsItemFilterKey.changeRequestByTargetsResourceGroup;
}
throw Exception('$this is not known in enum OpsItemFilterKey');
}