youtube
v3
|
#include <thumbnail.h>
Public Member Functions | |
Thumbnail (const Json::Value &storage) | |
Thumbnail (Json::Value *storage) | |
virtual | ~Thumbnail () |
const StringPiece | GetTypeName () const |
bool | has_height () const |
void | clear_height () |
uint32 | get_height () const |
void | set_height (uint32 value) |
bool | has_url () const |
void | clear_url () |
const StringPiece | get_url () const |
void | set_url (const StringPiece &value) |
bool | has_width () const |
void | clear_width () |
uint32 | get_width () const |
void | set_width (uint32 value) |
Static Public Member Functions | |
static Thumbnail * | New () |
A thumbnail is an image representing a YouTube resource.
|
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 'url
' attribute.
|
inline |
Clears the 'width
' attribute.
|
inline |
Get the value of the 'height
' attribute.
|
inline |
Get the value of the 'url
' attribute.
|
inline |
Get the value of the 'width
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'height
' attribute was set.
height
' attribute was set.
|
inline |
Determine if the 'url
' attribute was set.
url
' 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.
(Optional) Height of the thumbnail image.
[in] | value | The new value. |
|
inline |
Change the 'url
' attribute.
The thumbnail image's URL.
[in] | value | The new value. |
|
inline |
Change the 'width
' attribute.
(Optional) Width of the thumbnail image.
[in] | value | The new value. |