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