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

#include <activity_content_details_recommendation.h>

Inheritance diagram for google_youtube_api::ActivityContentDetailsRecommendation:

Public Member Functions

 ActivityContentDetailsRecommendation (const Json::Value &storage)
 
 ActivityContentDetailsRecommendation (Json::Value *storage)
 
virtual ~ActivityContentDetailsRecommendation ()
 
const StringPiece GetTypeName () const
 
bool has_reason () const
 
void clear_reason ()
 
const StringPiece get_reason () const
 
void set_reason (const StringPiece &value)
 
bool has_resource_id () const
 
void clear_resource_id ()
 
const ResourceId get_resource_id () const
 
ResourceId mutable_resourceId ()
 
bool has_seed_resource_id () const
 
void clear_seed_resource_id ()
 
const ResourceId get_seed_resource_id () const
 
ResourceId mutable_seedResourceId ()
 

Static Public Member Functions

static ActivityContentDetailsRecommendationNew ()
 

Detailed Description

Information that identifies the recommended resource.

Constructor & Destructor Documentation

◆ ActivityContentDetailsRecommendation() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ActivityContentDetailsRecommendation() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ActivityContentDetailsRecommendation()

google_youtube_api::ActivityContentDetailsRecommendation::~ActivityContentDetailsRecommendation ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_reason()

void google_youtube_api::ActivityContentDetailsRecommendation::clear_reason ( )
inline

Clears the 'reason' attribute.

◆ clear_resource_id()

void google_youtube_api::ActivityContentDetailsRecommendation::clear_resource_id ( )
inline

Clears the 'resourceId' attribute.

◆ clear_seed_resource_id()

void google_youtube_api::ActivityContentDetailsRecommendation::clear_seed_resource_id ( )
inline

Clears the 'seedResourceId' attribute.

◆ get_reason()

const StringPiece google_youtube_api::ActivityContentDetailsRecommendation::get_reason ( ) const
inline

Get the value of the 'reason' attribute.

◆ get_resource_id()

const ResourceId google_youtube_api::ActivityContentDetailsRecommendation::get_resource_id ( ) const

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

◆ get_seed_resource_id()

const ResourceId google_youtube_api::ActivityContentDetailsRecommendation::get_seed_resource_id ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::ActivityContentDetailsRecommendation

◆ has_reason()

bool google_youtube_api::ActivityContentDetailsRecommendation::has_reason ( ) const
inline

Determine if the 'reason' attribute was set.

Returns
true if the 'reason' attribute was set.

◆ has_resource_id()

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

Determine if the 'resourceId' attribute was set.

Returns
true if the 'resourceId' attribute was set.

◆ has_seed_resource_id()

bool google_youtube_api::ActivityContentDetailsRecommendation::has_seed_resource_id ( ) const
inline

Determine if the 'seedResourceId' attribute was set.

Returns
true if the 'seedResourceId' attribute was set.

◆ mutable_resourceId()

ResourceId google_youtube_api::ActivityContentDetailsRecommendation::mutable_resourceId ( )

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

The resourceId object contains information that identifies the recommended resource.

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

◆ mutable_seedResourceId()

ResourceId google_youtube_api::ActivityContentDetailsRecommendation::mutable_seedResourceId ( )

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

The seedResourceId object contains information about the resource that caused the recommendation.

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

◆ New()

ActivityContentDetailsRecommendation * google_youtube_api::ActivityContentDetailsRecommendation::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_reason()

void google_youtube_api::ActivityContentDetailsRecommendation::set_reason ( const StringPiece &  value)
inline

Change the 'reason' attribute.

The reason that the resource is recommended to the user.

Parameters
[in]valueThe new value.

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