Class PersonaStatDefinition

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Class Documentation

class PersonaStatDefinition : public axr::sdk::EntityBase

Public Functions

inline PersonaStatDefinition()
inline PersonaStatDefinition(const PersonaStatDefinition &value)
inline PersonaStatDefinition(PersonaStatDefinition &&value)
inline virtual ~PersonaStatDefinition()
inline virtual PersonaStatDefinition &SetProperties(const std::map<utility::string_t, Variant> &value) override

Sets the object’s underlying map of stored values.

inline virtual PersonaStatDefinition &SetProperties(std::map<utility::string_t, Variant> &&value) override

Sets the underlying map of stored values for the object.

inline virtual PersonaStatDefinition &SetProperty(const utility::char_t *name, const Variant &value) override

Sets the property of the given name to the provided value.

inline virtual PersonaStatDefinition &SetProperty(const utility::string_t &name, const Variant &value) override

Sets the property of the given name to the provided value.

inline virtual PersonaStatDefinition &SetRemoteUrl(const utility::string_t &url) override

Returns the URL of the remote server endpoint where the object is managed.

inline virtual PersonaStatDefinition &SetUid(const utility::string_t &value) override

Sets the value of the Uid property.

Parameters

value – The value to set.

inline virtual PersonaStatDefinition &SetDateCreated(const datetime &value) override

Sets the value of the DateCreated property.

Parameters

value – The value to set.

inline virtual PersonaStatDefinition &SetDateModified(const datetime &value) override

Sets the value of the DateModified property.

Parameters

value – The value to set.

inline virtual PersonaStatDefinition &SetVersion(const uint64_t value) override

Sets the value of the Version property.

Parameters

value – The value to set.

virtual void Validate() override
utility::string_t GetName() const

Returns the value of the Name property as a utility::string_t.

const Type *GetType() const

Returns the value of the Type property as a utility::string_t.

Variant GetMin() const

Returns the value of the Min property.

template<class T>
inline T GetMin() const

Returns the value of the Min property.

Variant GetMax() const

Returns the value of the Max property.

template<class T>
inline T GetMax() const

Returns the value of the Max property.

Variant GetDefault() const

Returns the value of the Default property.

template<class T>
inline T GetDefault() const

Returns the value of the Default property.

utility::string_t GetProductUid() const

The uid of the product that the zone is associated with.

std::vector<Variant> GetValues() const
template<class T>
inline std::vector<T> GetValues() const
template<>
inline bool GetMin() const
template<>
inline bool GetMax() const
template<>
inline bool GetDefault() const
template<>
inline std::vector<bool> GetValues() const

Public Static Functions

static inline const utility::char_t *ClassName()

Returns the fully qualified name of the class.

Protected Functions

const Type *GetVariantType(const Variant &value)

Determines the storage type for the given variant value.

class Type : public axr::sdk::StringEnum<Type>

The data type represented by the persona stat.

Public Static Attributes

static const Type *INVALID
static const Type *BOOLEAN
static const Type *NUMBER
static const Type *OBJECT
static const Type *STRING