View Source GoogleApi.CustomSearch.V1.Model.ResultImage (google_api_custom_search v0.22.0)

Image belonging to a custom search result.

Attributes

  • byteSize (type: integer(), default: nil) - The size of the image, in bytes.
  • contextLink (type: String.t, default: nil) - A URL pointing to the webpage hosting the image.
  • height (type: integer(), default: nil) - The height of the image, in pixels.
  • thumbnailHeight (type: integer(), default: nil) - The height of the thumbnail image, in pixels.
  • thumbnailLink (type: String.t, default: nil) - A URL to the thumbnail image.
  • thumbnailWidth (type: integer(), default: nil) - The width of the thumbnail image, in pixels.
  • width (type: integer(), default: nil) - The width of the image, in pixels.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CustomSearch.V1.Model.ResultImage{
  byteSize: integer() | nil,
  contextLink: String.t() | nil,
  height: integer() | nil,
  thumbnailHeight: integer() | nil,
  thumbnailLink: String.t() | nil,
  thumbnailWidth: integer() | nil,
  width: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.