Class: Google::Apis::TestingV1::PerIosVersionInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/testing_v1/classes.rb,
lib/google/apis/testing_v1/representations.rb,
lib/google/apis/testing_v1/representations.rb

Overview

A version-specific information of an iOS model.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PerIosVersionInfo

Returns a new instance of PerIosVersionInfo.



2069
2070
2071
# File 'lib/google/apis/testing_v1/classes.rb', line 2069

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#device_capacityString

The number of online devices for an iOS version. Corresponds to the JSON property deviceCapacity

Returns:

  • (String)


2062
2063
2064
# File 'lib/google/apis/testing_v1/classes.rb', line 2062

def device_capacity
  @device_capacity
end

#version_idString

An iOS version. Corresponds to the JSON property versionId

Returns:

  • (String)


2067
2068
2069
# File 'lib/google/apis/testing_v1/classes.rb', line 2067

def version_id
  @version_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2074
2075
2076
2077
# File 'lib/google/apis/testing_v1/classes.rb', line 2074

def update!(**args)
  @device_capacity = args[:device_capacity] if args.key?(:device_capacity)
  @version_id = args[:version_id] if args.key?(:version_id)
end