classroom  v1
Public Member Functions | Static Public Member Functions | List of all members
google_classroom_api::Name Class Reference

#include <name.h>

Inheritance diagram for google_classroom_api::Name:

Public Member Functions

 Name (const Json::Value &storage)
 
 Name (Json::Value *storage)
 
virtual ~Name ()
 
const StringPiece GetTypeName () const
 
bool has_family_name () const
 
void clear_family_name ()
 
const StringPiece get_family_name () const
 
void set_family_name (const StringPiece &value)
 
bool has_full_name () const
 
void clear_full_name ()
 
const StringPiece get_full_name () const
 
void set_full_name (const StringPiece &value)
 
bool has_given_name () const
 
void clear_given_name ()
 
const StringPiece get_given_name () const
 
void set_given_name (const StringPiece &value)
 

Static Public Member Functions

static NameNew ()
 

Detailed Description

Details of the user's name.

Constructor & Destructor Documentation

◆ Name() [1/2]

google_classroom_api::Name::Name ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ Name() [2/2]

google_classroom_api::Name::Name ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~Name()

google_classroom_api::Name::~Name ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_family_name()

void google_classroom_api::Name::clear_family_name ( )
inline

Clears the 'familyName' attribute.

◆ clear_full_name()

void google_classroom_api::Name::clear_full_name ( )
inline

Clears the 'fullName' attribute.

◆ clear_given_name()

void google_classroom_api::Name::clear_given_name ( )
inline

Clears the 'givenName' attribute.

◆ get_family_name()

const StringPiece google_classroom_api::Name::get_family_name ( ) const
inline

Get the value of the 'familyName' attribute.

◆ get_full_name()

const StringPiece google_classroom_api::Name::get_full_name ( ) const
inline

Get the value of the 'fullName' attribute.

◆ get_given_name()

const StringPiece google_classroom_api::Name::get_given_name ( ) const
inline

Get the value of the 'givenName' attribute.

◆ GetTypeName()

const StringPiece google_classroom_api::Name::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_classroom_api::Name

◆ has_family_name()

bool google_classroom_api::Name::has_family_name ( ) const
inline

Determine if the 'familyName' attribute was set.

Returns
true if the 'familyName' attribute was set.

◆ has_full_name()

bool google_classroom_api::Name::has_full_name ( ) const
inline

Determine if the 'fullName' attribute was set.

Returns
true if the 'fullName' attribute was set.

◆ has_given_name()

bool google_classroom_api::Name::has_given_name ( ) const
inline

Determine if the 'givenName' attribute was set.

Returns
true if the 'givenName' attribute was set.

◆ New()

Name * google_classroom_api::Name::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_family_name()

void google_classroom_api::Name::set_family_name ( const StringPiece &  value)
inline

Change the 'familyName' attribute.

The user's last name.

Read-only.

Parameters
[in]valueThe new value.

◆ set_full_name()

void google_classroom_api::Name::set_full_name ( const StringPiece &  value)
inline

Change the 'fullName' attribute.

The user's full name formed by concatenating the first and last name values.

Read-only.

Parameters
[in]valueThe new value.

◆ set_given_name()

void google_classroom_api::Name::set_given_name ( const StringPiece &  value)
inline

Change the 'givenName' attribute.

The user's first name.

Read-only.

Parameters
[in]valueThe new value.

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