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

Attributes

  • key (String.t): The placeholder key for this arg, as a string. Defaults to: null.
  • rects ([PagespeedApiFormatStringV4Rects]): 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. Defaults to: null.
  • secondary_rects ([PagespeedApiFormatStringV4Rects]): Secondary screen rectangles being referred to, with dimensions measured in CSS pixels. This is only ever used for SNAPSHOT_RECT arguments. Defaults to: null.
  • type (String.t): Type of argument. One of URL, STRING_LITERAL, INT_LITERAL, BYTES, DURATION, VERBATIM_STRING, PERCENTAGE, HYPERLINK, or SNAPSHOT_RECT. Defaults to: null.
  • value (String.t): Argument value, as a localized string. Defaults to: null.

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: any(),
  rects: [
    GoogleApi.PageSpeedOnline.V4.Model.PagespeedApiFormatStringV4Rects.t()
  ],
  secondary_rects: [
    GoogleApi.PageSpeedOnline.V4.Model.PagespeedApiFormatStringV4Rects.t()
  ],
  type: any(),
  value: any()
}

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.