toValue method

String toValue()

Implementation

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