View Source GoogleApi.PageSpeedOnline.V5.Model.LighthouseAuditResultV5 (google_api_page_speed_online v0.17.0)

An audit's result object in a Lighthouse result.

Attributes

  • description (type: String.t, default: nil) - The description of the audit.
  • details (type: map(), default: nil) - Freeform details section of the audit.
  • displayValue (type: String.t, default: nil) - The value that should be displayed on the UI for this audit.
  • errorMessage (type: String.t, default: nil) - An error message from a thrown error inside the audit.
  • explanation (type: String.t, default: nil) - An explanation of the errors in the audit.
  • id (type: String.t, default: nil) - The audit's id.
  • numericUnit (type: String.t, default: nil) - The unit of the numeric_value field. Used to format the numeric value for display.
  • numericValue (type: float(), default: nil) - A numeric value that has a meaning specific to the audit, e.g. the number of nodes in the DOM or the timestamp of a specific load event. More information can be found in the audit details, if present.
  • score (type: any(), default: nil) - The score of the audit, can be null.
  • scoreDisplayMode (type: String.t, default: nil) - The enumerated score display mode.
  • title (type: String.t, default: nil) - The human readable title.
  • warnings (type: any(), default: nil) - Possible warnings that occurred in the audit, can be null.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.PageSpeedOnline.V5.Model.LighthouseAuditResultV5{
  description: String.t() | nil,
  details: map() | nil,
  displayValue: String.t() | nil,
  errorMessage: String.t() | nil,
  explanation: String.t() | nil,
  id: String.t() | nil,
  numericUnit: String.t() | nil,
  numericValue: float() | nil,
  score: any() | nil,
  scoreDisplayMode: String.t() | nil,
  title: String.t() | nil,
  warnings: any() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.