customsearch  v1
Public Member Functions | Static Public Member Functions | List of all members
google_customsearch_api::Search::SearchUrl Class Reference

#include <search.h>

Inheritance diagram for google_customsearch_api::Search::SearchUrl:

Public Member Functions

 SearchUrl (const Json::Value &storage)
 
 SearchUrl (Json::Value *storage)
 
virtual ~SearchUrl ()
 
const StringPiece GetTypeName () const
 
bool has_template () const
 
void clear_template ()
 
const StringPiece get_template () const
 
void set_template (const StringPiece &value)
 
bool has_type () const
 
void clear_type ()
 
const StringPiece get_type () const
 
void set_type (const StringPiece &value)
 

Static Public Member Functions

static SearchUrlNew ()
 

Detailed Description

OpenSearch template and URL.

Constructor & Destructor Documentation

◆ SearchUrl() [1/2]

google_customsearch_api::Search::SearchUrl::SearchUrl ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ SearchUrl() [2/2]

google_customsearch_api::Search::SearchUrl::SearchUrl ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~SearchUrl()

google_customsearch_api::Search::SearchUrl::~SearchUrl ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_template()

void google_customsearch_api::Search::SearchUrl::clear_template ( )
inline

Clears the 'template' attribute.

◆ clear_type()

void google_customsearch_api::Search::SearchUrl::clear_type ( )
inline

Clears the 'type' attribute.

◆ get_template()

const StringPiece google_customsearch_api::Search::SearchUrl::get_template ( ) const
inline

Get the value of the 'template' attribute.

◆ get_type()

const StringPiece google_customsearch_api::Search::SearchUrl::get_type ( ) const
inline

Get the value of the 'type' attribute.

◆ GetTypeName()

const StringPiece google_customsearch_api::Search::SearchUrl::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_customsearch_api::SearchUrl

◆ has_template()

bool google_customsearch_api::Search::SearchUrl::has_template ( ) const
inline

Determine if the 'template' attribute was set.

Returns
true if the 'template' attribute was set.

◆ has_type()

bool google_customsearch_api::Search::SearchUrl::has_type ( ) const
inline

Determine if the 'type' attribute was set.

Returns
true if the 'type' attribute was set.

◆ New()

Search::SearchUrl * google_customsearch_api::Search::SearchUrl::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_template()

void google_customsearch_api::Search::SearchUrl::set_template ( const StringPiece &  value)
inline

Change the 'template' attribute.

The actual OpenSearch template for this API.

Parameters
[in]valueThe new value.

◆ set_type()

void google_customsearch_api::Search::SearchUrl::set_type ( const StringPiece &  value)
inline

Change the 'type' attribute.

The MIME type of the OpenSearch URL template for the Custom Search API.

Parameters
[in]valueThe new value.

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