Class Profile

Inheritance Relationships

Base Type

Class Documentation

class Profile : public axr::sdk::EntityBase

Public Functions

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

Sets the object’s underlying map of stored values.

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

Sets the underlying map of stored values for the object.

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

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

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

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

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

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

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

Sets the value of the Uid property.

Parameters

value – The value to set.

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

Sets the value of the DateCreated property.

Parameters

value – The value to set.

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

Sets the value of the DateModified property.

Parameters

value – The value to set.

inline virtual Profile &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 GetAlias() const

Returns the non-unique alternate name of the user.

Profile &SetAlias(const utility::string_t &value)

Sets the non-unique alternate name of the user.

utility::string_t GetAvatar() const

Returns the URL, asset uid or other global identifier that references the user’s avatar.

Profile &SetAvatar(const utility::string_t &value)

Sets the URL, asset uid or other global identifier that references the user’s avatar.

std::shared_ptr<Object> GetData() const

Returns an arbitrary map of key-value pairs containing the metadata of the profile.

Profile &SetData(std::shared_ptr<Object> value)

Sets an arbitrary map of key-value pairs containing the metadata of the profile.

std::shared_ptr<Object> GetPresence() const

Returns an object containing encoded data about a user’s current online state.

Profile &SetPresence(std::shared_ptr<Object> value)

Sets an object containing encoded data about a user’s current online state.

Public Static Functions

static inline const utility::char_t *ClassName()

Returns the fully qualified name of the class.