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

#include <subscription_content_details.h>

Inheritance diagram for google_youtube_api::SubscriptionContentDetails:

Public Member Functions

 SubscriptionContentDetails (const Json::Value &storage)
 
 SubscriptionContentDetails (Json::Value *storage)
 
virtual ~SubscriptionContentDetails ()
 
const StringPiece GetTypeName () const
 
bool has_activity_type () const
 
void clear_activity_type ()
 
const StringPiece get_activity_type () const
 
void set_activity_type (const StringPiece &value)
 
bool has_new_item_count () const
 
void clear_new_item_count ()
 
uint32 get_new_item_count () const
 
void set_new_item_count (uint32 value)
 
bool has_total_item_count () const
 
void clear_total_item_count ()
 
uint32 get_total_item_count () const
 
void set_total_item_count (uint32 value)
 

Static Public Member Functions

static SubscriptionContentDetailsNew ()
 

Detailed Description

Details about the content to witch a subscription refers.

Constructor & Destructor Documentation

◆ SubscriptionContentDetails() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ SubscriptionContentDetails() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~SubscriptionContentDetails()

google_youtube_api::SubscriptionContentDetails::~SubscriptionContentDetails ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_activity_type()

void google_youtube_api::SubscriptionContentDetails::clear_activity_type ( )
inline

Clears the 'activityType' attribute.

◆ clear_new_item_count()

void google_youtube_api::SubscriptionContentDetails::clear_new_item_count ( )
inline

Clears the 'newItemCount' attribute.

◆ clear_total_item_count()

void google_youtube_api::SubscriptionContentDetails::clear_total_item_count ( )
inline

Clears the 'totalItemCount' attribute.

◆ get_activity_type()

const StringPiece google_youtube_api::SubscriptionContentDetails::get_activity_type ( ) const
inline

Get the value of the 'activityType' attribute.

◆ get_new_item_count()

uint32 google_youtube_api::SubscriptionContentDetails::get_new_item_count ( ) const
inline

Get the value of the 'newItemCount' attribute.

◆ get_total_item_count()

uint32 google_youtube_api::SubscriptionContentDetails::get_total_item_count ( ) const
inline

Get the value of the 'totalItemCount' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::SubscriptionContentDetails

◆ has_activity_type()

bool google_youtube_api::SubscriptionContentDetails::has_activity_type ( ) const
inline

Determine if the 'activityType' attribute was set.

Returns
true if the 'activityType' attribute was set.

◆ has_new_item_count()

bool google_youtube_api::SubscriptionContentDetails::has_new_item_count ( ) const
inline

Determine if the 'newItemCount' attribute was set.

Returns
true if the 'newItemCount' attribute was set.

◆ has_total_item_count()

bool google_youtube_api::SubscriptionContentDetails::has_total_item_count ( ) const
inline

Determine if the 'totalItemCount' attribute was set.

Returns
true if the 'totalItemCount' attribute was set.

◆ New()

SubscriptionContentDetails * google_youtube_api::SubscriptionContentDetails::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_activity_type()

void google_youtube_api::SubscriptionContentDetails::set_activity_type ( const StringPiece &  value)
inline

Change the 'activityType' attribute.

The type of activity this subscription is for (only uploads, everything).

Parameters
[in]valueThe new value.

◆ set_new_item_count()

void google_youtube_api::SubscriptionContentDetails::set_new_item_count ( uint32  value)
inline

Change the 'newItemCount' attribute.

The number of new items in the subscription since its content was last read.

Parameters
[in]valueThe new value.

◆ set_total_item_count()

void google_youtube_api::SubscriptionContentDetails::set_total_item_count ( uint32  value)
inline

Change the 'totalItemCount' attribute.

The approximate number of items that the subscription points to.

Parameters
[in]valueThe new value.

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