google_api_tool_results v0.1.0 GoogleApi.ToolResults.V1beta3.Model.Thumbnail View Source

A single thumbnail, with its size and format.

Attributes

  • contentType (String.t): The thumbnail's content type, i.e. "image/png". Always set. Defaults to: null.
  • data (binary()): The thumbnail file itself. That is, the bytes here are precisely the bytes that make up the thumbnail file; they can be served as an image as-is (with the appropriate content type.) Always set. Defaults to: null.
  • heightPx (integer()): The height of the thumbnail, in pixels. Always set. Defaults to: null.
  • widthPx (integer()): The width of the thumbnail, in pixels. Always set. 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.ToolResults.V1beta3.Model.Thumbnail{
  contentType: any(),
  data: any(),
  heightPx: any(),
  widthPx: 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.