|
youtube
v3
|
#include <activity_content_details_recommendation.h>
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 ActivityContentDetailsRecommendation * | New () |
Information that identifies the recommended resource.
|
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 'reason' attribute.
|
inline |
Clears the 'resourceId' attribute.
|
inline |
Clears the 'seedResourceId' attribute.
|
inline |
Get the value of the 'reason' attribute.
| const ResourceId google_youtube_api::ActivityContentDetailsRecommendation::get_resource_id | ( | ) | const |
Get a reference to the value of the 'resourceId' attribute.
| const ResourceId google_youtube_api::ActivityContentDetailsRecommendation::get_seed_resource_id | ( | ) | const |
Get a reference to the value of the 'seedResourceId' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'reason' attribute was set.
reason' attribute was set.
|
inline |
Determine if the 'resourceId' attribute was set.
resourceId' attribute was set.
|
inline |
Determine if the 'seedResourceId' attribute was set.
seedResourceId' attribute was set. | 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.
| 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.
|
static |
Creates a new default instance.
|
inline |
Change the 'reason' attribute.
The reason that the resource is recommended to the user.
| [in] | value | The new value. |