customsearch  v1
Public Member Functions | Static Public Member Functions | List of all members
google_customsearch_api::Result::ResultImage Class Reference

#include <result.h>

Inheritance diagram for google_customsearch_api::Result::ResultImage:

Public Member Functions

 ResultImage (const Json::Value &storage)
 
 ResultImage (Json::Value *storage)
 
virtual ~ResultImage ()
 
const StringPiece GetTypeName () const
 
bool has_byte_size () const
 
void clear_byte_size ()
 
int32 get_byte_size () const
 
void set_byte_size (int32 value)
 
bool has_context_link () const
 
void clear_context_link ()
 
const StringPiece get_context_link () const
 
void set_context_link (const StringPiece &value)
 
bool has_height () const
 
void clear_height ()
 
int32 get_height () const
 
void set_height (int32 value)
 
bool has_thumbnail_height () const
 
void clear_thumbnail_height ()
 
int32 get_thumbnail_height () const
 
void set_thumbnail_height (int32 value)
 
bool has_thumbnail_link () const
 
void clear_thumbnail_link ()
 
const StringPiece get_thumbnail_link () const
 
void set_thumbnail_link (const StringPiece &value)
 
bool has_thumbnail_width () const
 
void clear_thumbnail_width ()
 
int32 get_thumbnail_width () const
 
void set_thumbnail_width (int32 value)
 
bool has_width () const
 
void clear_width ()
 
int32 get_width () const
 
void set_width (int32 value)
 

Static Public Member Functions

static ResultImageNew ()
 

Detailed Description

Image belonging to a custom search result.

Constructor & Destructor Documentation

◆ ResultImage() [1/2]

google_customsearch_api::Result::ResultImage::ResultImage ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ ResultImage() [2/2]

google_customsearch_api::Result::ResultImage::ResultImage ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~ResultImage()

google_customsearch_api::Result::ResultImage::~ResultImage ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_byte_size()

void google_customsearch_api::Result::ResultImage::clear_byte_size ( )
inline

Clears the 'byteSize' attribute.

◆ clear_context_link()

void google_customsearch_api::Result::ResultImage::clear_context_link ( )
inline

Clears the 'contextLink' attribute.

◆ clear_height()

void google_customsearch_api::Result::ResultImage::clear_height ( )
inline

Clears the 'height' attribute.

◆ clear_thumbnail_height()

void google_customsearch_api::Result::ResultImage::clear_thumbnail_height ( )
inline

Clears the 'thumbnailHeight' attribute.

◆ clear_thumbnail_link()

void google_customsearch_api::Result::ResultImage::clear_thumbnail_link ( )
inline

Clears the 'thumbnailLink' attribute.

◆ clear_thumbnail_width()

void google_customsearch_api::Result::ResultImage::clear_thumbnail_width ( )
inline

Clears the 'thumbnailWidth' attribute.

◆ clear_width()

void google_customsearch_api::Result::ResultImage::clear_width ( )
inline

Clears the 'width' attribute.

◆ get_byte_size()

int32 google_customsearch_api::Result::ResultImage::get_byte_size ( ) const
inline

Get the value of the 'byteSize' attribute.

◆ get_context_link()

const StringPiece google_customsearch_api::Result::ResultImage::get_context_link ( ) const
inline

Get the value of the 'contextLink' attribute.

◆ get_height()

int32 google_customsearch_api::Result::ResultImage::get_height ( ) const
inline

Get the value of the 'height' attribute.

◆ get_thumbnail_height()

int32 google_customsearch_api::Result::ResultImage::get_thumbnail_height ( ) const
inline

Get the value of the 'thumbnailHeight' attribute.

◆ get_thumbnail_link()

const StringPiece google_customsearch_api::Result::ResultImage::get_thumbnail_link ( ) const
inline

Get the value of the 'thumbnailLink' attribute.

◆ get_thumbnail_width()

int32 google_customsearch_api::Result::ResultImage::get_thumbnail_width ( ) const
inline

Get the value of the 'thumbnailWidth' attribute.

◆ get_width()

int32 google_customsearch_api::Result::ResultImage::get_width ( ) const
inline

Get the value of the 'width' attribute.

◆ GetTypeName()

const StringPiece google_customsearch_api::Result::ResultImage::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_customsearch_api::ResultImage

◆ has_byte_size()

bool google_customsearch_api::Result::ResultImage::has_byte_size ( ) const
inline

Determine if the 'byteSize' attribute was set.

Returns
true if the 'byteSize' attribute was set.

◆ has_context_link()

bool google_customsearch_api::Result::ResultImage::has_context_link ( ) const
inline

Determine if the 'contextLink' attribute was set.

Returns
true if the 'contextLink' attribute was set.

◆ has_height()

bool google_customsearch_api::Result::ResultImage::has_height ( ) const
inline

Determine if the 'height' attribute was set.

Returns
true if the 'height' attribute was set.

◆ has_thumbnail_height()

bool google_customsearch_api::Result::ResultImage::has_thumbnail_height ( ) const
inline

Determine if the 'thumbnailHeight' attribute was set.

Returns
true if the 'thumbnailHeight' attribute was set.

◆ has_thumbnail_link()

bool google_customsearch_api::Result::ResultImage::has_thumbnail_link ( ) const
inline

Determine if the 'thumbnailLink' attribute was set.

Returns
true if the 'thumbnailLink' attribute was set.

◆ has_thumbnail_width()

bool google_customsearch_api::Result::ResultImage::has_thumbnail_width ( ) const
inline

Determine if the 'thumbnailWidth' attribute was set.

Returns
true if the 'thumbnailWidth' attribute was set.

◆ has_width()

bool google_customsearch_api::Result::ResultImage::has_width ( ) const
inline

Determine if the 'width' attribute was set.

Returns
true if the 'width' attribute was set.

◆ New()

Result::ResultImage * google_customsearch_api::Result::ResultImage::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_byte_size()

void google_customsearch_api::Result::ResultImage::set_byte_size ( int32  value)
inline

Change the 'byteSize' attribute.

The size of the image, in pixels.

Parameters
[in]valueThe new value.

◆ set_context_link()

void google_customsearch_api::Result::ResultImage::set_context_link ( const StringPiece &  value)
inline

Change the 'contextLink' attribute.

A URL pointing to the webpage hosting the image.

Parameters
[in]valueThe new value.

◆ set_height()

void google_customsearch_api::Result::ResultImage::set_height ( int32  value)
inline

Change the 'height' attribute.

The height of the image, in pixels.

Parameters
[in]valueThe new value.

◆ set_thumbnail_height()

void google_customsearch_api::Result::ResultImage::set_thumbnail_height ( int32  value)
inline

Change the 'thumbnailHeight' attribute.

The height of the thumbnail image, in pixels.

Parameters
[in]valueThe new value.

◆ set_thumbnail_link()

void google_customsearch_api::Result::ResultImage::set_thumbnail_link ( const StringPiece &  value)
inline

Change the 'thumbnailLink' attribute.

A URL to the thumbnail image.

Parameters
[in]valueThe new value.

◆ set_thumbnail_width()

void google_customsearch_api::Result::ResultImage::set_thumbnail_width ( int32  value)
inline

Change the 'thumbnailWidth' attribute.

The width of the thumbnail image, in pixels.

Parameters
[in]valueThe new value.

◆ set_width()

void google_customsearch_api::Result::ResultImage::set_width ( int32  value)
inline

Change the 'width' attribute.

The width of the image, in pixels.

Parameters
[in]valueThe new value.

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