View Source GoogleApi.PageSpeedOnline.V4.Model.PagespeedApiImageV4 (google_api_page_speed_online v0.18.0)

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.V4.Model.PagespeedApiImageV4PageRect.t, default: nil) -
  • width (type: integer(), default: nil) - Width of screenshot in pixels.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.PageSpeedOnline.V4.Model.PagespeedApiImageV4{
  data: String.t(),
  height: integer(),
  key: String.t(),
  mime_type: String.t(),
  page_rect: GoogleApi.PageSpeedOnline.V4.Model.PagespeedApiImageV4PageRect.t(),
  width: integer()
}

Functions

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

Unwrap a decoded JSON object into its complex fields.