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

#include <memberships_duration_at_level.h>

Inheritance diagram for google_youtube_api::MembershipsDurationAtLevel:

Public Member Functions

 MembershipsDurationAtLevel (const Json::Value &storage)
 
 MembershipsDurationAtLevel (Json::Value *storage)
 
virtual ~MembershipsDurationAtLevel ()
 
const StringPiece GetTypeName () const
 
bool has_level () const
 
void clear_level ()
 
const StringPiece get_level () const
 
void set_level (const StringPiece &value)
 
bool has_member_since () const
 
void clear_member_since ()
 
const StringPiece get_member_since () const
 
void set_member_since (const StringPiece &value)
 
bool has_member_total_duration_months () const
 
void clear_member_total_duration_months ()
 
int32 get_member_total_duration_months () const
 
void set_member_total_duration_months (int32 value)
 

Static Public Member Functions

static MembershipsDurationAtLevelNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ MembershipsDurationAtLevel() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ MembershipsDurationAtLevel() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~MembershipsDurationAtLevel()

google_youtube_api::MembershipsDurationAtLevel::~MembershipsDurationAtLevel ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_level()

void google_youtube_api::MembershipsDurationAtLevel::clear_level ( )
inline

Clears the 'level' attribute.

◆ clear_member_since()

void google_youtube_api::MembershipsDurationAtLevel::clear_member_since ( )
inline

Clears the 'memberSince' attribute.

◆ clear_member_total_duration_months()

void google_youtube_api::MembershipsDurationAtLevel::clear_member_total_duration_months ( )
inline

Clears the 'memberTotalDurationMonths' attribute.

◆ get_level()

const StringPiece google_youtube_api::MembershipsDurationAtLevel::get_level ( ) const
inline

Get the value of the 'level' attribute.

◆ get_member_since()

const StringPiece google_youtube_api::MembershipsDurationAtLevel::get_member_since ( ) const
inline

Get the value of the 'memberSince' attribute.

◆ get_member_total_duration_months()

int32 google_youtube_api::MembershipsDurationAtLevel::get_member_total_duration_months ( ) const
inline

Get the value of the 'memberTotalDurationMonths' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::MembershipsDurationAtLevel

◆ has_level()

bool google_youtube_api::MembershipsDurationAtLevel::has_level ( ) const
inline

Determine if the 'level' attribute was set.

Returns
true if the 'level' attribute was set.

◆ has_member_since()

bool google_youtube_api::MembershipsDurationAtLevel::has_member_since ( ) const
inline

Determine if the 'memberSince' attribute was set.

Returns
true if the 'memberSince' attribute was set.

◆ has_member_total_duration_months()

bool google_youtube_api::MembershipsDurationAtLevel::has_member_total_duration_months ( ) const
inline

Determine if the 'memberTotalDurationMonths' attribute was set.

Returns
true if the 'memberTotalDurationMonths' attribute was set.

◆ New()

MembershipsDurationAtLevel * google_youtube_api::MembershipsDurationAtLevel::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_level()

void google_youtube_api::MembershipsDurationAtLevel::set_level ( const StringPiece &  value)
inline

Change the 'level' attribute.

Pricing level id.

Parameters
[in]valueThe new value.

◆ set_member_since()

void google_youtube_api::MembershipsDurationAtLevel::set_member_since ( const StringPiece &  value)
inline

Change the 'memberSince' attribute.

The date and time when the user became a continuous member for the given level.

Parameters
[in]valueThe new value.

◆ set_member_total_duration_months()

void google_youtube_api::MembershipsDurationAtLevel::set_member_total_duration_months ( int32  value)
inline

Change the 'memberTotalDurationMonths' attribute.

The cumulative time the user has been a member for the given level in complete months (the time is rounded down to the nearest integer).

Parameters
[in]valueThe new value.

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