Class Ticket
Defined in File Ticket.h
Page Contents
Nested Relationships
Nested Types
Inheritance Relationships
Base Type
public axr::sdk::EntityBase
(Class EntityBase)
Class Documentation
-
class Ticket : public axr::sdk::EntityBase
Public Functions
-
inline Ticket()
-
inline virtual ~Ticket()
-
inline virtual Ticket &SetProperties(const std::map<utility::string_t, Variant> &value) override
Sets the object’s underlying map of stored values.
-
inline virtual Ticket &SetProperties(std::map<utility::string_t, Variant> &&value) override
Sets the underlying map of stored values for the object.
-
inline virtual Ticket &SetProperty(const utility::char_t *name, const Variant &value) override
Sets the property of the given name to the provided value.
-
inline virtual Ticket &SetProperty(const utility::string_t &name, const Variant &value) override
Sets the property of the given name to the provided value.
-
inline virtual Ticket &SetRemoteUrl(const utility::string_t &url) override
Returns the URL of the remote server endpoint where the object is managed.
-
inline virtual Ticket &SetUid(const utility::string_t &value) override
Sets the value of the Uid property.
- Parameters
value – The value to set.
-
inline virtual Ticket &SetDateCreated(const datetime &value) override
Sets the value of the DateCreated property.
- Parameters
value – The value to set.
-
inline virtual Ticket &SetDateModified(const datetime &value) override
Sets the value of the DateModified property.
- Parameters
value – The value to set.
-
inline virtual Ticket &SetVersion(const uint64_t value) override
Sets the value of the Version property.
- Parameters
value – The value to set.
-
virtual void Validate() override
-
std::vector<std::shared_ptr<Criteria>> GetCriteria() const
Returns the value of the Criteria property.
Sets the value of the Criteria property.
- Parameters
value – The value to set.
-
bool IsDedicatedServer() const
Indicates whether the user will request a dedicated server for the matched session or will self-host (P2P).
-
Ticket &SetDedicatedServer(bool value)
Set to true to request a dedicated server upon match completion, otherwise set to false to indicate self-hosting (P2P).
-
utility::string_t GetHostUid() const
Returns the value of the HostUid property as a utility::string_t.
-
Ticket &SetHostUid(const utility::string_t &value)
Sets the value of the HostUid property.
- Parameters
value – The value to set.
Sets the value of the TeamSize property.
- Parameters
value – The value to set.
-
Ticket &SetTeamSize(int64_t value)
Sets the value of the TeamSize property.
- Parameters
value – The value to set.
-
Ticket &SetTeamSize(int64_t min, int64_t max)
Sets the value of the TeamSize property.
- Parameters
min – The minimum value to set.
max – The maximum value to set.
-
int64_t GetNumTeams() const
Returns the value of the NumTeams property.
-
Ticket &SetNumTeams(const int64_t value)
Sets the value of the NumTeams property.
- Parameters
value – The value to set.
-
int64_t GetNumUsers() const
Returns the value of the NumUsers property.
-
Ticket &SetNumUsers(const int64_t value)
Sets the value of the NumUsers property.
- Parameters
value – The value to set.
-
utility::string_t GetSessionUid() const
Returns the value of the SessionUid property as a utility::string_t.
-
std::vector<std::shared_ptr<Statistic>> GetStatistics() const
Returns the value of the Statistics property.
Sets the value of the Statistics property.
- Parameters
value – The value to set.
-
std::vector<utility::string_t> GetUsers() const
Returns the value of the Users property.
Public Static Functions
-
static inline const utility::char_t *ClassName()
Returns the fully qualified name of the class.
-
class Status : public axr::sdk::StringEnum<Status>
-
inline Ticket()