books  v1
Public Member Functions | Static Public Member Functions | List of all members
google_books_api::FamilyInfo::FamilyInfoMembership Class Reference

#include <family_info.h>

Inheritance diagram for google_books_api::FamilyInfo::FamilyInfoMembership:

Public Member Functions

 FamilyInfoMembership (const Json::Value &storage)
 
 FamilyInfoMembership (Json::Value *storage)
 
virtual ~FamilyInfoMembership ()
 
const StringPiece GetTypeName () const
 
bool has_acquire_permission () const
 
void clear_acquire_permission ()
 
const StringPiece get_acquire_permission () const
 
void set_acquire_permission (const StringPiece &value)
 
bool has_age_group () const
 
void clear_age_group ()
 
const StringPiece get_age_group () const
 
void set_age_group (const StringPiece &value)
 
bool has_allowed_maturity_rating () const
 
void clear_allowed_maturity_rating ()
 
const StringPiece get_allowed_maturity_rating () const
 
void set_allowed_maturity_rating (const StringPiece &value)
 
bool has_is_in_family () const
 
void clear_is_in_family ()
 
bool get_is_in_family () const
 
void set_is_in_family (bool value)
 
bool has_role () const
 
void clear_role ()
 
const StringPiece get_role () const
 
void set_role (const StringPiece &value)
 

Static Public Member Functions

static FamilyInfoMembershipNew ()
 

Detailed Description

Family membership info of the user that made the request.

Constructor & Destructor Documentation

◆ FamilyInfoMembership() [1/2]

google_books_api::FamilyInfo::FamilyInfoMembership::FamilyInfoMembership ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ FamilyInfoMembership() [2/2]

google_books_api::FamilyInfo::FamilyInfoMembership::FamilyInfoMembership ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~FamilyInfoMembership()

google_books_api::FamilyInfo::FamilyInfoMembership::~FamilyInfoMembership ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_acquire_permission()

void google_books_api::FamilyInfo::FamilyInfoMembership::clear_acquire_permission ( )
inline

Clears the 'acquirePermission' attribute.

◆ clear_age_group()

void google_books_api::FamilyInfo::FamilyInfoMembership::clear_age_group ( )
inline

Clears the 'ageGroup' attribute.

◆ clear_allowed_maturity_rating()

void google_books_api::FamilyInfo::FamilyInfoMembership::clear_allowed_maturity_rating ( )
inline

Clears the 'allowedMaturityRating' attribute.

◆ clear_is_in_family()

void google_books_api::FamilyInfo::FamilyInfoMembership::clear_is_in_family ( )
inline

Clears the 'isInFamily' attribute.

◆ clear_role()

void google_books_api::FamilyInfo::FamilyInfoMembership::clear_role ( )
inline

Clears the 'role' attribute.

◆ get_acquire_permission()

const StringPiece google_books_api::FamilyInfo::FamilyInfoMembership::get_acquire_permission ( ) const
inline

Get the value of the 'acquirePermission' attribute.

◆ get_age_group()

const StringPiece google_books_api::FamilyInfo::FamilyInfoMembership::get_age_group ( ) const
inline

Get the value of the 'ageGroup' attribute.

◆ get_allowed_maturity_rating()

const StringPiece google_books_api::FamilyInfo::FamilyInfoMembership::get_allowed_maturity_rating ( ) const
inline

Get the value of the 'allowedMaturityRating' attribute.

◆ get_is_in_family()

bool google_books_api::FamilyInfo::FamilyInfoMembership::get_is_in_family ( ) const
inline

Get the value of the 'isInFamily' attribute.

◆ get_role()

const StringPiece google_books_api::FamilyInfo::FamilyInfoMembership::get_role ( ) const
inline

Get the value of the 'role' attribute.

◆ GetTypeName()

const StringPiece google_books_api::FamilyInfo::FamilyInfoMembership::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_books_api::FamilyInfoMembership

◆ has_acquire_permission()

bool google_books_api::FamilyInfo::FamilyInfoMembership::has_acquire_permission ( ) const
inline

Determine if the 'acquirePermission' attribute was set.

Returns
true if the 'acquirePermission' attribute was set.

◆ has_age_group()

bool google_books_api::FamilyInfo::FamilyInfoMembership::has_age_group ( ) const
inline

Determine if the 'ageGroup' attribute was set.

Returns
true if the 'ageGroup' attribute was set.

◆ has_allowed_maturity_rating()

bool google_books_api::FamilyInfo::FamilyInfoMembership::has_allowed_maturity_rating ( ) const
inline

Determine if the 'allowedMaturityRating' attribute was set.

Returns
true if the 'allowedMaturityRating' attribute was set.

◆ has_is_in_family()

bool google_books_api::FamilyInfo::FamilyInfoMembership::has_is_in_family ( ) const
inline

Determine if the 'isInFamily' attribute was set.

Returns
true if the 'isInFamily' attribute was set.

◆ has_role()

bool google_books_api::FamilyInfo::FamilyInfoMembership::has_role ( ) const
inline

Determine if the 'role' attribute was set.

Returns
true if the 'role' attribute was set.

◆ New()

FamilyInfo::FamilyInfoMembership * google_books_api::FamilyInfo::FamilyInfoMembership::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_acquire_permission()

void google_books_api::FamilyInfo::FamilyInfoMembership::set_acquire_permission ( const StringPiece &  value)
inline

Change the 'acquirePermission' attribute.

Restrictions on user buying and acquiring content.

Parameters
[in]valueThe new value.

◆ set_age_group()

void google_books_api::FamilyInfo::FamilyInfoMembership::set_age_group ( const StringPiece &  value)
inline

Change the 'ageGroup' attribute.

The age group of the user.

Parameters
[in]valueThe new value.

◆ set_allowed_maturity_rating()

void google_books_api::FamilyInfo::FamilyInfoMembership::set_allowed_maturity_rating ( const StringPiece &  value)
inline

Change the 'allowedMaturityRating' attribute.

The maximum allowed maturity rating for the user.

Parameters
[in]valueThe new value.

◆ set_is_in_family()

void google_books_api::FamilyInfo::FamilyInfoMembership::set_is_in_family ( bool  value)
inline

Change the 'isInFamily' attribute.

Parameters
[in]valueThe new value.

◆ set_role()

void google_books_api::FamilyInfo::FamilyInfoMembership::set_role ( const StringPiece &  value)
inline

Change the 'role' attribute.

The role of the user in the family.

Parameters
[in]valueThe new value.

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