games  v1
Public Member Functions | Static Public Member Functions | List of all members
google_games_api::AnonymousPlayer Class Reference

#include <anonymous_player.h>

Inheritance diagram for google_games_api::AnonymousPlayer:

Public Member Functions

 AnonymousPlayer (const Json::Value &storage)
 
 AnonymousPlayer (Json::Value *storage)
 
virtual ~AnonymousPlayer ()
 
const StringPiece GetTypeName () const
 
bool has_avatar_image_url () const
 
void clear_avatar_image_url ()
 
const StringPiece get_avatar_image_url () const
 
void set_avatar_image_url (const StringPiece &value)
 
bool has_display_name () const
 
void clear_display_name ()
 
const StringPiece get_display_name () const
 
void set_display_name (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 

Static Public Member Functions

static AnonymousPlayerNew ()
 

Detailed Description

This is a JSON template for an anonymous player.

Constructor & Destructor Documentation

◆ AnonymousPlayer() [1/2]

google_games_api::AnonymousPlayer::AnonymousPlayer ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ AnonymousPlayer() [2/2]

google_games_api::AnonymousPlayer::AnonymousPlayer ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~AnonymousPlayer()

google_games_api::AnonymousPlayer::~AnonymousPlayer ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_avatar_image_url()

void google_games_api::AnonymousPlayer::clear_avatar_image_url ( )
inline

Clears the 'avatarImageUrl' attribute.

◆ clear_display_name()

void google_games_api::AnonymousPlayer::clear_display_name ( )
inline

Clears the 'displayName' attribute.

◆ clear_kind()

void google_games_api::AnonymousPlayer::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ get_avatar_image_url()

const StringPiece google_games_api::AnonymousPlayer::get_avatar_image_url ( ) const
inline

Get the value of the 'avatarImageUrl' attribute.

◆ get_display_name()

const StringPiece google_games_api::AnonymousPlayer::get_display_name ( ) const
inline

Get the value of the 'displayName' attribute.

◆ get_kind()

const StringPiece google_games_api::AnonymousPlayer::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ GetTypeName()

const StringPiece google_games_api::AnonymousPlayer::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_games_api::AnonymousPlayer

◆ has_avatar_image_url()

bool google_games_api::AnonymousPlayer::has_avatar_image_url ( ) const
inline

Determine if the 'avatarImageUrl' attribute was set.

Returns
true if the 'avatarImageUrl' attribute was set.

◆ has_display_name()

bool google_games_api::AnonymousPlayer::has_display_name ( ) const
inline

Determine if the 'displayName' attribute was set.

Returns
true if the 'displayName' attribute was set.

◆ has_kind()

bool google_games_api::AnonymousPlayer::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ New()

AnonymousPlayer * google_games_api::AnonymousPlayer::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_avatar_image_url()

void google_games_api::AnonymousPlayer::set_avatar_image_url ( const StringPiece &  value)
inline

Change the 'avatarImageUrl' attribute.

The base URL for the image to display for the anonymous player.

Parameters
[in]valueThe new value.

◆ set_display_name()

void google_games_api::AnonymousPlayer::set_display_name ( const StringPiece &  value)
inline

Change the 'displayName' attribute.

The name to display for the anonymous player.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_games_api::AnonymousPlayer::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Uniquely identifies the type of this resource. Value is always the fixed string games::anonymousPlayer.

Parameters
[in]valueThe new value.

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