Class: Google::Apis::GamesV1::InstanceIosDetails

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

Overview

The iOS details resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstanceIosDetails

Returns a new instance of InstanceIosDetails.



1284
1285
1286
# File 'lib/google/apis/games_v1/classes.rb', line 1284

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

Instance Attribute Details

#bundle_identifierString

Bundle identifier. Corresponds to the JSON property bundleIdentifier

Returns:

  • (String)


1245
1246
1247
# File 'lib/google/apis/games_v1/classes.rb', line 1245

def bundle_identifier
  @bundle_identifier
end

#itunes_app_idString

iTunes App ID. Corresponds to the JSON property itunesAppId

Returns:

  • (String)


1250
1251
1252
# File 'lib/google/apis/games_v1/classes.rb', line 1250

def itunes_app_id
  @itunes_app_id
end

#kindString

Uniquely identifies the type of this resource. Value is always the fixed string games#instanceIosDetails. Corresponds to the JSON property kind

Returns:

  • (String)


1256
1257
1258
# File 'lib/google/apis/games_v1/classes.rb', line 1256

def kind
  @kind
end

#preferred_for_ipadBoolean Also known as: preferred_for_ipad?

Indicates that this instance is the default for new installations on iPad devices. Corresponds to the JSON property preferredForIpad

Returns:

  • (Boolean)


1262
1263
1264
# File 'lib/google/apis/games_v1/classes.rb', line 1262

def preferred_for_ipad
  @preferred_for_ipad
end

#preferred_for_iphoneBoolean Also known as: preferred_for_iphone?

Indicates that this instance is the default for new installations on iPhone devices. Corresponds to the JSON property preferredForIphone

Returns:

  • (Boolean)


1269
1270
1271
# File 'lib/google/apis/games_v1/classes.rb', line 1269

def preferred_for_iphone
  @preferred_for_iphone
end

#support_ipadBoolean Also known as: support_ipad?

Flag to indicate if this instance supports iPad. Corresponds to the JSON property supportIpad

Returns:

  • (Boolean)


1275
1276
1277
# File 'lib/google/apis/games_v1/classes.rb', line 1275

def support_ipad
  @support_ipad
end

#support_iphoneBoolean Also known as: support_iphone?

Flag to indicate if this instance supports iPhone. Corresponds to the JSON property supportIphone

Returns:

  • (Boolean)


1281
1282
1283
# File 'lib/google/apis/games_v1/classes.rb', line 1281

def support_iphone
  @support_iphone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1289
1290
1291
1292
1293
1294
1295
1296
1297
# File 'lib/google/apis/games_v1/classes.rb', line 1289

def update!(**args)
  @bundle_identifier = args[:bundle_identifier] if args.key?(:bundle_identifier)
  @itunes_app_id = args[:itunes_app_id] if args.key?(:itunes_app_id)
  @kind = args[:kind] if args.key?(:kind)
  @preferred_for_ipad = args[:preferred_for_ipad] if args.key?(:preferred_for_ipad)
  @preferred_for_iphone = args[:preferred_for_iphone] if args.key?(:preferred_for_iphone)
  @support_ipad = args[:support_ipad] if args.key?(:support_ipad)
  @support_iphone = args[:support_iphone] if args.key?(:support_iphone)
end