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

Block object belonging to a promotion.

Attributes

  • htmlTitle (type: String.t, default: nil) - The block object's text in HTML, if it has text.
  • link (type: String.t, default: nil) - The anchor text of the block object's link, if it has a link.
  • title (type: String.t, default: nil) - The block object's text, if it has text.
  • url (type: String.t, default: nil) - The URL of the block object's link, if it has one.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CustomSearch.V1.Model.PromotionBodyLines{
  htmlTitle: String.t() | nil,
  link: String.t() | nil,
  title: String.t() | nil,
  url: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.