#include <anonymous_player.h>
This is a JSON template for an anonymous player.
◆ AnonymousPlayer() [1/2]
google_games_api::AnonymousPlayer::AnonymousPlayer |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~AnonymousPlayer()
google_games_api::AnonymousPlayer::~AnonymousPlayer |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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
-
◆ 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
-
◆ 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
-
The documentation for this class was generated from the following files: