toAutomationExecutionFilterKey method
Implementation
AutomationExecutionFilterKey toAutomationExecutionFilterKey() {
switch (this) {
case 'DocumentNamePrefix':
return AutomationExecutionFilterKey.documentNamePrefix;
case 'ExecutionStatus':
return AutomationExecutionFilterKey.executionStatus;
case 'ExecutionId':
return AutomationExecutionFilterKey.executionId;
case 'ParentExecutionId':
return AutomationExecutionFilterKey.parentExecutionId;
case 'CurrentAction':
return AutomationExecutionFilterKey.currentAction;
case 'StartTimeBefore':
return AutomationExecutionFilterKey.startTimeBefore;
case 'StartTimeAfter':
return AutomationExecutionFilterKey.startTimeAfter;
case 'AutomationType':
return AutomationExecutionFilterKey.automationType;
case 'TagKey':
return AutomationExecutionFilterKey.tagKey;
case 'TargetResourceGroup':
return AutomationExecutionFilterKey.targetResourceGroup;
case 'AutomationSubtype':
return AutomationExecutionFilterKey.automationSubtype;
case 'OpsItemId':
return AutomationExecutionFilterKey.opsItemId;
}
throw Exception('$this is not known in enum AutomationExecutionFilterKey');
}