View Source GoogleApi.PageSpeedOnline.V5.Model.LighthouseCategoryV5 (google_api_page_speed_online v0.16.1)

A Lighthouse category.

Attributes

  • auditRefs (type: list(GoogleApi.PageSpeedOnline.V5.Model.AuditRefs.t), default: nil) - An array of references to all the audit members of this category.
  • description (type: String.t, default: nil) - A more detailed description of the category and its importance.
  • id (type: String.t, default: nil) - The string identifier of the category.
  • manualDescription (type: String.t, default: nil) - A description for the manual audits in the category.
  • score (type: any(), default: nil) - The overall score of the category, the weighted average of all its audits. (The category's score, can be null.)
  • title (type: String.t, default: nil) - The human-friendly name of the category.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.PageSpeedOnline.V5.Model.LighthouseCategoryV5{
  auditRefs: [GoogleApi.PageSpeedOnline.V5.Model.AuditRefs.t()] | nil,
  description: String.t() | nil,
  id: String.t() | nil,
  manualDescription: String.t() | nil,
  score: any() | nil,
  title: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.