View Source GoogleApi.PageSpeedOnline.V5.Model.LhrEntity (google_api_page_speed_online v0.18.0)

Message containing an Entity.

Attributes

  • category (type: String.t, default: nil) - Optional. An optional category name for the entity.
  • homepage (type: String.t, default: nil) - Optional. An optional homepage URL of the entity.
  • isFirstParty (type: boolean(), default: nil) - Optional. An optional flag indicating if the entity is the first party.
  • isUnrecognized (type: boolean(), default: nil) - Optional. An optional flag indicating if the entity is not recognized.
  • name (type: String.t, default: nil) - Required. Name of the entity.
  • origins (type: list(String.t), default: nil) - Required. A list of URL origin strings that belong to this entity.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.PageSpeedOnline.V5.Model.LhrEntity{
  category: String.t() | nil,
  homepage: String.t() | nil,
  isFirstParty: boolean() | nil,
  isUnrecognized: boolean() | nil,
  name: String.t() | nil,
  origins: [String.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.