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

#include <activity_content_details_favorite.h>

Inheritance diagram for google_youtube_api::ActivityContentDetailsFavorite:

Public Member Functions

 ActivityContentDetailsFavorite (const Json::Value &storage)
 
 ActivityContentDetailsFavorite (Json::Value *storage)
 
virtual ~ActivityContentDetailsFavorite ()
 
const StringPiece GetTypeName () const
 
bool has_resource_id () const
 
void clear_resource_id ()
 
const ResourceId get_resource_id () const
 
ResourceId mutable_resourceId ()
 

Static Public Member Functions

static ActivityContentDetailsFavoriteNew ()
 

Detailed Description

Information about a video that was marked as a favorite video.

Constructor & Destructor Documentation

◆ ActivityContentDetailsFavorite() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ActivityContentDetailsFavorite() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ActivityContentDetailsFavorite()

google_youtube_api::ActivityContentDetailsFavorite::~ActivityContentDetailsFavorite ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_resource_id()

void google_youtube_api::ActivityContentDetailsFavorite::clear_resource_id ( )
inline

Clears the 'resourceId' attribute.

◆ get_resource_id()

const ResourceId google_youtube_api::ActivityContentDetailsFavorite::get_resource_id ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::ActivityContentDetailsFavorite

◆ has_resource_id()

bool google_youtube_api::ActivityContentDetailsFavorite::has_resource_id ( ) const
inline

Determine if the 'resourceId' attribute was set.

Returns
true if the 'resourceId' attribute was set.

◆ mutable_resourceId()

ResourceId google_youtube_api::ActivityContentDetailsFavorite::mutable_resourceId ( )

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

The resourceId object contains information that identifies the resource that was marked as a favorite.

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

◆ New()

ActivityContentDetailsFavorite * google_youtube_api::ActivityContentDetailsFavorite::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: