forked from loafle/openapi-generator-original
Export valid and set status of properties (#6020)
This commit is contained in:
@@ -91,6 +91,14 @@ void OAIApiResponse::setCode(const qint32 &code) {
|
||||
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 {
|
||||
return type;
|
||||
}
|
||||
@@ -99,6 +107,14 @@ void OAIApiResponse::setType(const QString &type) {
|
||||
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 {
|
||||
return message;
|
||||
}
|
||||
@@ -107,6 +123,14 @@ void OAIApiResponse::setMessage(const QString &message) {
|
||||
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 isObjectUpdated = false;
|
||||
do {
|
||||
|
||||
@@ -40,12 +40,18 @@ public:
|
||||
|
||||
qint32 getCode() const;
|
||||
void setCode(const qint32 &code);
|
||||
bool is_code_Set() const;
|
||||
bool is_code_Valid() const;
|
||||
|
||||
QString getType() const;
|
||||
void setType(const QString &type);
|
||||
bool is_type_Set() const;
|
||||
bool is_type_Valid() const;
|
||||
|
||||
QString getMessage() const;
|
||||
void setMessage(const QString &message);
|
||||
bool is_message_Set() const;
|
||||
bool is_message_Valid() const;
|
||||
|
||||
virtual bool isSet() const override;
|
||||
virtual bool isValid() const override;
|
||||
|
||||
@@ -82,6 +82,14 @@ void OAICategory::setId(const qint64 &id) {
|
||||
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 {
|
||||
return name;
|
||||
}
|
||||
@@ -90,6 +98,14 @@ void OAICategory::setName(const QString &name) {
|
||||
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 isObjectUpdated = false;
|
||||
do {
|
||||
|
||||
@@ -40,9 +40,13 @@ public:
|
||||
|
||||
qint64 getId() const;
|
||||
void setId(const qint64 &id);
|
||||
bool is_id_Set() const;
|
||||
bool is_id_Valid() const;
|
||||
|
||||
QString getName() const;
|
||||
void setName(const QString &name);
|
||||
bool is_name_Set() const;
|
||||
bool is_name_Valid() const;
|
||||
|
||||
virtual bool isSet() const override;
|
||||
virtual bool isValid() const override;
|
||||
|
||||
@@ -118,6 +118,14 @@ void OAIOrder::setId(const qint64 &id) {
|
||||
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 {
|
||||
return pet_id;
|
||||
}
|
||||
@@ -126,6 +134,14 @@ void OAIOrder::setPetId(const qint64 &pet_id) {
|
||||
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 {
|
||||
return quantity;
|
||||
}
|
||||
@@ -134,6 +150,14 @@ void OAIOrder::setQuantity(const qint32 &quantity) {
|
||||
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 {
|
||||
return ship_date;
|
||||
}
|
||||
@@ -142,6 +166,14 @@ void OAIOrder::setShipDate(const QDateTime &ship_date) {
|
||||
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 {
|
||||
return status;
|
||||
}
|
||||
@@ -150,6 +182,14 @@ void OAIOrder::setStatus(const QString &status) {
|
||||
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 {
|
||||
return complete;
|
||||
}
|
||||
@@ -158,6 +198,14 @@ void OAIOrder::setComplete(const bool &complete) {
|
||||
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 isObjectUpdated = false;
|
||||
do {
|
||||
|
||||
@@ -41,21 +41,33 @@ public:
|
||||
|
||||
qint64 getId() const;
|
||||
void setId(const qint64 &id);
|
||||
bool is_id_Set() const;
|
||||
bool is_id_Valid() const;
|
||||
|
||||
qint64 getPetId() const;
|
||||
void setPetId(const qint64 &pet_id);
|
||||
bool is_pet_id_Set() const;
|
||||
bool is_pet_id_Valid() const;
|
||||
|
||||
qint32 getQuantity() const;
|
||||
void setQuantity(const qint32 &quantity);
|
||||
bool is_quantity_Set() const;
|
||||
bool is_quantity_Valid() const;
|
||||
|
||||
QDateTime getShipDate() const;
|
||||
void setShipDate(const QDateTime &ship_date);
|
||||
bool is_ship_date_Set() const;
|
||||
bool is_ship_date_Valid() const;
|
||||
|
||||
QString getStatus() const;
|
||||
void setStatus(const QString &status);
|
||||
bool is_status_Set() const;
|
||||
bool is_status_Valid() const;
|
||||
|
||||
bool isComplete() const;
|
||||
void setComplete(const bool &complete);
|
||||
bool is_complete_Set() const;
|
||||
bool is_complete_Valid() const;
|
||||
|
||||
virtual bool isSet() const override;
|
||||
virtual bool isValid() const override;
|
||||
|
||||
@@ -118,6 +118,14 @@ void OAIPet::setId(const qint64 &id) {
|
||||
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 {
|
||||
return category;
|
||||
}
|
||||
@@ -126,6 +134,14 @@ void OAIPet::setCategory(const OAICategory &category) {
|
||||
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 {
|
||||
return name;
|
||||
}
|
||||
@@ -134,6 +150,14 @@ void OAIPet::setName(const QString &name) {
|
||||
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 {
|
||||
return photo_urls;
|
||||
}
|
||||
@@ -142,6 +166,14 @@ void OAIPet::setPhotoUrls(const QList<QString> &photo_urls) {
|
||||
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 {
|
||||
return tags;
|
||||
}
|
||||
@@ -150,6 +182,14 @@ void OAIPet::setTags(const QList<OAITag> &tags) {
|
||||
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 {
|
||||
return status;
|
||||
}
|
||||
@@ -158,6 +198,14 @@ void OAIPet::setStatus(const QString &status) {
|
||||
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 isObjectUpdated = false;
|
||||
do {
|
||||
|
||||
@@ -43,21 +43,33 @@ public:
|
||||
|
||||
qint64 getId() const;
|
||||
void setId(const qint64 &id);
|
||||
bool is_id_Set() const;
|
||||
bool is_id_Valid() const;
|
||||
|
||||
OAICategory getCategory() const;
|
||||
void setCategory(const OAICategory &category);
|
||||
bool is_category_Set() const;
|
||||
bool is_category_Valid() const;
|
||||
|
||||
QString getName() const;
|
||||
void setName(const QString &name);
|
||||
bool is_name_Set() const;
|
||||
bool is_name_Valid() const;
|
||||
|
||||
QList<QString> getPhotoUrls() const;
|
||||
void setPhotoUrls(const QList<QString> &photo_urls);
|
||||
bool is_photo_urls_Set() const;
|
||||
bool is_photo_urls_Valid() const;
|
||||
|
||||
QList<OAITag> getTags() const;
|
||||
void setTags(const QList<OAITag> &tags);
|
||||
bool is_tags_Set() const;
|
||||
bool is_tags_Valid() const;
|
||||
|
||||
QString getStatus() const;
|
||||
void setStatus(const QString &status);
|
||||
bool is_status_Set() const;
|
||||
bool is_status_Valid() const;
|
||||
|
||||
virtual bool isSet() const override;
|
||||
virtual bool isValid() const override;
|
||||
|
||||
@@ -82,6 +82,14 @@ void OAITag::setId(const qint64 &id) {
|
||||
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 {
|
||||
return name;
|
||||
}
|
||||
@@ -90,6 +98,14 @@ void OAITag::setName(const QString &name) {
|
||||
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 isObjectUpdated = false;
|
||||
do {
|
||||
|
||||
@@ -40,9 +40,13 @@ public:
|
||||
|
||||
qint64 getId() const;
|
||||
void setId(const qint64 &id);
|
||||
bool is_id_Set() const;
|
||||
bool is_id_Valid() const;
|
||||
|
||||
QString getName() const;
|
||||
void setName(const QString &name);
|
||||
bool is_name_Set() const;
|
||||
bool is_name_Valid() const;
|
||||
|
||||
virtual bool isSet() const override;
|
||||
virtual bool isValid() const override;
|
||||
|
||||
@@ -136,6 +136,14 @@ void OAIUser::setId(const qint64 &id) {
|
||||
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 {
|
||||
return username;
|
||||
}
|
||||
@@ -144,6 +152,14 @@ void OAIUser::setUsername(const QString &username) {
|
||||
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 {
|
||||
return first_name;
|
||||
}
|
||||
@@ -152,6 +168,14 @@ void OAIUser::setFirstName(const QString &first_name) {
|
||||
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 {
|
||||
return last_name;
|
||||
}
|
||||
@@ -160,6 +184,14 @@ void OAIUser::setLastName(const QString &last_name) {
|
||||
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 {
|
||||
return email;
|
||||
}
|
||||
@@ -168,6 +200,14 @@ void OAIUser::setEmail(const QString &email) {
|
||||
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 {
|
||||
return password;
|
||||
}
|
||||
@@ -176,6 +216,14 @@ void OAIUser::setPassword(const QString &password) {
|
||||
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 {
|
||||
return phone;
|
||||
}
|
||||
@@ -184,6 +232,14 @@ void OAIUser::setPhone(const QString &phone) {
|
||||
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 {
|
||||
return user_status;
|
||||
}
|
||||
@@ -192,6 +248,14 @@ void OAIUser::setUserStatus(const qint32 &user_status) {
|
||||
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 isObjectUpdated = false;
|
||||
do {
|
||||
|
||||
@@ -40,27 +40,43 @@ public:
|
||||
|
||||
qint64 getId() const;
|
||||
void setId(const qint64 &id);
|
||||
bool is_id_Set() const;
|
||||
bool is_id_Valid() const;
|
||||
|
||||
QString getUsername() const;
|
||||
void setUsername(const QString &username);
|
||||
bool is_username_Set() const;
|
||||
bool is_username_Valid() const;
|
||||
|
||||
QString getFirstName() const;
|
||||
void setFirstName(const QString &first_name);
|
||||
bool is_first_name_Set() const;
|
||||
bool is_first_name_Valid() const;
|
||||
|
||||
QString getLastName() const;
|
||||
void setLastName(const QString &last_name);
|
||||
bool is_last_name_Set() const;
|
||||
bool is_last_name_Valid() const;
|
||||
|
||||
QString getEmail() const;
|
||||
void setEmail(const QString &email);
|
||||
bool is_email_Set() const;
|
||||
bool is_email_Valid() const;
|
||||
|
||||
QString getPassword() const;
|
||||
void setPassword(const QString &password);
|
||||
bool is_password_Set() const;
|
||||
bool is_password_Valid() const;
|
||||
|
||||
QString getPhone() const;
|
||||
void setPhone(const QString &phone);
|
||||
bool is_phone_Set() const;
|
||||
bool is_phone_Valid() const;
|
||||
|
||||
qint32 getUserStatus() const;
|
||||
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 isValid() const override;
|
||||
|
||||
Reference in New Issue
Block a user