google_api_page_speed_online v0.5.0 GoogleApi.PageSpeedOnline.V4.Model.PagespeedApiFormatStringV4Args View Source

Attributes

  • key (type: String.t, default: nil) - The placeholder key for this arg, as a string.
  • rects (type: list(GoogleApi.PageSpeedOnline.V4.Model.PagespeedApiFormatStringV4ArgsRects.t), default: nil) - The screen rectangles being referred to, with dimensions measured in CSS pixels. This is only ever used for SNAPSHOT_RECT arguments. If this is absent for a SNAPSHOT_RECT argument, it means that that argument refers to the entire snapshot.
  • secondary_rects (type: list(GoogleApi.PageSpeedOnline.V4.Model.PagespeedApiFormatStringV4ArgsSecondaryRects.t), default: nil) - Secondary screen rectangles being referred to, with dimensions measured in CSS pixels. This is only ever used for SNAPSHOT_RECT arguments.
  • type (type: String.t, default: nil) - Type of argument. One of URL, STRING_LITERAL, INT_LITERAL, BYTES, DURATION, VERBATIM_STRING, PERCENTAGE, HYPERLINK, or SNAPSHOT_RECT.
  • value (type: String.t, default: nil) - Argument value, as a localized string.

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.PageSpeedOnline.V4.Model.PagespeedApiFormatStringV4Args{
  key: String.t(),
  rects: [
    GoogleApi.PageSpeedOnline.V4.Model.PagespeedApiFormatStringV4ArgsRects.t()
  ],
  secondary_rects: [
    GoogleApi.PageSpeedOnline.V4.Model.PagespeedApiFormatStringV4ArgsSecondaryRects.t()
  ],
  type: String.t(),
  value: 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.