Class: Google::Apis::TestingV1::IosVersion

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

An iOS version.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IosVersion

Returns a new instance of IosVersion.



1702
1703
1704
# File 'lib/google/apis/testing_v1/classes.rb', line 1702

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

Instance Attribute Details

#idString

An opaque id for this iOS version. Use this id to invoke the TestExecutionService. Corresponds to the JSON property id

Returns:

  • (String)


1680
1681
1682
# File 'lib/google/apis/testing_v1/classes.rb', line 1680

def id
  @id
end

#major_versionFixnum

An integer representing the major iOS version. Examples: "8", "9". Corresponds to the JSON property majorVersion

Returns:

  • (Fixnum)


1685
1686
1687
# File 'lib/google/apis/testing_v1/classes.rb', line 1685

def major_version
  @major_version
end

#minor_versionFixnum

An integer representing the minor iOS version. Examples: "1", "2". Corresponds to the JSON property minorVersion

Returns:

  • (Fixnum)


1690
1691
1692
# File 'lib/google/apis/testing_v1/classes.rb', line 1690

def minor_version
  @minor_version
end

#supported_xcode_version_idsArray<String>

The available Xcode versions for this version. Corresponds to the JSON property supportedXcodeVersionIds

Returns:

  • (Array<String>)


1695
1696
1697
# File 'lib/google/apis/testing_v1/classes.rb', line 1695

def supported_xcode_version_ids
  @supported_xcode_version_ids
end

#tagsArray<String>

Tags for this dimension. Examples: "default", "preview", "deprecated". Corresponds to the JSON property tags

Returns:

  • (Array<String>)


1700
1701
1702
# File 'lib/google/apis/testing_v1/classes.rb', line 1700

def tags
  @tags
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1707
1708
1709
1710
1711
1712
1713
# File 'lib/google/apis/testing_v1/classes.rb', line 1707

def update!(**args)
  @id = args[:id] if args.key?(:id)
  @major_version = args[:major_version] if args.key?(:major_version)
  @minor_version = args[:minor_version] if args.key?(:minor_version)
  @supported_xcode_version_ids = args[:supported_xcode_version_ids] if args.key?(:supported_xcode_version_ids)
  @tags = args[:tags] if args.key?(:tags)
end