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