class Google::Apis::TestingV1::IosModel

A description of an iOS device tests may be run on.

Attributes

device_capabilities[RW]

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>]

form_factor[RW]

Whether this device is a phone, tablet, wearable, etc. Corresponds to the JSON property `formFactor` @return [String]

id[RW]

The unique opaque id for this model. Use this for invoking the TestExecutionService. Corresponds to the JSON property `id` @return [String]

name[RW]

The human-readable name for this device model. Examples: “iPhone 4s”, “iPad Mini 2”. Corresponds to the JSON property `name` @return [String]

screen_density[RW]

Screen density in DPI. Corresponds to the JSON property `screenDensity` @return [Fixnum]

screen_x[RW]

Screen size in the horizontal (X) dimension measured in pixels. Corresponds to the JSON property `screenX` @return [Fixnum]

screen_y[RW]

Screen size in the vertical (Y) dimension measured in pixels. Corresponds to the JSON property `screenY` @return [Fixnum]

supported_version_ids[RW]

The set of iOS major software versions this device supports. Corresponds to the JSON property `supportedVersionIds` @return [Array<String>]

tags[RW]

Tags for this dimension. Examples: “default”, “preview”, “deprecated”. Corresponds to the JSON property `tags` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/testing_v1/classes.rb, line 1335
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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