Class: Google::Apis::TestingV1::XcodeVersion
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::XcodeVersion
- 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 Xcode version that an iOS version is compatible with.
Instance Attribute Summary collapse
-
#tags ⇒ Array<String>
Tags for this Xcode version.
-
#version ⇒ String
The id for this version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XcodeVersion
constructor
A new instance of XcodeVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XcodeVersion
Returns a new instance of XcodeVersion.
3133 3134 3135 |
# File 'lib/google/apis/testing_v1/classes.rb', line 3133 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tags ⇒ Array<String>
Tags for this Xcode version. Example: "default".
Corresponds to the JSON property tags
3126 3127 3128 |
# File 'lib/google/apis/testing_v1/classes.rb', line 3126 def @tags end |
#version ⇒ String
The id for this version. Example: "9.2".
Corresponds to the JSON property version
3131 3132 3133 |
# File 'lib/google/apis/testing_v1/classes.rb', line 3131 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3138 3139 3140 3141 |
# File 'lib/google/apis/testing_v1/classes.rb', line 3138 def update!(**args) @tags = args[:tags] if args.key?(:tags) @version = args[:version] if args.key?(:version) end |