drive  v2
Classes | Public Member Functions | Static Public Member Functions | List of all members
google_drive_api::About::AboutAdditionalRoleInfo Class Reference

#include <about.h>

Inheritance diagram for google_drive_api::About::AboutAdditionalRoleInfo:

Classes

class  AboutAdditionalRoleInfoRoleSets
 

Public Member Functions

 AboutAdditionalRoleInfo (const Json::Value &storage)
 
 AboutAdditionalRoleInfo (Json::Value *storage)
 
virtual ~AboutAdditionalRoleInfo ()
 
const StringPiece GetTypeName () const
 
bool has_role_sets () const
 
void clear_role_sets ()
 
const client::JsonCppArray< AboutAdditionalRoleInfoRoleSetsget_role_sets () const
 
client::JsonCppArray< AboutAdditionalRoleInfoRoleSetsmutable_roleSets ()
 
bool has_type () const
 
void clear_type ()
 
const StringPiece get_type () const
 
void set_type (const StringPiece &value)
 

Static Public Member Functions

static AboutAdditionalRoleInfoNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ AboutAdditionalRoleInfo() [1/2]

google_drive_api::About::AboutAdditionalRoleInfo::AboutAdditionalRoleInfo ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ AboutAdditionalRoleInfo() [2/2]

google_drive_api::About::AboutAdditionalRoleInfo::AboutAdditionalRoleInfo ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~AboutAdditionalRoleInfo()

google_drive_api::About::AboutAdditionalRoleInfo::~AboutAdditionalRoleInfo ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_role_sets()

void google_drive_api::About::AboutAdditionalRoleInfo::clear_role_sets ( )
inline

Clears the 'roleSets' attribute.

◆ clear_type()

void google_drive_api::About::AboutAdditionalRoleInfo::clear_type ( )
inline

Clears the 'type' attribute.

◆ get_role_sets()

const client::JsonCppArray<AboutAdditionalRoleInfoRoleSets > google_drive_api::About::AboutAdditionalRoleInfo::get_role_sets ( ) const
inline

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

◆ get_type()

const StringPiece google_drive_api::About::AboutAdditionalRoleInfo::get_type ( ) const
inline

Get the value of the 'type' attribute.

◆ GetTypeName()

const StringPiece google_drive_api::About::AboutAdditionalRoleInfo::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_drive_api::AboutAdditionalRoleInfo

◆ has_role_sets()

bool google_drive_api::About::AboutAdditionalRoleInfo::has_role_sets ( ) const
inline

Determine if the 'roleSets' attribute was set.

Returns
true if the 'roleSets' attribute was set.

◆ has_type()

bool google_drive_api::About::AboutAdditionalRoleInfo::has_type ( ) const
inline

Determine if the 'type' attribute was set.

Returns
true if the 'type' attribute was set.

◆ mutable_roleSets()

client::JsonCppArray<AboutAdditionalRoleInfoRoleSets > google_drive_api::About::AboutAdditionalRoleInfo::mutable_roleSets ( )
inline

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

The supported additional roles per primary role.

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

◆ New()

About::AboutAdditionalRoleInfo * google_drive_api::About::AboutAdditionalRoleInfo::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_type()

void google_drive_api::About::AboutAdditionalRoleInfo::set_type ( const StringPiece &  value)
inline

Change the 'type' attribute.

The content type that this additional role info applies to.

Parameters
[in]valueThe new value.

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