Class: Google::Apis::AndroidpublisherV3::DeviceIdentifier

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

Overview

Defines a device identifier for a device.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeviceIdentifier

Returns a new instance of DeviceIdentifier.



3578
3579
3580
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3578

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

Instance Attribute Details

#device_brandString

The brand of the device. Corresponds to the JSON property deviceBrand

Returns:

  • (String)


3571
3572
3573
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3571

def device_brand
  @device_brand
end

#device_modelString

The model of the device. Corresponds to the JSON property deviceModel

Returns:

  • (String)


3576
3577
3578
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3576

def device_model
  @device_model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3583
3584
3585
3586
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3583

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