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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.