youtube
v3
|
#include <resource_id.h>
Public Member Functions | |
ResourceId (const Json::Value &storage) | |
ResourceId (Json::Value *storage) | |
virtual | ~ResourceId () |
const StringPiece | GetTypeName () const |
bool | has_channel_id () const |
void | clear_channel_id () |
const StringPiece | get_channel_id () const |
void | set_channel_id (const StringPiece &value) |
bool | has_kind () const |
void | clear_kind () |
const StringPiece | get_kind () const |
void | set_kind (const StringPiece &value) |
bool | has_playlist_id () const |
void | clear_playlist_id () |
const StringPiece | get_playlist_id () const |
void | set_playlist_id (const StringPiece &value) |
bool | has_video_id () const |
void | clear_video_id () |
const StringPiece | get_video_id () const |
void | set_video_id (const StringPiece &value) |
Static Public Member Functions | |
static ResourceId * | New () |
A resource id is a generic reference that points to another 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 'channelId
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'playlistId
' attribute.
|
inline |
Clears the 'videoId
' attribute.
|
inline |
Get the value of the 'channelId
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
|
inline |
Get the value of the 'playlistId
' attribute.
|
inline |
Get the value of the 'videoId
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'channelId
' attribute was set.
channelId
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'playlistId
' attribute was set.
playlistId
' attribute was set.
|
inline |
Determine if the 'videoId
' attribute was set.
videoId
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'channelId
' attribute.
The ID that YouTube uses to uniquely identify the referred resource, if that resource is a channel. This property is only present if the resourceId.kind value is youtube::channel.
[in] | value | The new value. |
|
inline |
Change the 'kind
' attribute.
The type of the API resource.
[in] | value | The new value. |
|
inline |
Change the 'playlistId
' attribute.
The ID that YouTube uses to uniquely identify the referred resource, if that resource is a playlist. This property is only present if the resourceId.kind value is youtube::playlist.
[in] | value | The new value. |
|
inline |
Change the 'videoId
' attribute.
The ID that YouTube uses to uniquely identify the referred resource, if that resource is a video. This property is only present if the resourceId.kind value is youtube::video.
[in] | value | The new value. |