forked from loafle/openapi-generator-original
Export valid and set status of properties (#6020)
This commit is contained in:
parent
6ad5e5fb45
commit
649daed9a9
@ -120,6 +120,14 @@ void {{classname}}::{{setter}}(const {{{dataType}}} &{{name}}) {
|
|||||||
this->m_{{name}}_isSet = true;
|
this->m_{{name}}_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool {{classname}}::is_{{name}}_Set() const{
|
||||||
|
return m_{{name}}_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool {{classname}}::is_{{name}}_Valid() const{
|
||||||
|
return m_{{name}}_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
{{/vars}}{{/isEnum}}{{#isEnum}}
|
{{/vars}}{{/isEnum}}{{#isEnum}}
|
||||||
{{classname}}::e{{classname}} {{classname}}::getValue() const {
|
{{classname}}::e{{classname}} {{classname}}::getValue() const {
|
||||||
return m_value;
|
return m_value;
|
||||||
|
@ -35,6 +35,8 @@ public:
|
|||||||
{{^isEnum}}{{#vars}}
|
{{^isEnum}}{{#vars}}
|
||||||
{{{dataType}}} {{getter}}() const;
|
{{{dataType}}} {{getter}}() const;
|
||||||
void {{setter}}(const {{{dataType}}} &{{name}});
|
void {{setter}}(const {{{dataType}}} &{{name}});
|
||||||
|
bool is_{{name}}_Set() const;
|
||||||
|
bool is_{{name}}_Valid() const;
|
||||||
{{/vars}}{{/isEnum}}{{#isEnum}}
|
{{/vars}}{{/isEnum}}{{#isEnum}}
|
||||||
{{#allowableValues}}
|
{{#allowableValues}}
|
||||||
enum class e{{classname}} {{#enumVars}}{{#-first}}{{^isString}}: int {{/isString}}{{/-first}}{{/enumVars}}{
|
enum class e{{classname}} {{#enumVars}}{{#-first}}{{^isString}}: int {{/isString}}{{/-first}}{{/enumVars}}{
|
||||||
|
@ -120,6 +120,14 @@ void {{classname}}::{{setter}}(const {{{dataType}}} &{{name}}) {
|
|||||||
this->m_{{name}}_isSet = true;
|
this->m_{{name}}_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool {{classname}}::is_{{name}}_Set() const{
|
||||||
|
return m_{{name}}_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool {{classname}}::is_{{name}}_Valid() const{
|
||||||
|
return m_{{name}}_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
{{/vars}}{{/isEnum}}{{#isEnum}}
|
{{/vars}}{{/isEnum}}{{#isEnum}}
|
||||||
{{classname}}::e{{classname}} {{classname}}::getValue() const {
|
{{classname}}::e{{classname}} {{classname}}::getValue() const {
|
||||||
return m_value;
|
return m_value;
|
||||||
|
@ -35,6 +35,8 @@ public:
|
|||||||
{{^isEnum}}{{#vars}}
|
{{^isEnum}}{{#vars}}
|
||||||
{{{dataType}}} {{getter}}() const;
|
{{{dataType}}} {{getter}}() const;
|
||||||
void {{setter}}(const {{{dataType}}} &{{name}});
|
void {{setter}}(const {{{dataType}}} &{{name}});
|
||||||
|
bool is_{{name}}_Set() const;
|
||||||
|
bool is_{{name}}_Valid() const;
|
||||||
{{/vars}}{{/isEnum}}{{#isEnum}}
|
{{/vars}}{{/isEnum}}{{#isEnum}}
|
||||||
{{#allowableValues}}
|
{{#allowableValues}}
|
||||||
enum class e{{classname}} {{#enumVars}}{{#-first}}{{^isString}}: int {{/isString}}{{/-first}}{{/enumVars}}{
|
enum class e{{classname}} {{#enumVars}}{{#-first}}{{^isString}}: int {{/isString}}{{/-first}}{{/enumVars}}{
|
||||||
|
@ -91,6 +91,14 @@ void PFXApiResponse::setCode(const qint32 &code) {
|
|||||||
this->m_code_isSet = true;
|
this->m_code_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXApiResponse::is_code_Set() const{
|
||||||
|
return m_code_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXApiResponse::is_code_Valid() const{
|
||||||
|
return m_code_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString PFXApiResponse::getType() const {
|
QString PFXApiResponse::getType() const {
|
||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
@ -99,6 +107,14 @@ void PFXApiResponse::setType(const QString &type) {
|
|||||||
this->m_type_isSet = true;
|
this->m_type_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXApiResponse::is_type_Set() const{
|
||||||
|
return m_type_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXApiResponse::is_type_Valid() const{
|
||||||
|
return m_type_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString PFXApiResponse::getMessage() const {
|
QString PFXApiResponse::getMessage() const {
|
||||||
return message;
|
return message;
|
||||||
}
|
}
|
||||||
@ -107,6 +123,14 @@ void PFXApiResponse::setMessage(const QString &message) {
|
|||||||
this->m_message_isSet = true;
|
this->m_message_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXApiResponse::is_message_Set() const{
|
||||||
|
return m_message_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXApiResponse::is_message_Valid() const{
|
||||||
|
return m_message_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
bool PFXApiResponse::isSet() const {
|
bool PFXApiResponse::isSet() const {
|
||||||
bool isObjectUpdated = false;
|
bool isObjectUpdated = false;
|
||||||
do {
|
do {
|
||||||
|
@ -40,12 +40,18 @@ public:
|
|||||||
|
|
||||||
qint32 getCode() const;
|
qint32 getCode() const;
|
||||||
void setCode(const qint32 &code);
|
void setCode(const qint32 &code);
|
||||||
|
bool is_code_Set() const;
|
||||||
|
bool is_code_Valid() const;
|
||||||
|
|
||||||
QString getType() const;
|
QString getType() const;
|
||||||
void setType(const QString &type);
|
void setType(const QString &type);
|
||||||
|
bool is_type_Set() const;
|
||||||
|
bool is_type_Valid() const;
|
||||||
|
|
||||||
QString getMessage() const;
|
QString getMessage() const;
|
||||||
void setMessage(const QString &message);
|
void setMessage(const QString &message);
|
||||||
|
bool is_message_Set() const;
|
||||||
|
bool is_message_Valid() const;
|
||||||
|
|
||||||
virtual bool isSet() const override;
|
virtual bool isSet() const override;
|
||||||
virtual bool isValid() const override;
|
virtual bool isValid() const override;
|
||||||
|
@ -82,6 +82,14 @@ void PFXCategory::setId(const qint64 &id) {
|
|||||||
this->m_id_isSet = true;
|
this->m_id_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXCategory::is_id_Set() const{
|
||||||
|
return m_id_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXCategory::is_id_Valid() const{
|
||||||
|
return m_id_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString PFXCategory::getName() const {
|
QString PFXCategory::getName() const {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
@ -90,6 +98,14 @@ void PFXCategory::setName(const QString &name) {
|
|||||||
this->m_name_isSet = true;
|
this->m_name_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXCategory::is_name_Set() const{
|
||||||
|
return m_name_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXCategory::is_name_Valid() const{
|
||||||
|
return m_name_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
bool PFXCategory::isSet() const {
|
bool PFXCategory::isSet() const {
|
||||||
bool isObjectUpdated = false;
|
bool isObjectUpdated = false;
|
||||||
do {
|
do {
|
||||||
|
@ -40,9 +40,13 @@ public:
|
|||||||
|
|
||||||
qint64 getId() const;
|
qint64 getId() const;
|
||||||
void setId(const qint64 &id);
|
void setId(const qint64 &id);
|
||||||
|
bool is_id_Set() const;
|
||||||
|
bool is_id_Valid() const;
|
||||||
|
|
||||||
QString getName() const;
|
QString getName() const;
|
||||||
void setName(const QString &name);
|
void setName(const QString &name);
|
||||||
|
bool is_name_Set() const;
|
||||||
|
bool is_name_Valid() const;
|
||||||
|
|
||||||
virtual bool isSet() const override;
|
virtual bool isSet() const override;
|
||||||
virtual bool isValid() const override;
|
virtual bool isValid() const override;
|
||||||
|
@ -118,6 +118,14 @@ void PFXOrder::setId(const qint64 &id) {
|
|||||||
this->m_id_isSet = true;
|
this->m_id_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXOrder::is_id_Set() const{
|
||||||
|
return m_id_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXOrder::is_id_Valid() const{
|
||||||
|
return m_id_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
qint64 PFXOrder::getPetId() const {
|
qint64 PFXOrder::getPetId() const {
|
||||||
return pet_id;
|
return pet_id;
|
||||||
}
|
}
|
||||||
@ -126,6 +134,14 @@ void PFXOrder::setPetId(const qint64 &pet_id) {
|
|||||||
this->m_pet_id_isSet = true;
|
this->m_pet_id_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXOrder::is_pet_id_Set() const{
|
||||||
|
return m_pet_id_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXOrder::is_pet_id_Valid() const{
|
||||||
|
return m_pet_id_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
qint32 PFXOrder::getQuantity() const {
|
qint32 PFXOrder::getQuantity() const {
|
||||||
return quantity;
|
return quantity;
|
||||||
}
|
}
|
||||||
@ -134,6 +150,14 @@ void PFXOrder::setQuantity(const qint32 &quantity) {
|
|||||||
this->m_quantity_isSet = true;
|
this->m_quantity_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXOrder::is_quantity_Set() const{
|
||||||
|
return m_quantity_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXOrder::is_quantity_Valid() const{
|
||||||
|
return m_quantity_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QDateTime PFXOrder::getShipDate() const {
|
QDateTime PFXOrder::getShipDate() const {
|
||||||
return ship_date;
|
return ship_date;
|
||||||
}
|
}
|
||||||
@ -142,6 +166,14 @@ void PFXOrder::setShipDate(const QDateTime &ship_date) {
|
|||||||
this->m_ship_date_isSet = true;
|
this->m_ship_date_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXOrder::is_ship_date_Set() const{
|
||||||
|
return m_ship_date_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXOrder::is_ship_date_Valid() const{
|
||||||
|
return m_ship_date_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString PFXOrder::getStatus() const {
|
QString PFXOrder::getStatus() const {
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
@ -150,6 +182,14 @@ void PFXOrder::setStatus(const QString &status) {
|
|||||||
this->m_status_isSet = true;
|
this->m_status_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXOrder::is_status_Set() const{
|
||||||
|
return m_status_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXOrder::is_status_Valid() const{
|
||||||
|
return m_status_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
bool PFXOrder::isComplete() const {
|
bool PFXOrder::isComplete() const {
|
||||||
return complete;
|
return complete;
|
||||||
}
|
}
|
||||||
@ -158,6 +198,14 @@ void PFXOrder::setComplete(const bool &complete) {
|
|||||||
this->m_complete_isSet = true;
|
this->m_complete_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXOrder::is_complete_Set() const{
|
||||||
|
return m_complete_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXOrder::is_complete_Valid() const{
|
||||||
|
return m_complete_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
bool PFXOrder::isSet() const {
|
bool PFXOrder::isSet() const {
|
||||||
bool isObjectUpdated = false;
|
bool isObjectUpdated = false;
|
||||||
do {
|
do {
|
||||||
|
@ -41,21 +41,33 @@ public:
|
|||||||
|
|
||||||
qint64 getId() const;
|
qint64 getId() const;
|
||||||
void setId(const qint64 &id);
|
void setId(const qint64 &id);
|
||||||
|
bool is_id_Set() const;
|
||||||
|
bool is_id_Valid() const;
|
||||||
|
|
||||||
qint64 getPetId() const;
|
qint64 getPetId() const;
|
||||||
void setPetId(const qint64 &pet_id);
|
void setPetId(const qint64 &pet_id);
|
||||||
|
bool is_pet_id_Set() const;
|
||||||
|
bool is_pet_id_Valid() const;
|
||||||
|
|
||||||
qint32 getQuantity() const;
|
qint32 getQuantity() const;
|
||||||
void setQuantity(const qint32 &quantity);
|
void setQuantity(const qint32 &quantity);
|
||||||
|
bool is_quantity_Set() const;
|
||||||
|
bool is_quantity_Valid() const;
|
||||||
|
|
||||||
QDateTime getShipDate() const;
|
QDateTime getShipDate() const;
|
||||||
void setShipDate(const QDateTime &ship_date);
|
void setShipDate(const QDateTime &ship_date);
|
||||||
|
bool is_ship_date_Set() const;
|
||||||
|
bool is_ship_date_Valid() const;
|
||||||
|
|
||||||
QString getStatus() const;
|
QString getStatus() const;
|
||||||
void setStatus(const QString &status);
|
void setStatus(const QString &status);
|
||||||
|
bool is_status_Set() const;
|
||||||
|
bool is_status_Valid() const;
|
||||||
|
|
||||||
bool isComplete() const;
|
bool isComplete() const;
|
||||||
void setComplete(const bool &complete);
|
void setComplete(const bool &complete);
|
||||||
|
bool is_complete_Set() const;
|
||||||
|
bool is_complete_Valid() const;
|
||||||
|
|
||||||
virtual bool isSet() const override;
|
virtual bool isSet() const override;
|
||||||
virtual bool isValid() const override;
|
virtual bool isValid() const override;
|
||||||
|
@ -118,6 +118,14 @@ void PFXPet::setId(const qint64 &id) {
|
|||||||
this->m_id_isSet = true;
|
this->m_id_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXPet::is_id_Set() const{
|
||||||
|
return m_id_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXPet::is_id_Valid() const{
|
||||||
|
return m_id_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
PFXCategory PFXPet::getCategory() const {
|
PFXCategory PFXPet::getCategory() const {
|
||||||
return category;
|
return category;
|
||||||
}
|
}
|
||||||
@ -126,6 +134,14 @@ void PFXPet::setCategory(const PFXCategory &category) {
|
|||||||
this->m_category_isSet = true;
|
this->m_category_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXPet::is_category_Set() const{
|
||||||
|
return m_category_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXPet::is_category_Valid() const{
|
||||||
|
return m_category_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString PFXPet::getName() const {
|
QString PFXPet::getName() const {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
@ -134,6 +150,14 @@ void PFXPet::setName(const QString &name) {
|
|||||||
this->m_name_isSet = true;
|
this->m_name_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXPet::is_name_Set() const{
|
||||||
|
return m_name_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXPet::is_name_Valid() const{
|
||||||
|
return m_name_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QList<QString> PFXPet::getPhotoUrls() const {
|
QList<QString> PFXPet::getPhotoUrls() const {
|
||||||
return photo_urls;
|
return photo_urls;
|
||||||
}
|
}
|
||||||
@ -142,6 +166,14 @@ void PFXPet::setPhotoUrls(const QList<QString> &photo_urls) {
|
|||||||
this->m_photo_urls_isSet = true;
|
this->m_photo_urls_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXPet::is_photo_urls_Set() const{
|
||||||
|
return m_photo_urls_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXPet::is_photo_urls_Valid() const{
|
||||||
|
return m_photo_urls_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QList<PFXTag> PFXPet::getTags() const {
|
QList<PFXTag> PFXPet::getTags() const {
|
||||||
return tags;
|
return tags;
|
||||||
}
|
}
|
||||||
@ -150,6 +182,14 @@ void PFXPet::setTags(const QList<PFXTag> &tags) {
|
|||||||
this->m_tags_isSet = true;
|
this->m_tags_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXPet::is_tags_Set() const{
|
||||||
|
return m_tags_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXPet::is_tags_Valid() const{
|
||||||
|
return m_tags_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString PFXPet::getStatus() const {
|
QString PFXPet::getStatus() const {
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
@ -158,6 +198,14 @@ void PFXPet::setStatus(const QString &status) {
|
|||||||
this->m_status_isSet = true;
|
this->m_status_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXPet::is_status_Set() const{
|
||||||
|
return m_status_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXPet::is_status_Valid() const{
|
||||||
|
return m_status_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
bool PFXPet::isSet() const {
|
bool PFXPet::isSet() const {
|
||||||
bool isObjectUpdated = false;
|
bool isObjectUpdated = false;
|
||||||
do {
|
do {
|
||||||
|
@ -43,21 +43,33 @@ public:
|
|||||||
|
|
||||||
qint64 getId() const;
|
qint64 getId() const;
|
||||||
void setId(const qint64 &id);
|
void setId(const qint64 &id);
|
||||||
|
bool is_id_Set() const;
|
||||||
|
bool is_id_Valid() const;
|
||||||
|
|
||||||
PFXCategory getCategory() const;
|
PFXCategory getCategory() const;
|
||||||
void setCategory(const PFXCategory &category);
|
void setCategory(const PFXCategory &category);
|
||||||
|
bool is_category_Set() const;
|
||||||
|
bool is_category_Valid() const;
|
||||||
|
|
||||||
QString getName() const;
|
QString getName() const;
|
||||||
void setName(const QString &name);
|
void setName(const QString &name);
|
||||||
|
bool is_name_Set() const;
|
||||||
|
bool is_name_Valid() const;
|
||||||
|
|
||||||
QList<QString> getPhotoUrls() const;
|
QList<QString> getPhotoUrls() const;
|
||||||
void setPhotoUrls(const QList<QString> &photo_urls);
|
void setPhotoUrls(const QList<QString> &photo_urls);
|
||||||
|
bool is_photo_urls_Set() const;
|
||||||
|
bool is_photo_urls_Valid() const;
|
||||||
|
|
||||||
QList<PFXTag> getTags() const;
|
QList<PFXTag> getTags() const;
|
||||||
void setTags(const QList<PFXTag> &tags);
|
void setTags(const QList<PFXTag> &tags);
|
||||||
|
bool is_tags_Set() const;
|
||||||
|
bool is_tags_Valid() const;
|
||||||
|
|
||||||
QString getStatus() const;
|
QString getStatus() const;
|
||||||
void setStatus(const QString &status);
|
void setStatus(const QString &status);
|
||||||
|
bool is_status_Set() const;
|
||||||
|
bool is_status_Valid() const;
|
||||||
|
|
||||||
virtual bool isSet() const override;
|
virtual bool isSet() const override;
|
||||||
virtual bool isValid() const override;
|
virtual bool isValid() const override;
|
||||||
|
@ -82,6 +82,14 @@ void PFXTag::setId(const qint64 &id) {
|
|||||||
this->m_id_isSet = true;
|
this->m_id_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXTag::is_id_Set() const{
|
||||||
|
return m_id_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXTag::is_id_Valid() const{
|
||||||
|
return m_id_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString PFXTag::getName() const {
|
QString PFXTag::getName() const {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
@ -90,6 +98,14 @@ void PFXTag::setName(const QString &name) {
|
|||||||
this->m_name_isSet = true;
|
this->m_name_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXTag::is_name_Set() const{
|
||||||
|
return m_name_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXTag::is_name_Valid() const{
|
||||||
|
return m_name_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
bool PFXTag::isSet() const {
|
bool PFXTag::isSet() const {
|
||||||
bool isObjectUpdated = false;
|
bool isObjectUpdated = false;
|
||||||
do {
|
do {
|
||||||
|
@ -40,9 +40,13 @@ public:
|
|||||||
|
|
||||||
qint64 getId() const;
|
qint64 getId() const;
|
||||||
void setId(const qint64 &id);
|
void setId(const qint64 &id);
|
||||||
|
bool is_id_Set() const;
|
||||||
|
bool is_id_Valid() const;
|
||||||
|
|
||||||
QString getName() const;
|
QString getName() const;
|
||||||
void setName(const QString &name);
|
void setName(const QString &name);
|
||||||
|
bool is_name_Set() const;
|
||||||
|
bool is_name_Valid() const;
|
||||||
|
|
||||||
virtual bool isSet() const override;
|
virtual bool isSet() const override;
|
||||||
virtual bool isValid() const override;
|
virtual bool isValid() const override;
|
||||||
|
@ -136,6 +136,14 @@ void PFXUser::setId(const qint64 &id) {
|
|||||||
this->m_id_isSet = true;
|
this->m_id_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXUser::is_id_Set() const{
|
||||||
|
return m_id_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXUser::is_id_Valid() const{
|
||||||
|
return m_id_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString PFXUser::getUsername() const {
|
QString PFXUser::getUsername() const {
|
||||||
return username;
|
return username;
|
||||||
}
|
}
|
||||||
@ -144,6 +152,14 @@ void PFXUser::setUsername(const QString &username) {
|
|||||||
this->m_username_isSet = true;
|
this->m_username_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXUser::is_username_Set() const{
|
||||||
|
return m_username_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXUser::is_username_Valid() const{
|
||||||
|
return m_username_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString PFXUser::getFirstName() const {
|
QString PFXUser::getFirstName() const {
|
||||||
return first_name;
|
return first_name;
|
||||||
}
|
}
|
||||||
@ -152,6 +168,14 @@ void PFXUser::setFirstName(const QString &first_name) {
|
|||||||
this->m_first_name_isSet = true;
|
this->m_first_name_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXUser::is_first_name_Set() const{
|
||||||
|
return m_first_name_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXUser::is_first_name_Valid() const{
|
||||||
|
return m_first_name_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString PFXUser::getLastName() const {
|
QString PFXUser::getLastName() const {
|
||||||
return last_name;
|
return last_name;
|
||||||
}
|
}
|
||||||
@ -160,6 +184,14 @@ void PFXUser::setLastName(const QString &last_name) {
|
|||||||
this->m_last_name_isSet = true;
|
this->m_last_name_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXUser::is_last_name_Set() const{
|
||||||
|
return m_last_name_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXUser::is_last_name_Valid() const{
|
||||||
|
return m_last_name_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString PFXUser::getEmail() const {
|
QString PFXUser::getEmail() const {
|
||||||
return email;
|
return email;
|
||||||
}
|
}
|
||||||
@ -168,6 +200,14 @@ void PFXUser::setEmail(const QString &email) {
|
|||||||
this->m_email_isSet = true;
|
this->m_email_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXUser::is_email_Set() const{
|
||||||
|
return m_email_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXUser::is_email_Valid() const{
|
||||||
|
return m_email_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString PFXUser::getPassword() const {
|
QString PFXUser::getPassword() const {
|
||||||
return password;
|
return password;
|
||||||
}
|
}
|
||||||
@ -176,6 +216,14 @@ void PFXUser::setPassword(const QString &password) {
|
|||||||
this->m_password_isSet = true;
|
this->m_password_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXUser::is_password_Set() const{
|
||||||
|
return m_password_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXUser::is_password_Valid() const{
|
||||||
|
return m_password_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString PFXUser::getPhone() const {
|
QString PFXUser::getPhone() const {
|
||||||
return phone;
|
return phone;
|
||||||
}
|
}
|
||||||
@ -184,6 +232,14 @@ void PFXUser::setPhone(const QString &phone) {
|
|||||||
this->m_phone_isSet = true;
|
this->m_phone_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXUser::is_phone_Set() const{
|
||||||
|
return m_phone_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXUser::is_phone_Valid() const{
|
||||||
|
return m_phone_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
qint32 PFXUser::getUserStatus() const {
|
qint32 PFXUser::getUserStatus() const {
|
||||||
return user_status;
|
return user_status;
|
||||||
}
|
}
|
||||||
@ -192,6 +248,14 @@ void PFXUser::setUserStatus(const qint32 &user_status) {
|
|||||||
this->m_user_status_isSet = true;
|
this->m_user_status_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PFXUser::is_user_status_Set() const{
|
||||||
|
return m_user_status_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool PFXUser::is_user_status_Valid() const{
|
||||||
|
return m_user_status_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
bool PFXUser::isSet() const {
|
bool PFXUser::isSet() const {
|
||||||
bool isObjectUpdated = false;
|
bool isObjectUpdated = false;
|
||||||
do {
|
do {
|
||||||
|
@ -40,27 +40,43 @@ public:
|
|||||||
|
|
||||||
qint64 getId() const;
|
qint64 getId() const;
|
||||||
void setId(const qint64 &id);
|
void setId(const qint64 &id);
|
||||||
|
bool is_id_Set() const;
|
||||||
|
bool is_id_Valid() const;
|
||||||
|
|
||||||
QString getUsername() const;
|
QString getUsername() const;
|
||||||
void setUsername(const QString &username);
|
void setUsername(const QString &username);
|
||||||
|
bool is_username_Set() const;
|
||||||
|
bool is_username_Valid() const;
|
||||||
|
|
||||||
QString getFirstName() const;
|
QString getFirstName() const;
|
||||||
void setFirstName(const QString &first_name);
|
void setFirstName(const QString &first_name);
|
||||||
|
bool is_first_name_Set() const;
|
||||||
|
bool is_first_name_Valid() const;
|
||||||
|
|
||||||
QString getLastName() const;
|
QString getLastName() const;
|
||||||
void setLastName(const QString &last_name);
|
void setLastName(const QString &last_name);
|
||||||
|
bool is_last_name_Set() const;
|
||||||
|
bool is_last_name_Valid() const;
|
||||||
|
|
||||||
QString getEmail() const;
|
QString getEmail() const;
|
||||||
void setEmail(const QString &email);
|
void setEmail(const QString &email);
|
||||||
|
bool is_email_Set() const;
|
||||||
|
bool is_email_Valid() const;
|
||||||
|
|
||||||
QString getPassword() const;
|
QString getPassword() const;
|
||||||
void setPassword(const QString &password);
|
void setPassword(const QString &password);
|
||||||
|
bool is_password_Set() const;
|
||||||
|
bool is_password_Valid() const;
|
||||||
|
|
||||||
QString getPhone() const;
|
QString getPhone() const;
|
||||||
void setPhone(const QString &phone);
|
void setPhone(const QString &phone);
|
||||||
|
bool is_phone_Set() const;
|
||||||
|
bool is_phone_Valid() const;
|
||||||
|
|
||||||
qint32 getUserStatus() const;
|
qint32 getUserStatus() const;
|
||||||
void setUserStatus(const qint32 &user_status);
|
void setUserStatus(const qint32 &user_status);
|
||||||
|
bool is_user_status_Set() const;
|
||||||
|
bool is_user_status_Valid() const;
|
||||||
|
|
||||||
virtual bool isSet() const override;
|
virtual bool isSet() const override;
|
||||||
virtual bool isValid() const override;
|
virtual bool isValid() const override;
|
||||||
|
@ -91,6 +91,14 @@ void OAIApiResponse::setCode(const qint32 &code) {
|
|||||||
this->m_code_isSet = true;
|
this->m_code_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAIApiResponse::is_code_Set() const{
|
||||||
|
return m_code_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAIApiResponse::is_code_Valid() const{
|
||||||
|
return m_code_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString OAIApiResponse::getType() const {
|
QString OAIApiResponse::getType() const {
|
||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
@ -99,6 +107,14 @@ void OAIApiResponse::setType(const QString &type) {
|
|||||||
this->m_type_isSet = true;
|
this->m_type_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAIApiResponse::is_type_Set() const{
|
||||||
|
return m_type_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAIApiResponse::is_type_Valid() const{
|
||||||
|
return m_type_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString OAIApiResponse::getMessage() const {
|
QString OAIApiResponse::getMessage() const {
|
||||||
return message;
|
return message;
|
||||||
}
|
}
|
||||||
@ -107,6 +123,14 @@ void OAIApiResponse::setMessage(const QString &message) {
|
|||||||
this->m_message_isSet = true;
|
this->m_message_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAIApiResponse::is_message_Set() const{
|
||||||
|
return m_message_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAIApiResponse::is_message_Valid() const{
|
||||||
|
return m_message_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
bool OAIApiResponse::isSet() const {
|
bool OAIApiResponse::isSet() const {
|
||||||
bool isObjectUpdated = false;
|
bool isObjectUpdated = false;
|
||||||
do {
|
do {
|
||||||
|
@ -40,12 +40,18 @@ public:
|
|||||||
|
|
||||||
qint32 getCode() const;
|
qint32 getCode() const;
|
||||||
void setCode(const qint32 &code);
|
void setCode(const qint32 &code);
|
||||||
|
bool is_code_Set() const;
|
||||||
|
bool is_code_Valid() const;
|
||||||
|
|
||||||
QString getType() const;
|
QString getType() const;
|
||||||
void setType(const QString &type);
|
void setType(const QString &type);
|
||||||
|
bool is_type_Set() const;
|
||||||
|
bool is_type_Valid() const;
|
||||||
|
|
||||||
QString getMessage() const;
|
QString getMessage() const;
|
||||||
void setMessage(const QString &message);
|
void setMessage(const QString &message);
|
||||||
|
bool is_message_Set() const;
|
||||||
|
bool is_message_Valid() const;
|
||||||
|
|
||||||
virtual bool isSet() const override;
|
virtual bool isSet() const override;
|
||||||
virtual bool isValid() const override;
|
virtual bool isValid() const override;
|
||||||
|
@ -82,6 +82,14 @@ void OAICategory::setId(const qint64 &id) {
|
|||||||
this->m_id_isSet = true;
|
this->m_id_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAICategory::is_id_Set() const{
|
||||||
|
return m_id_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAICategory::is_id_Valid() const{
|
||||||
|
return m_id_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString OAICategory::getName() const {
|
QString OAICategory::getName() const {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
@ -90,6 +98,14 @@ void OAICategory::setName(const QString &name) {
|
|||||||
this->m_name_isSet = true;
|
this->m_name_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAICategory::is_name_Set() const{
|
||||||
|
return m_name_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAICategory::is_name_Valid() const{
|
||||||
|
return m_name_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
bool OAICategory::isSet() const {
|
bool OAICategory::isSet() const {
|
||||||
bool isObjectUpdated = false;
|
bool isObjectUpdated = false;
|
||||||
do {
|
do {
|
||||||
|
@ -40,9 +40,13 @@ public:
|
|||||||
|
|
||||||
qint64 getId() const;
|
qint64 getId() const;
|
||||||
void setId(const qint64 &id);
|
void setId(const qint64 &id);
|
||||||
|
bool is_id_Set() const;
|
||||||
|
bool is_id_Valid() const;
|
||||||
|
|
||||||
QString getName() const;
|
QString getName() const;
|
||||||
void setName(const QString &name);
|
void setName(const QString &name);
|
||||||
|
bool is_name_Set() const;
|
||||||
|
bool is_name_Valid() const;
|
||||||
|
|
||||||
virtual bool isSet() const override;
|
virtual bool isSet() const override;
|
||||||
virtual bool isValid() const override;
|
virtual bool isValid() const override;
|
||||||
|
@ -118,6 +118,14 @@ void OAIOrder::setId(const qint64 &id) {
|
|||||||
this->m_id_isSet = true;
|
this->m_id_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAIOrder::is_id_Set() const{
|
||||||
|
return m_id_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAIOrder::is_id_Valid() const{
|
||||||
|
return m_id_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
qint64 OAIOrder::getPetId() const {
|
qint64 OAIOrder::getPetId() const {
|
||||||
return pet_id;
|
return pet_id;
|
||||||
}
|
}
|
||||||
@ -126,6 +134,14 @@ void OAIOrder::setPetId(const qint64 &pet_id) {
|
|||||||
this->m_pet_id_isSet = true;
|
this->m_pet_id_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAIOrder::is_pet_id_Set() const{
|
||||||
|
return m_pet_id_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAIOrder::is_pet_id_Valid() const{
|
||||||
|
return m_pet_id_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
qint32 OAIOrder::getQuantity() const {
|
qint32 OAIOrder::getQuantity() const {
|
||||||
return quantity;
|
return quantity;
|
||||||
}
|
}
|
||||||
@ -134,6 +150,14 @@ void OAIOrder::setQuantity(const qint32 &quantity) {
|
|||||||
this->m_quantity_isSet = true;
|
this->m_quantity_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAIOrder::is_quantity_Set() const{
|
||||||
|
return m_quantity_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAIOrder::is_quantity_Valid() const{
|
||||||
|
return m_quantity_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QDateTime OAIOrder::getShipDate() const {
|
QDateTime OAIOrder::getShipDate() const {
|
||||||
return ship_date;
|
return ship_date;
|
||||||
}
|
}
|
||||||
@ -142,6 +166,14 @@ void OAIOrder::setShipDate(const QDateTime &ship_date) {
|
|||||||
this->m_ship_date_isSet = true;
|
this->m_ship_date_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAIOrder::is_ship_date_Set() const{
|
||||||
|
return m_ship_date_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAIOrder::is_ship_date_Valid() const{
|
||||||
|
return m_ship_date_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString OAIOrder::getStatus() const {
|
QString OAIOrder::getStatus() const {
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
@ -150,6 +182,14 @@ void OAIOrder::setStatus(const QString &status) {
|
|||||||
this->m_status_isSet = true;
|
this->m_status_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAIOrder::is_status_Set() const{
|
||||||
|
return m_status_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAIOrder::is_status_Valid() const{
|
||||||
|
return m_status_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
bool OAIOrder::isComplete() const {
|
bool OAIOrder::isComplete() const {
|
||||||
return complete;
|
return complete;
|
||||||
}
|
}
|
||||||
@ -158,6 +198,14 @@ void OAIOrder::setComplete(const bool &complete) {
|
|||||||
this->m_complete_isSet = true;
|
this->m_complete_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAIOrder::is_complete_Set() const{
|
||||||
|
return m_complete_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAIOrder::is_complete_Valid() const{
|
||||||
|
return m_complete_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
bool OAIOrder::isSet() const {
|
bool OAIOrder::isSet() const {
|
||||||
bool isObjectUpdated = false;
|
bool isObjectUpdated = false;
|
||||||
do {
|
do {
|
||||||
|
@ -41,21 +41,33 @@ public:
|
|||||||
|
|
||||||
qint64 getId() const;
|
qint64 getId() const;
|
||||||
void setId(const qint64 &id);
|
void setId(const qint64 &id);
|
||||||
|
bool is_id_Set() const;
|
||||||
|
bool is_id_Valid() const;
|
||||||
|
|
||||||
qint64 getPetId() const;
|
qint64 getPetId() const;
|
||||||
void setPetId(const qint64 &pet_id);
|
void setPetId(const qint64 &pet_id);
|
||||||
|
bool is_pet_id_Set() const;
|
||||||
|
bool is_pet_id_Valid() const;
|
||||||
|
|
||||||
qint32 getQuantity() const;
|
qint32 getQuantity() const;
|
||||||
void setQuantity(const qint32 &quantity);
|
void setQuantity(const qint32 &quantity);
|
||||||
|
bool is_quantity_Set() const;
|
||||||
|
bool is_quantity_Valid() const;
|
||||||
|
|
||||||
QDateTime getShipDate() const;
|
QDateTime getShipDate() const;
|
||||||
void setShipDate(const QDateTime &ship_date);
|
void setShipDate(const QDateTime &ship_date);
|
||||||
|
bool is_ship_date_Set() const;
|
||||||
|
bool is_ship_date_Valid() const;
|
||||||
|
|
||||||
QString getStatus() const;
|
QString getStatus() const;
|
||||||
void setStatus(const QString &status);
|
void setStatus(const QString &status);
|
||||||
|
bool is_status_Set() const;
|
||||||
|
bool is_status_Valid() const;
|
||||||
|
|
||||||
bool isComplete() const;
|
bool isComplete() const;
|
||||||
void setComplete(const bool &complete);
|
void setComplete(const bool &complete);
|
||||||
|
bool is_complete_Set() const;
|
||||||
|
bool is_complete_Valid() const;
|
||||||
|
|
||||||
virtual bool isSet() const override;
|
virtual bool isSet() const override;
|
||||||
virtual bool isValid() const override;
|
virtual bool isValid() const override;
|
||||||
|
@ -118,6 +118,14 @@ void OAIPet::setId(const qint64 &id) {
|
|||||||
this->m_id_isSet = true;
|
this->m_id_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAIPet::is_id_Set() const{
|
||||||
|
return m_id_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAIPet::is_id_Valid() const{
|
||||||
|
return m_id_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
OAICategory OAIPet::getCategory() const {
|
OAICategory OAIPet::getCategory() const {
|
||||||
return category;
|
return category;
|
||||||
}
|
}
|
||||||
@ -126,6 +134,14 @@ void OAIPet::setCategory(const OAICategory &category) {
|
|||||||
this->m_category_isSet = true;
|
this->m_category_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAIPet::is_category_Set() const{
|
||||||
|
return m_category_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAIPet::is_category_Valid() const{
|
||||||
|
return m_category_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString OAIPet::getName() const {
|
QString OAIPet::getName() const {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
@ -134,6 +150,14 @@ void OAIPet::setName(const QString &name) {
|
|||||||
this->m_name_isSet = true;
|
this->m_name_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAIPet::is_name_Set() const{
|
||||||
|
return m_name_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAIPet::is_name_Valid() const{
|
||||||
|
return m_name_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QList<QString> OAIPet::getPhotoUrls() const {
|
QList<QString> OAIPet::getPhotoUrls() const {
|
||||||
return photo_urls;
|
return photo_urls;
|
||||||
}
|
}
|
||||||
@ -142,6 +166,14 @@ void OAIPet::setPhotoUrls(const QList<QString> &photo_urls) {
|
|||||||
this->m_photo_urls_isSet = true;
|
this->m_photo_urls_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAIPet::is_photo_urls_Set() const{
|
||||||
|
return m_photo_urls_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAIPet::is_photo_urls_Valid() const{
|
||||||
|
return m_photo_urls_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QList<OAITag> OAIPet::getTags() const {
|
QList<OAITag> OAIPet::getTags() const {
|
||||||
return tags;
|
return tags;
|
||||||
}
|
}
|
||||||
@ -150,6 +182,14 @@ void OAIPet::setTags(const QList<OAITag> &tags) {
|
|||||||
this->m_tags_isSet = true;
|
this->m_tags_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAIPet::is_tags_Set() const{
|
||||||
|
return m_tags_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAIPet::is_tags_Valid() const{
|
||||||
|
return m_tags_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString OAIPet::getStatus() const {
|
QString OAIPet::getStatus() const {
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
@ -158,6 +198,14 @@ void OAIPet::setStatus(const QString &status) {
|
|||||||
this->m_status_isSet = true;
|
this->m_status_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAIPet::is_status_Set() const{
|
||||||
|
return m_status_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAIPet::is_status_Valid() const{
|
||||||
|
return m_status_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
bool OAIPet::isSet() const {
|
bool OAIPet::isSet() const {
|
||||||
bool isObjectUpdated = false;
|
bool isObjectUpdated = false;
|
||||||
do {
|
do {
|
||||||
|
@ -43,21 +43,33 @@ public:
|
|||||||
|
|
||||||
qint64 getId() const;
|
qint64 getId() const;
|
||||||
void setId(const qint64 &id);
|
void setId(const qint64 &id);
|
||||||
|
bool is_id_Set() const;
|
||||||
|
bool is_id_Valid() const;
|
||||||
|
|
||||||
OAICategory getCategory() const;
|
OAICategory getCategory() const;
|
||||||
void setCategory(const OAICategory &category);
|
void setCategory(const OAICategory &category);
|
||||||
|
bool is_category_Set() const;
|
||||||
|
bool is_category_Valid() const;
|
||||||
|
|
||||||
QString getName() const;
|
QString getName() const;
|
||||||
void setName(const QString &name);
|
void setName(const QString &name);
|
||||||
|
bool is_name_Set() const;
|
||||||
|
bool is_name_Valid() const;
|
||||||
|
|
||||||
QList<QString> getPhotoUrls() const;
|
QList<QString> getPhotoUrls() const;
|
||||||
void setPhotoUrls(const QList<QString> &photo_urls);
|
void setPhotoUrls(const QList<QString> &photo_urls);
|
||||||
|
bool is_photo_urls_Set() const;
|
||||||
|
bool is_photo_urls_Valid() const;
|
||||||
|
|
||||||
QList<OAITag> getTags() const;
|
QList<OAITag> getTags() const;
|
||||||
void setTags(const QList<OAITag> &tags);
|
void setTags(const QList<OAITag> &tags);
|
||||||
|
bool is_tags_Set() const;
|
||||||
|
bool is_tags_Valid() const;
|
||||||
|
|
||||||
QString getStatus() const;
|
QString getStatus() const;
|
||||||
void setStatus(const QString &status);
|
void setStatus(const QString &status);
|
||||||
|
bool is_status_Set() const;
|
||||||
|
bool is_status_Valid() const;
|
||||||
|
|
||||||
virtual bool isSet() const override;
|
virtual bool isSet() const override;
|
||||||
virtual bool isValid() const override;
|
virtual bool isValid() const override;
|
||||||
|
@ -82,6 +82,14 @@ void OAITag::setId(const qint64 &id) {
|
|||||||
this->m_id_isSet = true;
|
this->m_id_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAITag::is_id_Set() const{
|
||||||
|
return m_id_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAITag::is_id_Valid() const{
|
||||||
|
return m_id_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString OAITag::getName() const {
|
QString OAITag::getName() const {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
@ -90,6 +98,14 @@ void OAITag::setName(const QString &name) {
|
|||||||
this->m_name_isSet = true;
|
this->m_name_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAITag::is_name_Set() const{
|
||||||
|
return m_name_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAITag::is_name_Valid() const{
|
||||||
|
return m_name_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
bool OAITag::isSet() const {
|
bool OAITag::isSet() const {
|
||||||
bool isObjectUpdated = false;
|
bool isObjectUpdated = false;
|
||||||
do {
|
do {
|
||||||
|
@ -40,9 +40,13 @@ public:
|
|||||||
|
|
||||||
qint64 getId() const;
|
qint64 getId() const;
|
||||||
void setId(const qint64 &id);
|
void setId(const qint64 &id);
|
||||||
|
bool is_id_Set() const;
|
||||||
|
bool is_id_Valid() const;
|
||||||
|
|
||||||
QString getName() const;
|
QString getName() const;
|
||||||
void setName(const QString &name);
|
void setName(const QString &name);
|
||||||
|
bool is_name_Set() const;
|
||||||
|
bool is_name_Valid() const;
|
||||||
|
|
||||||
virtual bool isSet() const override;
|
virtual bool isSet() const override;
|
||||||
virtual bool isValid() const override;
|
virtual bool isValid() const override;
|
||||||
|
@ -136,6 +136,14 @@ void OAIUser::setId(const qint64 &id) {
|
|||||||
this->m_id_isSet = true;
|
this->m_id_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAIUser::is_id_Set() const{
|
||||||
|
return m_id_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAIUser::is_id_Valid() const{
|
||||||
|
return m_id_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString OAIUser::getUsername() const {
|
QString OAIUser::getUsername() const {
|
||||||
return username;
|
return username;
|
||||||
}
|
}
|
||||||
@ -144,6 +152,14 @@ void OAIUser::setUsername(const QString &username) {
|
|||||||
this->m_username_isSet = true;
|
this->m_username_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAIUser::is_username_Set() const{
|
||||||
|
return m_username_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAIUser::is_username_Valid() const{
|
||||||
|
return m_username_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString OAIUser::getFirstName() const {
|
QString OAIUser::getFirstName() const {
|
||||||
return first_name;
|
return first_name;
|
||||||
}
|
}
|
||||||
@ -152,6 +168,14 @@ void OAIUser::setFirstName(const QString &first_name) {
|
|||||||
this->m_first_name_isSet = true;
|
this->m_first_name_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAIUser::is_first_name_Set() const{
|
||||||
|
return m_first_name_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAIUser::is_first_name_Valid() const{
|
||||||
|
return m_first_name_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString OAIUser::getLastName() const {
|
QString OAIUser::getLastName() const {
|
||||||
return last_name;
|
return last_name;
|
||||||
}
|
}
|
||||||
@ -160,6 +184,14 @@ void OAIUser::setLastName(const QString &last_name) {
|
|||||||
this->m_last_name_isSet = true;
|
this->m_last_name_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAIUser::is_last_name_Set() const{
|
||||||
|
return m_last_name_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAIUser::is_last_name_Valid() const{
|
||||||
|
return m_last_name_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString OAIUser::getEmail() const {
|
QString OAIUser::getEmail() const {
|
||||||
return email;
|
return email;
|
||||||
}
|
}
|
||||||
@ -168,6 +200,14 @@ void OAIUser::setEmail(const QString &email) {
|
|||||||
this->m_email_isSet = true;
|
this->m_email_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAIUser::is_email_Set() const{
|
||||||
|
return m_email_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAIUser::is_email_Valid() const{
|
||||||
|
return m_email_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString OAIUser::getPassword() const {
|
QString OAIUser::getPassword() const {
|
||||||
return password;
|
return password;
|
||||||
}
|
}
|
||||||
@ -176,6 +216,14 @@ void OAIUser::setPassword(const QString &password) {
|
|||||||
this->m_password_isSet = true;
|
this->m_password_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAIUser::is_password_Set() const{
|
||||||
|
return m_password_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAIUser::is_password_Valid() const{
|
||||||
|
return m_password_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
QString OAIUser::getPhone() const {
|
QString OAIUser::getPhone() const {
|
||||||
return phone;
|
return phone;
|
||||||
}
|
}
|
||||||
@ -184,6 +232,14 @@ void OAIUser::setPhone(const QString &phone) {
|
|||||||
this->m_phone_isSet = true;
|
this->m_phone_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAIUser::is_phone_Set() const{
|
||||||
|
return m_phone_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAIUser::is_phone_Valid() const{
|
||||||
|
return m_phone_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
qint32 OAIUser::getUserStatus() const {
|
qint32 OAIUser::getUserStatus() const {
|
||||||
return user_status;
|
return user_status;
|
||||||
}
|
}
|
||||||
@ -192,6 +248,14 @@ void OAIUser::setUserStatus(const qint32 &user_status) {
|
|||||||
this->m_user_status_isSet = true;
|
this->m_user_status_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OAIUser::is_user_status_Set() const{
|
||||||
|
return m_user_status_isSet;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool OAIUser::is_user_status_Valid() const{
|
||||||
|
return m_user_status_isValid;
|
||||||
|
}
|
||||||
|
|
||||||
bool OAIUser::isSet() const {
|
bool OAIUser::isSet() const {
|
||||||
bool isObjectUpdated = false;
|
bool isObjectUpdated = false;
|
||||||
do {
|
do {
|
||||||
|
@ -40,27 +40,43 @@ public:
|
|||||||
|
|
||||||
qint64 getId() const;
|
qint64 getId() const;
|
||||||
void setId(const qint64 &id);
|
void setId(const qint64 &id);
|
||||||
|
bool is_id_Set() const;
|
||||||
|
bool is_id_Valid() const;
|
||||||
|
|
||||||
QString getUsername() const;
|
QString getUsername() const;
|
||||||
void setUsername(const QString &username);
|
void setUsername(const QString &username);
|
||||||
|
bool is_username_Set() const;
|
||||||
|
bool is_username_Valid() const;
|
||||||
|
|
||||||
QString getFirstName() const;
|
QString getFirstName() const;
|
||||||
void setFirstName(const QString &first_name);
|
void setFirstName(const QString &first_name);
|
||||||
|
bool is_first_name_Set() const;
|
||||||
|
bool is_first_name_Valid() const;
|
||||||
|
|
||||||
QString getLastName() const;
|
QString getLastName() const;
|
||||||
void setLastName(const QString &last_name);
|
void setLastName(const QString &last_name);
|
||||||
|
bool is_last_name_Set() const;
|
||||||
|
bool is_last_name_Valid() const;
|
||||||
|
|
||||||
QString getEmail() const;
|
QString getEmail() const;
|
||||||
void setEmail(const QString &email);
|
void setEmail(const QString &email);
|
||||||
|
bool is_email_Set() const;
|
||||||
|
bool is_email_Valid() const;
|
||||||
|
|
||||||
QString getPassword() const;
|
QString getPassword() const;
|
||||||
void setPassword(const QString &password);
|
void setPassword(const QString &password);
|
||||||
|
bool is_password_Set() const;
|
||||||
|
bool is_password_Valid() const;
|
||||||
|
|
||||||
QString getPhone() const;
|
QString getPhone() const;
|
||||||
void setPhone(const QString &phone);
|
void setPhone(const QString &phone);
|
||||||
|
bool is_phone_Set() const;
|
||||||
|
bool is_phone_Valid() const;
|
||||||
|
|
||||||
qint32 getUserStatus() const;
|
qint32 getUserStatus() const;
|
||||||
void setUserStatus(const qint32 &user_status);
|
void setUserStatus(const qint32 &user_status);
|
||||||
|
bool is_user_status_Set() const;
|
||||||
|
bool is_user_status_Valid() const;
|
||||||
|
|
||||||
virtual bool isSet() const override;
|
virtual bool isSet() const override;
|
||||||
virtual bool isValid() const override;
|
virtual bool isValid() const override;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user