google_api_android_management v0.6.0 GoogleApi.AndroidManagement.V1.Model.PowerManagementEvent View Source
A power management event.
Attributes
- batteryLevel (float()): For BATTERY_LEVEL_COLLECTED events, the battery level as a percentage. Defaults to:
null
. - createTime (DateTime.t): The creation time of the event. Defaults to:
null
. eventType (String.t): Event type. Defaults to:
null
.- Enum - one of [POWER_MANAGEMENT_EVENT_TYPE_UNSPECIFIED, BATTERY_LEVEL_COLLECTED, POWER_CONNECTED, POWER_DISCONNECTED, BATTERY_LOW, BATTERY_OKAY, BOOT_COMPLETED, SHUTDOWN]
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.AndroidManagement.V1.Model.PowerManagementEvent{
batteryLevel: any(),
createTime: DateTime.t(),
eventType: any()
}
t() :: %GoogleApi.AndroidManagement.V1.Model.PowerManagementEvent{ batteryLevel: any(), createTime: DateTime.t(), eventType: any() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.