Class: Google::Apis::TestingV1::XcodeVersion

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

Overview

An Xcode version that an iOS version is compatible with.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ XcodeVersion

Returns a new instance of XcodeVersion



2339
2340
2341
# File 'generated/google/apis/testing_v1/classes.rb', line 2339

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

Instance Attribute Details

#tagsArray<String>

Output only. Tags for this Xcode version. Examples: "default" Corresponds to the JSON property tags

Returns:

  • (Array<String>)


2331
2332
2333
# File 'generated/google/apis/testing_v1/classes.rb', line 2331

def tags
  @tags
end

#versionString

Output only. The id for this version. Example: "9.2" Corresponds to the JSON property version

Returns:

  • (String)


2337
2338
2339
# File 'generated/google/apis/testing_v1/classes.rb', line 2337

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2344
2345
2346
2347
# File 'generated/google/apis/testing_v1/classes.rb', line 2344

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