Class Contact

Inheritance Relationships

Base Type

Class Documentation

class Contact : public axr::sdk::EntityBase

Describes a physical mailing address.

Public Functions

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

Sets the object’s underlying map of stored values.

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

Sets the underlying map of stored values for the object.

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

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

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

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

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

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

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

Sets the value of the Uid property.

Parameters

value – The value to set.

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

Sets the value of the DateCreated property.

Parameters

value – The value to set.

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

Sets the value of the DateModified property.

Parameters

value – The value to set.

inline virtual Contact &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

The full name of the contact.

Contact &SetName(const utility::string_t &value)

The full name of the contact.

utility::string_t GetTitle() const

The title or relationship of the contact to the company.

Contact &SetTitle(const utility::string_t &value)

The title or relationship of the contact to the company.

utility::string_t GetCompany() const

The legal name of the company.

Contact &SetCompany(const utility::string_t &value)

The legal name of the company.

std::shared_ptr<Address> GetAddress() const

The physical mailing address for the contact.

Contact &SetAddress(std::shared_ptr<Address> value)

The physical mailing address for the contact.

utility::string_t GetEmail() const

The e-mail address of the contact.

Contact &SetEmail(const utility::string_t &value)

The e-mail address of the contact.

utility::string_t GetPhone() const

The phone number of the contact.

Contact &SetPhone(const utility::string_t &value)

The phone number of the contact.

utility::string_t GetFax() const

The fax number of the contact.

Contact &SetFax(const utility::string_t &value)

The fax number of the contact.

Public Static Functions

static inline const utility::char_t *ClassName()

Returns the fully qualified name of the class.