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

#include <activity_content_details_social.h>

Inheritance diagram for google_youtube_api::ActivityContentDetailsSocial:

Public Member Functions

 ActivityContentDetailsSocial (const Json::Value &storage)
 
 ActivityContentDetailsSocial (Json::Value *storage)
 
virtual ~ActivityContentDetailsSocial ()
 
const StringPiece GetTypeName () const
 
bool has_author () const
 
void clear_author ()
 
const StringPiece get_author () const
 
void set_author (const StringPiece &value)
 
bool has_image_url () const
 
void clear_image_url ()
 
const StringPiece get_image_url () const
 
void set_image_url (const StringPiece &value)
 
bool has_reference_url () const
 
void clear_reference_url ()
 
const StringPiece get_reference_url () const
 
void set_reference_url (const StringPiece &value)
 
bool has_resource_id () const
 
void clear_resource_id ()
 
const ResourceId get_resource_id () const
 
ResourceId mutable_resourceId ()
 
bool has_type () const
 
void clear_type ()
 
const StringPiece get_type () const
 
void set_type (const StringPiece &value)
 

Static Public Member Functions

static ActivityContentDetailsSocialNew ()
 

Detailed Description

Details about a social network post.

Constructor & Destructor Documentation

◆ ActivityContentDetailsSocial() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ActivityContentDetailsSocial() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ActivityContentDetailsSocial()

google_youtube_api::ActivityContentDetailsSocial::~ActivityContentDetailsSocial ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_author()

void google_youtube_api::ActivityContentDetailsSocial::clear_author ( )
inline

Clears the 'author' attribute.

◆ clear_image_url()

void google_youtube_api::ActivityContentDetailsSocial::clear_image_url ( )
inline

Clears the 'imageUrl' attribute.

◆ clear_reference_url()

void google_youtube_api::ActivityContentDetailsSocial::clear_reference_url ( )
inline

Clears the 'referenceUrl' attribute.

◆ clear_resource_id()

void google_youtube_api::ActivityContentDetailsSocial::clear_resource_id ( )
inline

Clears the 'resourceId' attribute.

◆ clear_type()

void google_youtube_api::ActivityContentDetailsSocial::clear_type ( )
inline

Clears the 'type' attribute.

◆ get_author()

const StringPiece google_youtube_api::ActivityContentDetailsSocial::get_author ( ) const
inline

Get the value of the 'author' attribute.

◆ get_image_url()

const StringPiece google_youtube_api::ActivityContentDetailsSocial::get_image_url ( ) const
inline

Get the value of the 'imageUrl' attribute.

◆ get_reference_url()

const StringPiece google_youtube_api::ActivityContentDetailsSocial::get_reference_url ( ) const
inline

Get the value of the 'referenceUrl' attribute.

◆ get_resource_id()

const ResourceId google_youtube_api::ActivityContentDetailsSocial::get_resource_id ( ) const

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

◆ get_type()

const StringPiece google_youtube_api::ActivityContentDetailsSocial::get_type ( ) const
inline

Get the value of the 'type' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::ActivityContentDetailsSocial

◆ has_author()

bool google_youtube_api::ActivityContentDetailsSocial::has_author ( ) const
inline

Determine if the 'author' attribute was set.

Returns
true if the 'author' attribute was set.

◆ has_image_url()

bool google_youtube_api::ActivityContentDetailsSocial::has_image_url ( ) const
inline

Determine if the 'imageUrl' attribute was set.

Returns
true if the 'imageUrl' attribute was set.

◆ has_reference_url()

bool google_youtube_api::ActivityContentDetailsSocial::has_reference_url ( ) const
inline

Determine if the 'referenceUrl' attribute was set.

Returns
true if the 'referenceUrl' attribute was set.

◆ has_resource_id()

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

Determine if the 'resourceId' attribute was set.

Returns
true if the 'resourceId' attribute was set.

◆ has_type()

bool google_youtube_api::ActivityContentDetailsSocial::has_type ( ) const
inline

Determine if the 'type' attribute was set.

Returns
true if the 'type' attribute was set.

◆ mutable_resourceId()

ResourceId google_youtube_api::ActivityContentDetailsSocial::mutable_resourceId ( )

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

The resourceId object encapsulates information that identifies the resource associated with a social network post.

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

◆ New()

ActivityContentDetailsSocial * google_youtube_api::ActivityContentDetailsSocial::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_author()

void google_youtube_api::ActivityContentDetailsSocial::set_author ( const StringPiece &  value)
inline

Change the 'author' attribute.

The author of the social network post.

Parameters
[in]valueThe new value.

◆ set_image_url()

void google_youtube_api::ActivityContentDetailsSocial::set_image_url ( const StringPiece &  value)
inline

Change the 'imageUrl' attribute.

An image of the post's author.

Parameters
[in]valueThe new value.

◆ set_reference_url()

void google_youtube_api::ActivityContentDetailsSocial::set_reference_url ( const StringPiece &  value)
inline

Change the 'referenceUrl' attribute.

The URL of the social network post.

Parameters
[in]valueThe new value.

◆ set_type()

void google_youtube_api::ActivityContentDetailsSocial::set_type ( const StringPiece &  value)
inline

Change the 'type' attribute.

The name of the social network.

Parameters
[in]valueThe new value.

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