youtube  v3
Public Member Functions | Static Public Member Functions | List of all members
google_youtube_api::ActivityContentDetails Class Reference

#include <activity_content_details.h>

Inheritance diagram for google_youtube_api::ActivityContentDetails:

Public Member Functions

 ActivityContentDetails (const Json::Value &storage)
 
 ActivityContentDetails (Json::Value *storage)
 
virtual ~ActivityContentDetails ()
 
const StringPiece GetTypeName () const
 
bool has_bulletin () const
 
void clear_bulletin ()
 
const ActivityContentDetailsBulletin get_bulletin () const
 
ActivityContentDetailsBulletin mutable_bulletin ()
 
bool has_channel_item () const
 
void clear_channel_item ()
 
const ActivityContentDetailsChannelItem get_channel_item () const
 
ActivityContentDetailsChannelItem mutable_channelItem ()
 
bool has_comment () const
 
void clear_comment ()
 
const ActivityContentDetailsComment get_comment () const
 
ActivityContentDetailsComment mutable_comment ()
 
bool has_favorite () const
 
void clear_favorite ()
 
const ActivityContentDetailsFavorite get_favorite () const
 
ActivityContentDetailsFavorite mutable_favorite ()
 
bool has_like () const
 
void clear_like ()
 
const ActivityContentDetailsLike get_like () const
 
ActivityContentDetailsLike mutable_like ()
 
bool has_playlist_item () const
 
void clear_playlist_item ()
 
const ActivityContentDetailsPlaylistItem get_playlist_item () const
 
ActivityContentDetailsPlaylistItem mutable_playlistItem ()
 
bool has_promoted_item () const
 
void clear_promoted_item ()
 
const ActivityContentDetailsPromotedItem get_promoted_item () const
 
ActivityContentDetailsPromotedItem mutable_promotedItem ()
 
bool has_recommendation () const
 
void clear_recommendation ()
 
const ActivityContentDetailsRecommendation get_recommendation () const
 
ActivityContentDetailsRecommendation mutable_recommendation ()
 
bool has_social () const
 
void clear_social ()
 
const ActivityContentDetailsSocial get_social () const
 
ActivityContentDetailsSocial mutable_social ()
 
bool has_subscription () const
 
void clear_subscription ()
 
const ActivityContentDetailsSubscription get_subscription () const
 
ActivityContentDetailsSubscription mutable_subscription ()
 
bool has_upload () const
 
void clear_upload ()
 
const ActivityContentDetailsUpload get_upload () const
 
ActivityContentDetailsUpload mutable_upload ()
 

Static Public Member Functions

static ActivityContentDetailsNew ()
 

Detailed Description

Details about the content of an activity: the video that was shared, the channel that was subscribed to, etc.

Constructor & Destructor Documentation

◆ ActivityContentDetails() [1/2]

google_youtube_api::ActivityContentDetails::ActivityContentDetails ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ActivityContentDetails() [2/2]

google_youtube_api::ActivityContentDetails::ActivityContentDetails ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~ActivityContentDetails()

google_youtube_api::ActivityContentDetails::~ActivityContentDetails ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_bulletin()

void google_youtube_api::ActivityContentDetails::clear_bulletin ( )
inline

Clears the 'bulletin' attribute.

◆ clear_channel_item()

void google_youtube_api::ActivityContentDetails::clear_channel_item ( )
inline

Clears the 'channelItem' attribute.

◆ clear_comment()

void google_youtube_api::ActivityContentDetails::clear_comment ( )
inline

Clears the 'comment' attribute.

◆ clear_favorite()

void google_youtube_api::ActivityContentDetails::clear_favorite ( )
inline

Clears the 'favorite' attribute.

◆ clear_like()

void google_youtube_api::ActivityContentDetails::clear_like ( )
inline

Clears the 'like' attribute.

◆ clear_playlist_item()

void google_youtube_api::ActivityContentDetails::clear_playlist_item ( )
inline

Clears the 'playlistItem' attribute.

◆ clear_promoted_item()

void google_youtube_api::ActivityContentDetails::clear_promoted_item ( )
inline

Clears the 'promotedItem' attribute.

◆ clear_recommendation()

void google_youtube_api::ActivityContentDetails::clear_recommendation ( )
inline

Clears the 'recommendation' attribute.

◆ clear_social()

void google_youtube_api::ActivityContentDetails::clear_social ( )
inline

Clears the 'social' attribute.

◆ clear_subscription()

void google_youtube_api::ActivityContentDetails::clear_subscription ( )
inline

Clears the 'subscription' attribute.

◆ clear_upload()

void google_youtube_api::ActivityContentDetails::clear_upload ( )
inline

Clears the 'upload' attribute.

◆ get_bulletin()

const ActivityContentDetailsBulletin google_youtube_api::ActivityContentDetails::get_bulletin ( ) const

Get a reference to the value of the 'bulletin' attribute.

◆ get_channel_item()

const ActivityContentDetailsChannelItem google_youtube_api::ActivityContentDetails::get_channel_item ( ) const

Get a reference to the value of the 'channelItem' attribute.

◆ get_comment()

const ActivityContentDetailsComment google_youtube_api::ActivityContentDetails::get_comment ( ) const

Get a reference to the value of the 'comment' attribute.

◆ get_favorite()

const ActivityContentDetailsFavorite google_youtube_api::ActivityContentDetails::get_favorite ( ) const

Get a reference to the value of the 'favorite' attribute.

◆ get_like()

const ActivityContentDetailsLike google_youtube_api::ActivityContentDetails::get_like ( ) const

Get a reference to the value of the 'like' attribute.

◆ get_playlist_item()

const ActivityContentDetailsPlaylistItem google_youtube_api::ActivityContentDetails::get_playlist_item ( ) const

Get a reference to the value of the 'playlistItem' attribute.

◆ get_promoted_item()

const ActivityContentDetailsPromotedItem google_youtube_api::ActivityContentDetails::get_promoted_item ( ) const

Get a reference to the value of the 'promotedItem' attribute.

◆ get_recommendation()

const ActivityContentDetailsRecommendation google_youtube_api::ActivityContentDetails::get_recommendation ( ) const

Get a reference to the value of the 'recommendation' attribute.

◆ get_social()

const ActivityContentDetailsSocial google_youtube_api::ActivityContentDetails::get_social ( ) const

Get a reference to the value of the 'social' attribute.

◆ get_subscription()

const ActivityContentDetailsSubscription google_youtube_api::ActivityContentDetails::get_subscription ( ) const

Get a reference to the value of the 'subscription' attribute.

◆ get_upload()

const ActivityContentDetailsUpload google_youtube_api::ActivityContentDetails::get_upload ( ) const

Get a reference to the value of the 'upload' attribute.

◆ GetTypeName()

const StringPiece google_youtube_api::ActivityContentDetails::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_youtube_api::ActivityContentDetails

◆ has_bulletin()

bool google_youtube_api::ActivityContentDetails::has_bulletin ( ) const
inline

Determine if the 'bulletin' attribute was set.

Returns
true if the 'bulletin' attribute was set.

◆ has_channel_item()

bool google_youtube_api::ActivityContentDetails::has_channel_item ( ) const
inline

Determine if the 'channelItem' attribute was set.

Returns
true if the 'channelItem' attribute was set.

◆ has_comment()

bool google_youtube_api::ActivityContentDetails::has_comment ( ) const
inline

Determine if the 'comment' attribute was set.

Returns
true if the 'comment' attribute was set.

◆ has_favorite()

bool google_youtube_api::ActivityContentDetails::has_favorite ( ) const
inline

Determine if the 'favorite' attribute was set.

Returns
true if the 'favorite' attribute was set.

◆ has_like()

bool google_youtube_api::ActivityContentDetails::has_like ( ) const
inline

Determine if the 'like' attribute was set.

Returns
true if the 'like' attribute was set.

◆ has_playlist_item()

bool google_youtube_api::ActivityContentDetails::has_playlist_item ( ) const
inline

Determine if the 'playlistItem' attribute was set.

Returns
true if the 'playlistItem' attribute was set.

◆ has_promoted_item()

bool google_youtube_api::ActivityContentDetails::has_promoted_item ( ) const
inline

Determine if the 'promotedItem' attribute was set.

Returns
true if the 'promotedItem' attribute was set.

◆ has_recommendation()

bool google_youtube_api::ActivityContentDetails::has_recommendation ( ) const
inline

Determine if the 'recommendation' attribute was set.

Returns
true if the 'recommendation' attribute was set.

◆ has_social()

bool google_youtube_api::ActivityContentDetails::has_social ( ) const
inline

Determine if the 'social' attribute was set.

Returns
true if the 'social' attribute was set.

◆ has_subscription()

bool google_youtube_api::ActivityContentDetails::has_subscription ( ) const
inline

Determine if the 'subscription' attribute was set.

Returns
true if the 'subscription' attribute was set.

◆ has_upload()

bool google_youtube_api::ActivityContentDetails::has_upload ( ) const
inline

Determine if the 'upload' attribute was set.

Returns
true if the 'upload' attribute was set.

◆ mutable_bulletin()

ActivityContentDetailsBulletin google_youtube_api::ActivityContentDetails::mutable_bulletin ( )

Gets a reference to a mutable value of the 'bulletin' property.

The bulletin object contains details about a channel bulletin post. This object is only present if the snippet.type is bulletin.

Returns
The result can be modified to change the attribute value.

◆ mutable_channelItem()

ActivityContentDetailsChannelItem google_youtube_api::ActivityContentDetails::mutable_channelItem ( )

Gets a reference to a mutable value of the 'channelItem' property.

The channelItem object contains details about a resource which was added to a channel. This property is only present if the snippet.type is channelItem.

Returns
The result can be modified to change the attribute value.

◆ mutable_comment()

ActivityContentDetailsComment google_youtube_api::ActivityContentDetails::mutable_comment ( )

Gets a reference to a mutable value of the 'comment' property.

The comment object contains information about a resource that received a comment. This property is only present if the snippet.type is comment.

Returns
The result can be modified to change the attribute value.

◆ mutable_favorite()

ActivityContentDetailsFavorite google_youtube_api::ActivityContentDetails::mutable_favorite ( )

Gets a reference to a mutable value of the 'favorite' property.

The favorite object contains information about a video that was marked as a favorite video. This property is only present if the snippet.type is favorite.

Returns
The result can be modified to change the attribute value.

◆ mutable_like()

ActivityContentDetailsLike google_youtube_api::ActivityContentDetails::mutable_like ( )

Gets a reference to a mutable value of the 'like' property.

The like object contains information about a resource that received a positive (like) rating. This property is only present if the snippet.type is like.

Returns
The result can be modified to change the attribute value.

◆ mutable_playlistItem()

ActivityContentDetailsPlaylistItem google_youtube_api::ActivityContentDetails::mutable_playlistItem ( )

Gets a reference to a mutable value of the 'playlistItem' property.

The playlistItem object contains information about a new playlist item. This property is only present if the snippet.type is playlistItem.

Returns
The result can be modified to change the attribute value.

◆ mutable_promotedItem()

ActivityContentDetailsPromotedItem google_youtube_api::ActivityContentDetails::mutable_promotedItem ( )

Gets a reference to a mutable value of the 'promotedItem' property.

The promotedItem object contains details about a resource which is being promoted. This property is only present if the snippet.type is promotedItem.

Returns
The result can be modified to change the attribute value.

◆ mutable_recommendation()

ActivityContentDetailsRecommendation google_youtube_api::ActivityContentDetails::mutable_recommendation ( )

Gets a reference to a mutable value of the 'recommendation' property.

The recommendation object contains information about a recommended resource. This property is only present if the snippet.type is recommendation.

Returns
The result can be modified to change the attribute value.

◆ mutable_social()

ActivityContentDetailsSocial google_youtube_api::ActivityContentDetails::mutable_social ( )

Gets a reference to a mutable value of the 'social' property.

The social object contains details about a social network post. This property is only present if the snippet.type is social.

Returns
The result can be modified to change the attribute value.

◆ mutable_subscription()

ActivityContentDetailsSubscription google_youtube_api::ActivityContentDetails::mutable_subscription ( )

Gets a reference to a mutable value of the 'subscription' property.

The subscription object contains information about a channel that a user subscribed to. This property is only present if the snippet.type is subscription.

Returns
The result can be modified to change the attribute value.

◆ mutable_upload()

ActivityContentDetailsUpload google_youtube_api::ActivityContentDetails::mutable_upload ( )

Gets a reference to a mutable value of the 'upload' property.

The upload object contains information about the uploaded video. This property is only present if the snippet.type is upload.

Returns
The result can be modified to change the attribute value.

◆ New()

ActivityContentDetails * google_youtube_api::ActivityContentDetails::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

The documentation for this class was generated from the following files: