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

A light reference to an audit by id, used to group and weight audits in a given category.

Attributes

  • acronym (type: String.t, default: nil) - The conventional acronym for the audit/metric.
  • group (type: String.t, default: nil) - The category group that the audit belongs to (optional).
  • id (type: String.t, default: nil) - The audit ref id.
  • relevantAudits (type: list(String.t), default: nil) - Any audit IDs closely relevant to this one.
  • weight (type: float(), default: nil) - The weight this audit's score has on the overall category score.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.PageSpeedOnline.V5.Model.AuditRefs{
  acronym: String.t() | nil,
  group: String.t() | nil,
  id: String.t() | nil,
  relevantAudits: [String.t()] | nil,
  weight: float() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.