|
customsearch
v1
|
#include <promotion.h>
Public Member Functions | |
| PromotionImage (const Json::Value &storage) | |
| PromotionImage (Json::Value *storage) | |
| virtual | ~PromotionImage () |
| const StringPiece | GetTypeName () const |
| bool | has_height () const |
| void | clear_height () |
| int32 | get_height () const |
| void | set_height (int32 value) |
| bool | has_source () const |
| void | clear_source () |
| const StringPiece | get_source () const |
| void | set_source (const StringPiece &value) |
| bool | has_width () const |
| void | clear_width () |
| int32 | get_width () const |
| void | set_width (int32 value) |
Static Public Member Functions | |
| static PromotionImage * | New () |
Image belonging to a promotion.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'height' attribute.
|
inline |
Clears the 'source' attribute.
|
inline |
Clears the 'width' attribute.
|
inline |
Get the value of the 'height' attribute.
|
inline |
Get the value of the 'source' attribute.
|
inline |
Get the value of the 'width' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_customsearch_api::PromotionImage
|
inline |
Determine if the 'height' attribute was set.
height' attribute was set.
|
inline |
Determine if the 'source' attribute was set.
source' attribute was set.
|
inline |
Determine if the 'width' attribute was set.
width' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'height' attribute.
Image height in pixels.
| [in] | value | The new value. |
|
inline |
Change the 'source' attribute.
URL of the image for this promotion link.
| [in] | value | The new value. |
|
inline |
Change the 'width' attribute.
Image width in pixels.
| [in] | value | The new value. |