google_api_custom_search v0.11.0 GoogleApi.CustomSearch.V1.Model.Promotion View Source

Promotion result.

Attributes

  • bodyLines (type: list(GoogleApi.CustomSearch.V1.Model.PromotionBodyLines.t), default: nil) - An array of block objects for this promotion. See Google WebSearch Protocol reference for more information.
  • displayLink (type: String.t, default: nil) - An abridged version of this search's result URL, e.g. www.example.com.
  • htmlTitle (type: String.t, default: nil) - The title of the promotion, in HTML.
  • image (type: GoogleApi.CustomSearch.V1.Model.PromotionImage.t, default: nil) - Image belonging to a promotion.
  • link (type: String.t, default: nil) - The URL of the promotion.
  • title (type: String.t, default: nil) - The title of the promotion.

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.CustomSearch.V1.Model.Promotion{
  bodyLines: [GoogleApi.CustomSearch.V1.Model.PromotionBodyLines.t()],
  displayLink: String.t(),
  htmlTitle: String.t(),
  image: GoogleApi.CustomSearch.V1.Model.PromotionImage.t(),
  link: String.t(),
  title: String.t()
}

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.