toDeviceFilterAttribute method
Implementation
DeviceFilterAttribute toDeviceFilterAttribute() {
switch (this) {
case 'ARN':
return DeviceFilterAttribute.arn;
case 'PLATFORM':
return DeviceFilterAttribute.platform;
case 'OS_VERSION':
return DeviceFilterAttribute.osVersion;
case 'MODEL':
return DeviceFilterAttribute.model;
case 'AVAILABILITY':
return DeviceFilterAttribute.availability;
case 'FORM_FACTOR':
return DeviceFilterAttribute.formFactor;
case 'MANUFACTURER':
return DeviceFilterAttribute.manufacturer;
case 'REMOTE_ACCESS_ENABLED':
return DeviceFilterAttribute.remoteAccessEnabled;
case 'REMOTE_DEBUG_ENABLED':
return DeviceFilterAttribute.remoteDebugEnabled;
case 'INSTANCE_ARN':
return DeviceFilterAttribute.instanceArn;
case 'INSTANCE_LABELS':
return DeviceFilterAttribute.instanceLabels;
case 'FLEET_TYPE':
return DeviceFilterAttribute.fleetType;
}
throw Exception('$this is not known in enum DeviceFilterAttribute');
}