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

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 Xcode version that an iOS version is compatible with.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XcodeVersion

Returns a new instance of XcodeVersion.



3201
3202
3203
# File 'lib/google/apis/testing_v1/classes.rb', line 3201

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

Instance Attribute Details

#tagsArray<String>

Tags for this Xcode version. Example: "default". Corresponds to the JSON property tags

Returns:

  • (Array<String>)


3194
3195
3196
# File 'lib/google/apis/testing_v1/classes.rb', line 3194

def tags
  @tags
end

#versionString

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

Returns:

  • (String)


3199
3200
3201
# File 'lib/google/apis/testing_v1/classes.rb', line 3199

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3206
3207
3208
3209
# File 'lib/google/apis/testing_v1/classes.rb', line 3206

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