#include <live_stream_snippet.h>
◆ LiveStreamSnippet() [1/2]
google_youtube_api::LiveStreamSnippet::LiveStreamSnippet |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ LiveStreamSnippet() [2/2]
google_youtube_api::LiveStreamSnippet::LiveStreamSnippet |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~LiveStreamSnippet()
google_youtube_api::LiveStreamSnippet::~LiveStreamSnippet |
( |
| ) |
|
|
virtual |
◆ clear_channel_id()
void google_youtube_api::LiveStreamSnippet::clear_channel_id |
( |
| ) |
|
|
inline |
Clears the 'channelId
' attribute.
◆ clear_description()
void google_youtube_api::LiveStreamSnippet::clear_description |
( |
| ) |
|
|
inline |
Clears the 'description
' attribute.
◆ clear_is_default_stream()
void google_youtube_api::LiveStreamSnippet::clear_is_default_stream |
( |
| ) |
|
|
inline |
Clears the 'isDefaultStream
' attribute.
◆ clear_published_at()
void google_youtube_api::LiveStreamSnippet::clear_published_at |
( |
| ) |
|
|
inline |
Clears the 'publishedAt
' attribute.
◆ clear_title()
void google_youtube_api::LiveStreamSnippet::clear_title |
( |
| ) |
|
|
inline |
Clears the 'title
' attribute.
◆ get_channel_id()
const StringPiece google_youtube_api::LiveStreamSnippet::get_channel_id |
( |
| ) |
const |
|
inline |
Get the value of the 'channelId
' attribute.
◆ get_description()
const StringPiece google_youtube_api::LiveStreamSnippet::get_description |
( |
| ) |
const |
|
inline |
Get the value of the 'description
' attribute.
◆ get_is_default_stream()
bool google_youtube_api::LiveStreamSnippet::get_is_default_stream |
( |
| ) |
const |
|
inline |
Get the value of the 'isDefaultStream
' attribute.
◆ get_published_at()
client::DateTime google_youtube_api::LiveStreamSnippet::get_published_at |
( |
| ) |
const |
|
inline |
Get the value of the 'publishedAt
' attribute.
◆ get_title()
const StringPiece google_youtube_api::LiveStreamSnippet::get_title |
( |
| ) |
const |
|
inline |
Get the value of the 'title
' attribute.
◆ GetTypeName()
const StringPiece google_youtube_api::LiveStreamSnippet::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_channel_id()
bool google_youtube_api::LiveStreamSnippet::has_channel_id |
( |
| ) |
const |
|
inline |
Determine if the 'channelId
' attribute was set.
- Returns
- true if the '
channelId
' attribute was set.
◆ has_description()
bool google_youtube_api::LiveStreamSnippet::has_description |
( |
| ) |
const |
|
inline |
Determine if the 'description
' attribute was set.
- Returns
- true if the '
description
' attribute was set.
◆ has_is_default_stream()
bool google_youtube_api::LiveStreamSnippet::has_is_default_stream |
( |
| ) |
const |
|
inline |
Determine if the 'isDefaultStream
' attribute was set.
- Returns
- true if the '
isDefaultStream
' attribute was set.
◆ has_published_at()
bool google_youtube_api::LiveStreamSnippet::has_published_at |
( |
| ) |
const |
|
inline |
Determine if the 'publishedAt
' attribute was set.
- Returns
- true if the '
publishedAt
' attribute was set.
◆ has_title()
bool google_youtube_api::LiveStreamSnippet::has_title |
( |
| ) |
const |
|
inline |
Determine if the 'title
' attribute was set.
- Returns
- true if the '
title
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_channel_id()
void google_youtube_api::LiveStreamSnippet::set_channel_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'channelId
' attribute.
The ID that YouTube uses to uniquely identify the channel that is transmitting the stream.
- Parameters
-
◆ set_description()
void google_youtube_api::LiveStreamSnippet::set_description |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'description
' attribute.
The stream's description. The value cannot be longer than 10000 characters.
- Parameters
-
◆ set_is_default_stream()
void google_youtube_api::LiveStreamSnippet::set_is_default_stream |
( |
bool |
value | ) |
|
|
inline |
Change the 'isDefaultStream
' attribute.
- Parameters
-
◆ set_published_at()
void google_youtube_api::LiveStreamSnippet::set_published_at |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'publishedAt
' attribute.
The date and time that the stream was created. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
- Parameters
-
◆ set_title()
void google_youtube_api::LiveStreamSnippet::set_title |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'title
' attribute.
The stream's title. The value must be between 1 and 128 characters long.
- Parameters
-
The documentation for this class was generated from the following files: