#include <playlist_item_content_details.h>
◆ PlaylistItemContentDetails() [1/2]
google_youtube_api::PlaylistItemContentDetails::PlaylistItemContentDetails |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ PlaylistItemContentDetails() [2/2]
google_youtube_api::PlaylistItemContentDetails::PlaylistItemContentDetails |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~PlaylistItemContentDetails()
google_youtube_api::PlaylistItemContentDetails::~PlaylistItemContentDetails |
( |
| ) |
|
|
virtual |
◆ clear_end_at()
void google_youtube_api::PlaylistItemContentDetails::clear_end_at |
( |
| ) |
|
|
inline |
Clears the 'endAt
' attribute.
◆ clear_note()
void google_youtube_api::PlaylistItemContentDetails::clear_note |
( |
| ) |
|
|
inline |
Clears the 'note
' attribute.
◆ clear_start_at()
void google_youtube_api::PlaylistItemContentDetails::clear_start_at |
( |
| ) |
|
|
inline |
Clears the 'startAt
' attribute.
◆ clear_video_id()
void google_youtube_api::PlaylistItemContentDetails::clear_video_id |
( |
| ) |
|
|
inline |
Clears the 'videoId
' attribute.
◆ clear_video_published_at()
void google_youtube_api::PlaylistItemContentDetails::clear_video_published_at |
( |
| ) |
|
|
inline |
Clears the 'videoPublishedAt
' attribute.
◆ get_end_at()
const StringPiece google_youtube_api::PlaylistItemContentDetails::get_end_at |
( |
| ) |
const |
|
inline |
Get the value of the 'endAt
' attribute.
◆ get_note()
const StringPiece google_youtube_api::PlaylistItemContentDetails::get_note |
( |
| ) |
const |
|
inline |
Get the value of the 'note
' attribute.
◆ get_start_at()
const StringPiece google_youtube_api::PlaylistItemContentDetails::get_start_at |
( |
| ) |
const |
|
inline |
Get the value of the 'startAt
' attribute.
◆ get_video_id()
const StringPiece google_youtube_api::PlaylistItemContentDetails::get_video_id |
( |
| ) |
const |
|
inline |
Get the value of the 'videoId
' attribute.
◆ get_video_published_at()
client::DateTime google_youtube_api::PlaylistItemContentDetails::get_video_published_at |
( |
| ) |
const |
|
inline |
Get the value of the 'videoPublishedAt
' attribute.
◆ GetTypeName()
const StringPiece google_youtube_api::PlaylistItemContentDetails::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_end_at()
bool google_youtube_api::PlaylistItemContentDetails::has_end_at |
( |
| ) |
const |
|
inline |
Determine if the 'endAt
' attribute was set.
- Returns
- true if the '
endAt
' attribute was set.
◆ has_note()
bool google_youtube_api::PlaylistItemContentDetails::has_note |
( |
| ) |
const |
|
inline |
Determine if the 'note
' attribute was set.
- Returns
- true if the '
note
' attribute was set.
◆ has_start_at()
bool google_youtube_api::PlaylistItemContentDetails::has_start_at |
( |
| ) |
const |
|
inline |
Determine if the 'startAt
' attribute was set.
- Returns
- true if the '
startAt
' attribute was set.
◆ has_video_id()
bool google_youtube_api::PlaylistItemContentDetails::has_video_id |
( |
| ) |
const |
|
inline |
Determine if the 'videoId
' attribute was set.
- Returns
- true if the '
videoId
' attribute was set.
◆ has_video_published_at()
bool google_youtube_api::PlaylistItemContentDetails::has_video_published_at |
( |
| ) |
const |
|
inline |
Determine if the 'videoPublishedAt
' attribute was set.
- Returns
- true if the '
videoPublishedAt
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_end_at()
void google_youtube_api::PlaylistItemContentDetails::set_end_at |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'endAt
' attribute.
The time, measured in seconds from the start of the video, when the video should stop playing. (The playlist owner can specify the times when the video should start and stop playing when the video is played in the context of the playlist.) By default, assume that the video.endTime is the end of the video.
- Parameters
-
◆ set_note()
void google_youtube_api::PlaylistItemContentDetails::set_note |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'note
' attribute.
A user-generated note for this item.
- Parameters
-
◆ set_start_at()
void google_youtube_api::PlaylistItemContentDetails::set_start_at |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'startAt
' attribute.
The time, measured in seconds from the start of the video, when the video should start playing. (The playlist owner can specify the times when the video should start and stop playing when the video is played in the context of the playlist.) The default value is 0.
- Parameters
-
◆ set_video_id()
void google_youtube_api::PlaylistItemContentDetails::set_video_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'videoId
' attribute.
The ID that YouTube uses to uniquely identify a video. To retrieve the video resource, set the id query parameter to this value in your API request.
- Parameters
-
◆ set_video_published_at()
void google_youtube_api::PlaylistItemContentDetails::set_video_published_at |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'videoPublishedAt
' attribute.
The date and time that the video was published to YouTube. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
- Parameters
-
The documentation for this class was generated from the following files: