class Google::Apis::AndroidmanagementV1::DisplayProp

Device display information.

Attributes

density[RW]

Display density expressed as dots-per-inch. Corresponds to the JSON property `density` @return [Fixnum]

display_id[RW]

Unique display id. Corresponds to the JSON property `displayId` @return [Fixnum]

height[RW]

Display height in pixels. Corresponds to the JSON property `height` @return [Fixnum]

name[RW]

Name of the display. Corresponds to the JSON property `name` @return [String]

refresh_rate[RW]

Refresh rate of the display in frames per second. Corresponds to the JSON property `refreshRate` @return [Fixnum]

state[RW]

State of the display. Corresponds to the JSON property `state` @return [String]

width[RW]

Display width in pixels. Corresponds to the JSON property `width` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidmanagement_v1/classes.rb, line 1236
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/androidmanagement_v1/classes.rb, line 1241
def update!(**args)
  @density = args[:density] if args.key?(:density)
  @display_id = args[:display_id] if args.key?(:display_id)
  @height = args[:height] if args.key?(:height)
  @name = args[:name] if args.key?(:name)
  @refresh_rate = args[:refresh_rate] if args.key?(:refresh_rate)
  @state = args[:state] if args.key?(:state)
  @width = args[:width] if args.key?(:width)
end