customsearch  v1
Public Member Functions | Static Public Member Functions | List of all members
google_customsearch_api::Promotion::PromotionBodyLines Class Reference

#include <promotion.h>

Inheritance diagram for google_customsearch_api::Promotion::PromotionBodyLines:

Public Member Functions

 PromotionBodyLines (const Json::Value &storage)
 
 PromotionBodyLines (Json::Value *storage)
 
virtual ~PromotionBodyLines ()
 
const StringPiece GetTypeName () const
 
bool has_html_title () const
 
void clear_html_title ()
 
const StringPiece get_html_title () const
 
void set_html_title (const StringPiece &value)
 
bool has_link () const
 
void clear_link ()
 
const StringPiece get_link () const
 
void set_link (const StringPiece &value)
 
bool has_title () const
 
void clear_title ()
 
const StringPiece get_title () const
 
void set_title (const StringPiece &value)
 
bool has_url () const
 
void clear_url ()
 
const StringPiece get_url () const
 
void set_url (const StringPiece &value)
 

Static Public Member Functions

static PromotionBodyLinesNew ()
 

Detailed Description

Block object belonging to a promotion.

Constructor & Destructor Documentation

◆ PromotionBodyLines() [1/2]

google_customsearch_api::Promotion::PromotionBodyLines::PromotionBodyLines ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ PromotionBodyLines() [2/2]

google_customsearch_api::Promotion::PromotionBodyLines::PromotionBodyLines ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~PromotionBodyLines()

google_customsearch_api::Promotion::PromotionBodyLines::~PromotionBodyLines ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_html_title()

void google_customsearch_api::Promotion::PromotionBodyLines::clear_html_title ( )
inline

Clears the 'htmlTitle' attribute.

◆ clear_link()

void google_customsearch_api::Promotion::PromotionBodyLines::clear_link ( )
inline

Clears the 'link' attribute.

◆ clear_title()

void google_customsearch_api::Promotion::PromotionBodyLines::clear_title ( )
inline

Clears the 'title' attribute.

◆ clear_url()

void google_customsearch_api::Promotion::PromotionBodyLines::clear_url ( )
inline

Clears the 'url' attribute.

◆ get_html_title()

const StringPiece google_customsearch_api::Promotion::PromotionBodyLines::get_html_title ( ) const
inline

Get the value of the 'htmlTitle' attribute.

◆ get_link()

const StringPiece google_customsearch_api::Promotion::PromotionBodyLines::get_link ( ) const
inline

Get the value of the 'link' attribute.

◆ get_title()

const StringPiece google_customsearch_api::Promotion::PromotionBodyLines::get_title ( ) const
inline

Get the value of the 'title' attribute.

◆ get_url()

const StringPiece google_customsearch_api::Promotion::PromotionBodyLines::get_url ( ) const
inline

Get the value of the 'url' attribute.

◆ GetTypeName()

const StringPiece google_customsearch_api::Promotion::PromotionBodyLines::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_customsearch_api::PromotionBodyLines

◆ has_html_title()

bool google_customsearch_api::Promotion::PromotionBodyLines::has_html_title ( ) const
inline

Determine if the 'htmlTitle' attribute was set.

Returns
true if the 'htmlTitle' attribute was set.

◆ has_link()

bool google_customsearch_api::Promotion::PromotionBodyLines::has_link ( ) const
inline

Determine if the 'link' attribute was set.

Returns
true if the 'link' attribute was set.

◆ has_title()

bool google_customsearch_api::Promotion::PromotionBodyLines::has_title ( ) const
inline

Determine if the 'title' attribute was set.

Returns
true if the 'title' attribute was set.

◆ has_url()

bool google_customsearch_api::Promotion::PromotionBodyLines::has_url ( ) const
inline

Determine if the 'url' attribute was set.

Returns
true if the 'url' attribute was set.

◆ New()

Promotion::PromotionBodyLines * google_customsearch_api::Promotion::PromotionBodyLines::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_html_title()

void google_customsearch_api::Promotion::PromotionBodyLines::set_html_title ( const StringPiece &  value)
inline

Change the 'htmlTitle' attribute.

The block object's text in HTML, if it has text.

Parameters
[in]valueThe new value.

◆ set_link()

void google_customsearch_api::Promotion::PromotionBodyLines::set_link ( const StringPiece &  value)
inline

Change the 'link' attribute.

The anchor text of the block object's link, if it has a link.

Parameters
[in]valueThe new value.

◆ set_title()

void google_customsearch_api::Promotion::PromotionBodyLines::set_title ( const StringPiece &  value)
inline

Change the 'title' attribute.

The block object's text, if it has text.

Parameters
[in]valueThe new value.

◆ set_url()

void google_customsearch_api::Promotion::PromotionBodyLines::set_url ( const StringPiece &  value)
inline

Change the 'url' attribute.

The URL of the block object's link, if it has one.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: