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

#include <memberships_details.h>

Inheritance diagram for google_youtube_api::MembershipsDetails:

Public Member Functions

 MembershipsDetails (const Json::Value &storage)
 
 MembershipsDetails (Json::Value *storage)
 
virtual ~MembershipsDetails ()
 
const StringPiece GetTypeName () const
 
bool has_accessible_levels () const
 
void clear_accessible_levels ()
 
const client::JsonCppArray< string > get_accessible_levels () const
 
client::JsonCppArray< string > mutable_accessibleLevels ()
 
bool has_highest_accessible_level () const
 
void clear_highest_accessible_level ()
 
const StringPiece get_highest_accessible_level () const
 
void set_highest_accessible_level (const StringPiece &value)
 
bool has_highest_accessible_level_display_name () const
 
void clear_highest_accessible_level_display_name ()
 
const StringPiece get_highest_accessible_level_display_name () const
 
void set_highest_accessible_level_display_name (const StringPiece &value)
 
bool has_memberships_duration () const
 
void clear_memberships_duration ()
 
const MembershipsDuration get_memberships_duration () const
 
MembershipsDuration mutable_membershipsDuration ()
 
bool has_memberships_duration_at_levels () const
 
void clear_memberships_duration_at_levels ()
 
const client::JsonCppArray< MembershipsDurationAtLevelget_memberships_duration_at_levels () const
 
client::JsonCppArray< MembershipsDurationAtLevelmutable_membershipsDurationAtLevels ()
 

Static Public Member Functions

static MembershipsDetailsNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ MembershipsDetails() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ MembershipsDetails() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~MembershipsDetails()

google_youtube_api::MembershipsDetails::~MembershipsDetails ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_accessible_levels()

void google_youtube_api::MembershipsDetails::clear_accessible_levels ( )
inline

Clears the 'accessibleLevels' attribute.

◆ clear_highest_accessible_level()

void google_youtube_api::MembershipsDetails::clear_highest_accessible_level ( )
inline

Clears the 'highestAccessibleLevel' attribute.

◆ clear_highest_accessible_level_display_name()

void google_youtube_api::MembershipsDetails::clear_highest_accessible_level_display_name ( )
inline

Clears the 'highestAccessibleLevelDisplayName' attribute.

◆ clear_memberships_duration()

void google_youtube_api::MembershipsDetails::clear_memberships_duration ( )
inline

Clears the 'membershipsDuration' attribute.

◆ clear_memberships_duration_at_levels()

void google_youtube_api::MembershipsDetails::clear_memberships_duration_at_levels ( )
inline

Clears the 'membershipsDurationAtLevels' attribute.

◆ get_accessible_levels()

const client::JsonCppArray<string > google_youtube_api::MembershipsDetails::get_accessible_levels ( ) const
inline

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

◆ get_highest_accessible_level()

const StringPiece google_youtube_api::MembershipsDetails::get_highest_accessible_level ( ) const
inline

Get the value of the 'highestAccessibleLevel' attribute.

◆ get_highest_accessible_level_display_name()

const StringPiece google_youtube_api::MembershipsDetails::get_highest_accessible_level_display_name ( ) const
inline

Get the value of the 'highestAccessibleLevelDisplayName' attribute.

◆ get_memberships_duration()

const MembershipsDuration google_youtube_api::MembershipsDetails::get_memberships_duration ( ) const

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

◆ get_memberships_duration_at_levels()

const client::JsonCppArray<MembershipsDurationAtLevel > google_youtube_api::MembershipsDetails::get_memberships_duration_at_levels ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::MembershipsDetails

◆ has_accessible_levels()

bool google_youtube_api::MembershipsDetails::has_accessible_levels ( ) const
inline

Determine if the 'accessibleLevels' attribute was set.

Returns
true if the 'accessibleLevels' attribute was set.

◆ has_highest_accessible_level()

bool google_youtube_api::MembershipsDetails::has_highest_accessible_level ( ) const
inline

Determine if the 'highestAccessibleLevel' attribute was set.

Returns
true if the 'highestAccessibleLevel' attribute was set.

◆ has_highest_accessible_level_display_name()

bool google_youtube_api::MembershipsDetails::has_highest_accessible_level_display_name ( ) const
inline

Determine if the 'highestAccessibleLevelDisplayName' attribute was set.

Returns
true if the 'highestAccessibleLevelDisplayName' attribute was set.

◆ has_memberships_duration()

bool google_youtube_api::MembershipsDetails::has_memberships_duration ( ) const
inline

Determine if the 'membershipsDuration' attribute was set.

Returns
true if the 'membershipsDuration' attribute was set.

◆ has_memberships_duration_at_levels()

bool google_youtube_api::MembershipsDetails::has_memberships_duration_at_levels ( ) const
inline

Determine if the 'membershipsDurationAtLevels' attribute was set.

Returns
true if the 'membershipsDurationAtLevels' attribute was set.

◆ mutable_accessibleLevels()

client::JsonCppArray<string > google_youtube_api::MembershipsDetails::mutable_accessibleLevels ( )
inline

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

Ids of all levels that the user has access to. This includes the currently active level and all other levels that are included because of a higher purchase.

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

◆ mutable_membershipsDuration()

MembershipsDuration google_youtube_api::MembershipsDetails::mutable_membershipsDuration ( )

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

Data about memberships duration without taking into consideration pricing levels.

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

◆ mutable_membershipsDurationAtLevels()

client::JsonCppArray<MembershipsDurationAtLevel > google_youtube_api::MembershipsDetails::mutable_membershipsDurationAtLevels ( )

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

Data about memberships duration on particular pricing levels.

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

◆ New()

MembershipsDetails * google_youtube_api::MembershipsDetails::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_highest_accessible_level()

void google_youtube_api::MembershipsDetails::set_highest_accessible_level ( const StringPiece &  value)
inline

Change the 'highestAccessibleLevel' attribute.

Id of the highest level that the user has access to at the moment.

Parameters
[in]valueThe new value.

◆ set_highest_accessible_level_display_name()

void google_youtube_api::MembershipsDetails::set_highest_accessible_level_display_name ( const StringPiece &  value)
inline

Change the 'highestAccessibleLevelDisplayName' attribute.

Display name of the highest level that the user has access to at the moment.

Parameters
[in]valueThe new value.

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