GoogleApi.AndroidManagement.V1.Model.PowerManagementEvent (google_api_android_management v0.30.0) View Source

A power management event.

Attributes

  • batteryLevel (type: number(), default: nil) - For BATTERY_LEVEL_COLLECTED events, the battery level as a percentage.
  • createTime (type: DateTime.t, default: nil) - The creation time of the event.
  • eventType (type: String.t, default: nil) - Event type.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.AndroidManagement.V1.Model.PowerManagementEvent{
  batteryLevel: number(),
  createTime: DateTime.t(),
  eventType: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.