Class: Google::Apis::AndroidmanagementV1::DisplaySettings

Inherits:
Object
  • Object
show all
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

Controls for the display settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DisplaySettings

Returns a new instance of DisplaySettings.



2000
2001
2002
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2000

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

Instance Attribute Details

#screen_brightness_settingsGoogle::Apis::AndroidmanagementV1::ScreenBrightnessSettings

Controls for the screen brightness settings. Corresponds to the JSON property screenBrightnessSettings



1993
1994
1995
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1993

def screen_brightness_settings
  @screen_brightness_settings
end

#screen_timeout_settingsGoogle::Apis::AndroidmanagementV1::ScreenTimeoutSettings

Controls the screen timeout settings. Corresponds to the JSON property screenTimeoutSettings



1998
1999
2000
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1998

def screen_timeout_settings
  @screen_timeout_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2005
2006
2007
2008
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2005

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