toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AutomationExecutionFilterKey.documentNamePrefix:
      return 'DocumentNamePrefix';
    case AutomationExecutionFilterKey.executionStatus:
      return 'ExecutionStatus';
    case AutomationExecutionFilterKey.executionId:
      return 'ExecutionId';
    case AutomationExecutionFilterKey.parentExecutionId:
      return 'ParentExecutionId';
    case AutomationExecutionFilterKey.currentAction:
      return 'CurrentAction';
    case AutomationExecutionFilterKey.startTimeBefore:
      return 'StartTimeBefore';
    case AutomationExecutionFilterKey.startTimeAfter:
      return 'StartTimeAfter';
    case AutomationExecutionFilterKey.automationType:
      return 'AutomationType';
    case AutomationExecutionFilterKey.tagKey:
      return 'TagKey';
    case AutomationExecutionFilterKey.targetResourceGroup:
      return 'TargetResourceGroup';
    case AutomationExecutionFilterKey.automationSubtype:
      return 'AutomationSubtype';
    case AutomationExecutionFilterKey.opsItemId:
      return 'OpsItemId';
  }
}