#include <turn_based_match_data.h>
This is a JSON template for a turn-based match data object.
◆ TurnBasedMatchData() [1/2]
| google_games_api::TurnBasedMatchData::TurnBasedMatchData |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ TurnBasedMatchData() [2/2]
| google_games_api::TurnBasedMatchData::TurnBasedMatchData |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~TurnBasedMatchData()
| google_games_api::TurnBasedMatchData::~TurnBasedMatchData |
( |
| ) |
|
|
virtual |
◆ clear_data()
| void google_games_api::TurnBasedMatchData::clear_data |
( |
| ) |
|
|
inline |
Clears the 'data' attribute.
◆ clear_data_available()
| void google_games_api::TurnBasedMatchData::clear_data_available |
( |
| ) |
|
|
inline |
Clears the 'dataAvailable' attribute.
◆ clear_kind()
| void google_games_api::TurnBasedMatchData::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind' attribute.
◆ get_data()
| const StringPiece google_games_api::TurnBasedMatchData::get_data |
( |
| ) |
const |
|
inline |
Get the value of the 'data' attribute.
◆ get_data_available()
| bool google_games_api::TurnBasedMatchData::get_data_available |
( |
| ) |
const |
|
inline |
Get the value of the 'dataAvailable' attribute.
◆ get_kind()
| const StringPiece google_games_api::TurnBasedMatchData::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind' attribute.
◆ GetTypeName()
| const StringPiece google_games_api::TurnBasedMatchData::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_data()
| bool google_games_api::TurnBasedMatchData::has_data |
( |
| ) |
const |
|
inline |
Determine if the 'data' attribute was set.
- Returns
- true if the '
data' attribute was set.
◆ has_data_available()
| bool google_games_api::TurnBasedMatchData::has_data_available |
( |
| ) |
const |
|
inline |
Determine if the 'dataAvailable' attribute was set.
- Returns
- true if the '
dataAvailable' attribute was set.
◆ has_kind()
| bool google_games_api::TurnBasedMatchData::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_data()
| void google_games_api::TurnBasedMatchData::set_data |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'data' attribute.
The byte representation of the data (limited to 128 kB), as a Base64-encoded string with the URL_SAFE encoding option.
- Parameters
-
◆ set_data_available()
| void google_games_api::TurnBasedMatchData::set_data_available |
( |
bool |
value | ) |
|
|
inline |
Change the 'dataAvailable' attribute.
True if this match has data available but it wasn't returned in a list response; fetching the match individually will retrieve this data.
- Parameters
-
◆ set_kind()
| void google_games_api::TurnBasedMatchData::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
Uniquely identifies the type of this resource. Value is always the fixed string games::turnBasedMatchData.
- Parameters
-
The documentation for this class was generated from the following files: