youtube
v3
|
#include <sponsor.h>
Public Member Functions | |
Sponsor (const Json::Value &storage) | |
Sponsor (Json::Value *storage) | |
virtual | ~Sponsor () |
const StringPiece | GetTypeName () const |
bool | has_etag () const |
void | clear_etag () |
const StringPiece | get_etag () const |
void | set_etag (const StringPiece &value) |
bool | has_kind () const |
void | clear_kind () |
const StringPiece | get_kind () const |
void | set_kind (const StringPiece &value) |
bool | has_snippet () const |
void | clear_snippet () |
const SponsorSnippet | get_snippet () const |
SponsorSnippet | mutable_snippet () |
Static Public Member Functions | |
static Sponsor * | New () |
A sponsor resource represents a sponsor for a YouTube channel. A sponsor provides recurring monetary support to a creator and receives special benefits.
|
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 'etag
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'snippet
' attribute.
|
inline |
Get the value of the 'etag
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
const SponsorSnippet google_youtube_api::Sponsor::get_snippet | ( | ) | const |
Get a reference to the value of the 'snippet
' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_youtube_api::Sponsor
|
inline |
Determine if the 'etag
' attribute was set.
etag
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'snippet
' attribute was set.
snippet
' attribute was set. SponsorSnippet google_youtube_api::Sponsor::mutable_snippet | ( | ) |
Gets a reference to a mutable value of the 'snippet
' property.
The snippet object contains basic details about the sponsor.
|
static |
Creates a new default instance.
|
inline |
Change the 'etag
' attribute.
Etag of this resource.
[in] | value | The new value. |
|
inline |
Change the 'kind
' attribute.
Identifies what kind of resource this is. Value: the fixed string "youtube#sponsor".
[in] | value | The new value. |