#include <event_definition.h>
This is a JSON template for an event definition resource.
◆ EventDefinition() [1/2]
google_games_api::EventDefinition::EventDefinition |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ EventDefinition() [2/2]
google_games_api::EventDefinition::EventDefinition |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~EventDefinition()
google_games_api::EventDefinition::~EventDefinition |
( |
| ) |
|
|
virtual |
◆ clear_child_events()
void google_games_api::EventDefinition::clear_child_events |
( |
| ) |
|
|
inline |
Clears the 'childEvents
' attribute.
◆ clear_description()
void google_games_api::EventDefinition::clear_description |
( |
| ) |
|
|
inline |
Clears the 'description
' attribute.
◆ clear_display_name()
void google_games_api::EventDefinition::clear_display_name |
( |
| ) |
|
|
inline |
Clears the 'displayName
' attribute.
◆ clear_id()
void google_games_api::EventDefinition::clear_id |
( |
| ) |
|
|
inline |
Clears the 'id
' attribute.
◆ clear_image_url()
void google_games_api::EventDefinition::clear_image_url |
( |
| ) |
|
|
inline |
Clears the 'imageUrl
' attribute.
◆ clear_is_default_image_url()
void google_games_api::EventDefinition::clear_is_default_image_url |
( |
| ) |
|
|
inline |
Clears the 'isDefaultImageUrl
' attribute.
◆ clear_kind()
void google_games_api::EventDefinition::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind
' attribute.
◆ clear_visibility()
void google_games_api::EventDefinition::clear_visibility |
( |
| ) |
|
|
inline |
Clears the 'visibility
' attribute.
◆ get_child_events()
const client::JsonCppArray<EventChild > google_games_api::EventDefinition::get_child_events |
( |
| ) |
const |
Get a reference to the value of the 'childEvents
' attribute.
◆ get_description()
const StringPiece google_games_api::EventDefinition::get_description |
( |
| ) |
const |
|
inline |
Get the value of the 'description
' attribute.
◆ get_display_name()
const StringPiece google_games_api::EventDefinition::get_display_name |
( |
| ) |
const |
|
inline |
Get the value of the 'displayName
' attribute.
◆ get_id()
const StringPiece google_games_api::EventDefinition::get_id |
( |
| ) |
const |
|
inline |
Get the value of the 'id
' attribute.
◆ get_image_url()
const StringPiece google_games_api::EventDefinition::get_image_url |
( |
| ) |
const |
|
inline |
Get the value of the 'imageUrl
' attribute.
◆ get_is_default_image_url()
bool google_games_api::EventDefinition::get_is_default_image_url |
( |
| ) |
const |
|
inline |
Get the value of the 'isDefaultImageUrl
' attribute.
◆ get_kind()
const StringPiece google_games_api::EventDefinition::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind
' attribute.
◆ get_visibility()
const StringPiece google_games_api::EventDefinition::get_visibility |
( |
| ) |
const |
|
inline |
Get the value of the 'visibility
' attribute.
◆ GetTypeName()
const StringPiece google_games_api::EventDefinition::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_child_events()
bool google_games_api::EventDefinition::has_child_events |
( |
| ) |
const |
|
inline |
Determine if the 'childEvents
' attribute was set.
- Returns
- true if the '
childEvents
' attribute was set.
◆ has_description()
bool google_games_api::EventDefinition::has_description |
( |
| ) |
const |
|
inline |
Determine if the 'description
' attribute was set.
- Returns
- true if the '
description
' attribute was set.
◆ has_display_name()
bool google_games_api::EventDefinition::has_display_name |
( |
| ) |
const |
|
inline |
Determine if the 'displayName
' attribute was set.
- Returns
- true if the '
displayName
' attribute was set.
◆ has_id()
bool google_games_api::EventDefinition::has_id |
( |
| ) |
const |
|
inline |
Determine if the 'id
' attribute was set.
- Returns
- true if the '
id
' attribute was set.
◆ has_image_url()
bool google_games_api::EventDefinition::has_image_url |
( |
| ) |
const |
|
inline |
Determine if the 'imageUrl
' attribute was set.
- Returns
- true if the '
imageUrl
' attribute was set.
◆ has_is_default_image_url()
bool google_games_api::EventDefinition::has_is_default_image_url |
( |
| ) |
const |
|
inline |
Determine if the 'isDefaultImageUrl
' attribute was set.
- Returns
- true if the '
isDefaultImageUrl
' attribute was set.
◆ has_kind()
bool google_games_api::EventDefinition::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind
' attribute was set.
- Returns
- true if the '
kind
' attribute was set.
◆ has_visibility()
bool google_games_api::EventDefinition::has_visibility |
( |
| ) |
const |
|
inline |
Determine if the 'visibility
' attribute was set.
- Returns
- true if the '
visibility
' attribute was set.
◆ mutable_childEvents()
client::JsonCppArray<EventChild > google_games_api::EventDefinition::mutable_childEvents |
( |
| ) |
|
Gets a reference to a mutable value of the 'childEvents
' property.
A list of events that are a child of this event.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_description()
void google_games_api::EventDefinition::set_description |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'description
' attribute.
Description of what this event represents.
- Parameters
-
◆ set_display_name()
void google_games_api::EventDefinition::set_display_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'displayName
' attribute.
The name to display for the event.
- Parameters
-
◆ set_id()
void google_games_api::EventDefinition::set_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'id
' attribute.
The ID of the event.
- Parameters
-
◆ set_image_url()
void google_games_api::EventDefinition::set_image_url |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'imageUrl
' attribute.
The base URL for the image that represents the event.
- Parameters
-
◆ set_is_default_image_url()
void google_games_api::EventDefinition::set_is_default_image_url |
( |
bool |
value | ) |
|
|
inline |
Change the 'isDefaultImageUrl
' attribute.
Indicates whether the icon image being returned is a default image, or is game-provided.
- Parameters
-
◆ set_kind()
void google_games_api::EventDefinition::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind
' attribute.
Uniquely identifies the type of this resource. Value is always the fixed string games::eventDefinition.
- Parameters
-
◆ set_visibility()
void google_games_api::EventDefinition::set_visibility |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'visibility
' attribute.
The visibility of event being tracked in this definition. Possible values are:
- "REVEALED"
- This event should be visible to all users.
- "HIDDEN"
- This event should only be shown to users that have recorded this event at least once.
- Parameters
-
The documentation for this class was generated from the following files: