Class: Google::Apis::AndroidmanagementV1::DisplayProp
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AndroidmanagementV1::DisplayProp
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/androidmanagement_v1/classes.rb,
lib/google/apis/androidmanagement_v1/representations.rb,
lib/google/apis/androidmanagement_v1/representations.rb 
Overview
Device display information.
Instance Attribute Summary collapse
- 
  
    
      #density  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Display density expressed as dots-per-inch.
 - 
  
    
      #display_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Unique display id.
 - 
  
    
      #height  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Display height in pixels.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Name of the display.
 - 
  
    
      #refresh_rate  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Refresh rate of the display in frames per second.
 - 
  
    
      #state  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
State of the display.
 - 
  
    
      #width  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Display width in pixels.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DisplayProp 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of DisplayProp.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ DisplayProp
Returns a new instance of DisplayProp.
      1990 1991 1992  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1990 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#density ⇒ Fixnum
Display density expressed as dots-per-inch.
Corresponds to the JSON property density
      1958 1959 1960  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1958 def density @density end  | 
  
#display_id ⇒ Fixnum
Unique display id.
Corresponds to the JSON property displayId
      1963 1964 1965  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1963 def display_id @display_id end  | 
  
#height ⇒ Fixnum
Display height in pixels.
Corresponds to the JSON property height
      1968 1969 1970  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1968 def height @height end  | 
  
#name ⇒ String
Name of the display.
Corresponds to the JSON property name
      1973 1974 1975  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1973 def name @name end  | 
  
#refresh_rate ⇒ Fixnum
Refresh rate of the display in frames per second.
Corresponds to the JSON property refreshRate
      1978 1979 1980  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1978 def refresh_rate @refresh_rate end  | 
  
#state ⇒ String
State of the display.
Corresponds to the JSON property state
      1983 1984 1985  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1983 def state @state end  | 
  
#width ⇒ Fixnum
Display width in pixels.
Corresponds to the JSON property width
      1988 1989 1990  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1988 def width @width end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1995 1996 1997 1998 1999 2000 2001 2002 2003  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1995 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  |