#include <memberships_details.h>
◆ MembershipsDetails() [1/2]
| google_youtube_api::MembershipsDetails::MembershipsDetails |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~MembershipsDetails()
| google_youtube_api::MembershipsDetails::~MembershipsDetails |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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()
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()
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
-
◆ 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
-
The documentation for this class was generated from the following files: