Class: Google::Apis::AndroidpublisherV3::ScreenDensity
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::ScreenDensity
- 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
Represents a screen density.
Instance Attribute Summary collapse
-
#density_alias ⇒ String
Alias for a screen density.
-
#density_dpi ⇒ Fixnum
Value for density dpi.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ScreenDensity
constructor
A new instance of ScreenDensity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ScreenDensity
Returns a new instance of ScreenDensity.
5162 5163 5164 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5162 def initialize(**args) update!(**args) end |
Instance Attribute Details
#density_alias ⇒ String
Alias for a screen density.
Corresponds to the JSON property densityAlias
5155 5156 5157 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5155 def density_alias @density_alias end |
#density_dpi ⇒ Fixnum
Value for density dpi.
Corresponds to the JSON property densityDpi
5160 5161 5162 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5160 def density_dpi @density_dpi end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5167 5168 5169 5170 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5167 def update!(**args) @density_alias = args[:density_alias] if args.key?(:density_alias) @density_dpi = args[:density_dpi] if args.key?(:density_dpi) end |