google_api_android_enterprise v0.7.0 GoogleApi.AndroidEnterprise.V1.Model.KeyedAppState View Source

Represents a keyed app state containing a key, timestamp, severity level, optional description, and optional data.

Attributes

  • data (String.t): Additional field intended for machine-readable data. For example, a number or JSON object. To prevent XSS, we recommend removing any HTML from the data before displaying it. Defaults to nil.
  • key (String.t): Key indicating what the app is providing a state for. The content of the key is set by the app's developer. To prevent XSS, we recommend removing any HTML from the key before displaying it. This field will always be present. Defaults to nil.
  • message (String.t): Free-form, human-readable message describing the app state. For example, an error message. To prevent XSS, we recommend removing any HTML from the message before displaying it. Defaults to nil.
  • severity (String.t): Severity of the app state. This field will always be present. Defaults to nil.
  • stateTimestampMillis (String.t): Timestamp of when the app set the state in milliseconds since epoch. This field will always be present. Defaults to nil.

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() :: %GoogleApi.AndroidEnterprise.V1.Model.KeyedAppState{
  data: String.t(),
  key: String.t(),
  message: String.t(),
  severity: String.t(),
  stateTimestampMillis: String.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.