toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DeviceFilterAttribute.arn:
      return 'ARN';
    case DeviceFilterAttribute.platform:
      return 'PLATFORM';
    case DeviceFilterAttribute.osVersion:
      return 'OS_VERSION';
    case DeviceFilterAttribute.model:
      return 'MODEL';
    case DeviceFilterAttribute.availability:
      return 'AVAILABILITY';
    case DeviceFilterAttribute.formFactor:
      return 'FORM_FACTOR';
    case DeviceFilterAttribute.manufacturer:
      return 'MANUFACTURER';
    case DeviceFilterAttribute.remoteAccessEnabled:
      return 'REMOTE_ACCESS_ENABLED';
    case DeviceFilterAttribute.remoteDebugEnabled:
      return 'REMOTE_DEBUG_ENABLED';
    case DeviceFilterAttribute.instanceArn:
      return 'INSTANCE_ARN';
    case DeviceFilterAttribute.instanceLabels:
      return 'INSTANCE_LABELS';
    case DeviceFilterAttribute.fleetType:
      return 'FLEET_TYPE';
  }
}