View Source GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoImage (google_api_content_warehouse v0.4.0)

Attributes

  • data (type: String.t, default: nil) - The binary image data, stored in a format decided by the application and a particular RenderService implementation.
  • height (type: integer(), default: nil) -
  • pageNumber (type: integer(), default: nil) - The page number if this is an image of a page from a print-mode rendering.
  • viewport (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoBox.t, default: nil) - The viewport from which this image was generated. This is relative to the upper left of the page's document.
  • width (type: integer(), default: nil) - The width and height of the image stored in the data field.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoImage{
  data: String.t() | nil,
  height: integer() | nil,
  pageNumber: integer() | nil,
  viewport:
    GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoBox.t()
    | nil,
  width: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.