class Google::Apis::TestingV1::IosModel
A description of an iOS device tests may be run on.
Attributes
Device capabilities. Copied from developer.apple.com/library/archive/ documentation/DeviceInformation/Reference/iOSDeviceCompatibility/ DeviceCompatibilityMatrix/DeviceCompatibilityMatrix.html Corresponds to the JSON property `deviceCapabilities` @return [Array<String>]
Whether this device is a phone, tablet, wearable, etc. Corresponds to the JSON property `formFactor` @return [String]
The unique opaque id for this model. Use this for invoking the TestExecutionService. Corresponds to the JSON property `id` @return [String]
The human-readable name for this device model. Examples: “iPhone 4s”, “iPad Mini 2”. Corresponds to the JSON property `name` @return [String]
Screen density in DPI. Corresponds to the JSON property `screenDensity` @return [Fixnum]
Screen size in the horizontal (X) dimension measured in pixels. Corresponds to the JSON property `screenX` @return [Fixnum]
Screen size in the vertical (Y) dimension measured in pixels. Corresponds to the JSON property `screenY` @return [Fixnum]
The set of iOS major software versions this device supports. Corresponds to the JSON property `supportedVersionIds` @return [Array<String>]
Public Class Methods
# File lib/google/apis/testing_v1/classes.rb, line 1335 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/testing_v1/classes.rb, line 1340 def update!(**args) @device_capabilities = args[:device_capabilities] if args.key?(:device_capabilities) @form_factor = args[:form_factor] if args.key?(:form_factor) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) @screen_density = args[:screen_density] if args.key?(:screen_density) @screen_x = args[:screen_x] if args.key?(:screen_x) @screen_y = args[:screen_y] if args.key?(:screen_y) @supported_version_ids = args[:supported_version_ids] if args.key?(:supported_version_ids) @tags = args[:tags] if args.key?(:tags) end