google_api_page_speed_online v0.5.0 GoogleApi.PageSpeedOnline.V2.Model.PagespeedApiImageV2 View Source

Attributes

  • data (type: String.t, default: nil) - Image data base64 encoded.
  • height (type: integer(), default: nil) - Height of screenshot in pixels.
  • key (type: String.t, default: nil) - Unique string key, if any, identifying this image.
  • mime_type (type: String.t, default: nil) - Mime type of image data (e.g. "image/jpeg").
  • page_rect (type: GoogleApi.PageSpeedOnline.V2.Model.PagespeedApiImageV2PageRect.t, default: nil) - The region of the page that is captured by this image, with dimensions measured in CSS pixels.
  • width (type: integer(), default: nil) - Width of screenshot in pixels.

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.V2.Model.PagespeedApiImageV2{
  data: String.t(),
  height: integer(),
  key: String.t(),
  mime_type: String.t(),
  page_rect: GoogleApi.PageSpeedOnline.V2.Model.PagespeedApiImageV2PageRect.t(),
  width: integer()
}

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.