|
youtube
v3
|
#include <promoted_item.h>
Public Member Functions | |
| PromotedItem (const Json::Value &storage) | |
| PromotedItem (Json::Value *storage) | |
| virtual | ~PromotedItem () |
| const StringPiece | GetTypeName () const |
| bool | has_custom_message () const |
| void | clear_custom_message () |
| const StringPiece | get_custom_message () const |
| void | set_custom_message (const StringPiece &value) |
| bool | has_id () const |
| void | clear_id () |
| const PromotedItemId | get_id () const |
| PromotedItemId | mutable_id () |
| bool | has_promoted_by_content_owner () const |
| void | clear_promoted_by_content_owner () |
| bool | get_promoted_by_content_owner () const |
| void | set_promoted_by_content_owner (bool value) |
| bool | has_timing () const |
| void | clear_timing () |
| const InvideoTiming | get_timing () const |
| InvideoTiming | mutable_timing () |
Static Public Member Functions | |
| static PromotedItem * | New () |
Describes a single promoted item.
|
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 'customMessage' attribute.
|
inline |
Clears the 'id' attribute.
|
inline |
Clears the 'promotedByContentOwner' attribute.
|
inline |
Clears the 'timing' attribute.
|
inline |
Get the value of the 'customMessage' attribute.
| const PromotedItemId google_youtube_api::PromotedItem::get_id | ( | ) | const |
Get a reference to the value of the 'id' attribute.
|
inline |
Get the value of the 'promotedByContentOwner' attribute.
| const InvideoTiming google_youtube_api::PromotedItem::get_timing | ( | ) | const |
Get a reference to the value of the 'timing' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'customMessage' attribute was set.
customMessage' attribute was set.
|
inline |
Determine if the 'id' attribute was set.
id' attribute was set.
|
inline |
Determine if the 'promotedByContentOwner' attribute was set.
promotedByContentOwner' attribute was set.
|
inline |
Determine if the 'timing' attribute was set.
timing' attribute was set. | PromotedItemId google_youtube_api::PromotedItem::mutable_id | ( | ) |
Gets a reference to a mutable value of the 'id' property.
Identifies the promoted item.
| InvideoTiming google_youtube_api::PromotedItem::mutable_timing | ( | ) |
Gets a reference to a mutable value of the 'timing' property.
The temporal position within the video where the promoted item will be displayed. If present, it overrides the default timing.
|
static |
Creates a new default instance.
|
inline |
Change the 'customMessage' attribute.
A custom message to display for this promotion. This field is currently ignored unless the promoted item is a website.
| [in] | value | The new value. |
|
inline |
Change the 'promotedByContentOwner' attribute.
If true, the content owner's name will be used when displaying the promotion. This field can only be set when the update is made on behalf of the content owner.
| [in] | value | The new value. |