mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 01:39:05 -05:00
Regenerate swagger
This commit is contained in:
parent
e1074ee257
commit
a9d1cdd9dc
@ -11777,7 +11777,7 @@ margin-bottom: 20px;
|
|||||||
};
|
};
|
||||||
defs.RTTYModActions_payload = {
|
defs.RTTYModActions_payload = {
|
||||||
"properties" : {
|
"properties" : {
|
||||||
"data" : {
|
"text" : {
|
||||||
"type" : "string"
|
"type" : "string"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -11864,10 +11864,10 @@ margin-bottom: 20px;
|
|||||||
"type" : "integer"
|
"type" : "integer"
|
||||||
},
|
},
|
||||||
"prefixCRLF" : {
|
"prefixCRLF" : {
|
||||||
"type" : "integer"
|
"type" : "string"
|
||||||
},
|
},
|
||||||
"postfixCRLF" : {
|
"postfixCRLF" : {
|
||||||
"type" : "integer"
|
"type" : "string"
|
||||||
},
|
},
|
||||||
"udpEnabled" : {
|
"udpEnabled" : {
|
||||||
"type" : "integer",
|
"type" : "integer",
|
||||||
@ -57998,7 +57998,7 @@ except ApiException as e:
|
|||||||
</div>
|
</div>
|
||||||
<div id="generator">
|
<div id="generator">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
Generated 2023-09-01T19:50:57.465+02:00
|
Generated 2023-09-01T20:05:30.444+02:00
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -28,8 +28,8 @@ SWGRTTYModActions_payload::SWGRTTYModActions_payload(QString* json) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
SWGRTTYModActions_payload::SWGRTTYModActions_payload() {
|
SWGRTTYModActions_payload::SWGRTTYModActions_payload() {
|
||||||
data = nullptr;
|
text = nullptr;
|
||||||
m_data_isSet = false;
|
m_text_isSet = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
SWGRTTYModActions_payload::~SWGRTTYModActions_payload() {
|
SWGRTTYModActions_payload::~SWGRTTYModActions_payload() {
|
||||||
@ -38,14 +38,14 @@ SWGRTTYModActions_payload::~SWGRTTYModActions_payload() {
|
|||||||
|
|
||||||
void
|
void
|
||||||
SWGRTTYModActions_payload::init() {
|
SWGRTTYModActions_payload::init() {
|
||||||
data = new QString("");
|
text = new QString("");
|
||||||
m_data_isSet = false;
|
m_text_isSet = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
SWGRTTYModActions_payload::cleanup() {
|
SWGRTTYModActions_payload::cleanup() {
|
||||||
if(data != nullptr) {
|
if(text != nullptr) {
|
||||||
delete data;
|
delete text;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -60,7 +60,7 @@ SWGRTTYModActions_payload::fromJson(QString &json) {
|
|||||||
|
|
||||||
void
|
void
|
||||||
SWGRTTYModActions_payload::fromJsonObject(QJsonObject &pJson) {
|
SWGRTTYModActions_payload::fromJsonObject(QJsonObject &pJson) {
|
||||||
::SWGSDRangel::setValue(&data, pJson["data"], "QString", "QString");
|
::SWGSDRangel::setValue(&text, pJson["text"], "QString", "QString");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -78,21 +78,21 @@ SWGRTTYModActions_payload::asJson ()
|
|||||||
QJsonObject*
|
QJsonObject*
|
||||||
SWGRTTYModActions_payload::asJsonObject() {
|
SWGRTTYModActions_payload::asJsonObject() {
|
||||||
QJsonObject* obj = new QJsonObject();
|
QJsonObject* obj = new QJsonObject();
|
||||||
if(data != nullptr && *data != QString("")){
|
if(text != nullptr && *text != QString("")){
|
||||||
toJsonValue(QString("data"), data, obj, QString("QString"));
|
toJsonValue(QString("text"), text, obj, QString("QString"));
|
||||||
}
|
}
|
||||||
|
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
QString*
|
QString*
|
||||||
SWGRTTYModActions_payload::getData() {
|
SWGRTTYModActions_payload::getText() {
|
||||||
return data;
|
return text;
|
||||||
}
|
}
|
||||||
void
|
void
|
||||||
SWGRTTYModActions_payload::setData(QString* data) {
|
SWGRTTYModActions_payload::setText(QString* text) {
|
||||||
this->data = data;
|
this->text = text;
|
||||||
this->m_data_isSet = true;
|
this->m_text_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -100,7 +100,7 @@ bool
|
|||||||
SWGRTTYModActions_payload::isSet(){
|
SWGRTTYModActions_payload::isSet(){
|
||||||
bool isObjectUpdated = false;
|
bool isObjectUpdated = false;
|
||||||
do{
|
do{
|
||||||
if(data && *data != QString("")){
|
if(text && *text != QString("")){
|
||||||
isObjectUpdated = true; break;
|
isObjectUpdated = true; break;
|
||||||
}
|
}
|
||||||
}while(false);
|
}while(false);
|
||||||
|
@ -42,15 +42,15 @@ public:
|
|||||||
virtual void fromJsonObject(QJsonObject &json) override;
|
virtual void fromJsonObject(QJsonObject &json) override;
|
||||||
virtual SWGRTTYModActions_payload* fromJson(QString &jsonString) override;
|
virtual SWGRTTYModActions_payload* fromJson(QString &jsonString) override;
|
||||||
|
|
||||||
QString* getData();
|
QString* getText();
|
||||||
void setData(QString* data);
|
void setText(QString* text);
|
||||||
|
|
||||||
|
|
||||||
virtual bool isSet() override;
|
virtual bool isSet() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QString* data;
|
QString* text;
|
||||||
bool m_data_isSet;
|
bool m_text_isSet;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -66,9 +66,9 @@ SWGRTTYModSettings::SWGRTTYModSettings() {
|
|||||||
m_msb_first_isSet = false;
|
m_msb_first_isSet = false;
|
||||||
space_high = 0;
|
space_high = 0;
|
||||||
m_space_high_isSet = false;
|
m_space_high_isSet = false;
|
||||||
prefix_crlf = 0;
|
prefix_crlf = nullptr;
|
||||||
m_prefix_crlf_isSet = false;
|
m_prefix_crlf_isSet = false;
|
||||||
postfix_crlf = 0;
|
postfix_crlf = nullptr;
|
||||||
m_postfix_crlf_isSet = false;
|
m_postfix_crlf_isSet = false;
|
||||||
udp_enabled = 0;
|
udp_enabled = 0;
|
||||||
m_udp_enabled_isSet = false;
|
m_udp_enabled_isSet = false;
|
||||||
@ -142,9 +142,9 @@ SWGRTTYModSettings::init() {
|
|||||||
m_msb_first_isSet = false;
|
m_msb_first_isSet = false;
|
||||||
space_high = 0;
|
space_high = 0;
|
||||||
m_space_high_isSet = false;
|
m_space_high_isSet = false;
|
||||||
prefix_crlf = 0;
|
prefix_crlf = new QString("");
|
||||||
m_prefix_crlf_isSet = false;
|
m_prefix_crlf_isSet = false;
|
||||||
postfix_crlf = 0;
|
postfix_crlf = new QString("");
|
||||||
m_postfix_crlf_isSet = false;
|
m_postfix_crlf_isSet = false;
|
||||||
udp_enabled = 0;
|
udp_enabled = 0;
|
||||||
m_udp_enabled_isSet = false;
|
m_udp_enabled_isSet = false;
|
||||||
@ -197,8 +197,12 @@ SWGRTTYModSettings::cleanup() {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if(prefix_crlf != nullptr) {
|
||||||
|
delete prefix_crlf;
|
||||||
|
}
|
||||||
|
if(postfix_crlf != nullptr) {
|
||||||
|
delete postfix_crlf;
|
||||||
|
}
|
||||||
|
|
||||||
if(udp_address != nullptr) {
|
if(udp_address != nullptr) {
|
||||||
delete udp_address;
|
delete udp_address;
|
||||||
@ -273,9 +277,9 @@ SWGRTTYModSettings::fromJsonObject(QJsonObject &pJson) {
|
|||||||
|
|
||||||
::SWGSDRangel::setValue(&space_high, pJson["spaceHigh"], "qint32", "");
|
::SWGSDRangel::setValue(&space_high, pJson["spaceHigh"], "qint32", "");
|
||||||
|
|
||||||
::SWGSDRangel::setValue(&prefix_crlf, pJson["prefixCRLF"], "qint32", "");
|
::SWGSDRangel::setValue(&prefix_crlf, pJson["prefixCRLF"], "QString", "QString");
|
||||||
|
|
||||||
::SWGSDRangel::setValue(&postfix_crlf, pJson["postfixCRLF"], "qint32", "");
|
::SWGSDRangel::setValue(&postfix_crlf, pJson["postfixCRLF"], "QString", "QString");
|
||||||
|
|
||||||
::SWGSDRangel::setValue(&udp_enabled, pJson["udpEnabled"], "qint32", "");
|
::SWGSDRangel::setValue(&udp_enabled, pJson["udpEnabled"], "qint32", "");
|
||||||
|
|
||||||
@ -376,11 +380,11 @@ SWGRTTYModSettings::asJsonObject() {
|
|||||||
if(m_space_high_isSet){
|
if(m_space_high_isSet){
|
||||||
obj->insert("spaceHigh", QJsonValue(space_high));
|
obj->insert("spaceHigh", QJsonValue(space_high));
|
||||||
}
|
}
|
||||||
if(m_prefix_crlf_isSet){
|
if(prefix_crlf != nullptr && *prefix_crlf != QString("")){
|
||||||
obj->insert("prefixCRLF", QJsonValue(prefix_crlf));
|
toJsonValue(QString("prefixCRLF"), prefix_crlf, obj, QString("QString"));
|
||||||
}
|
}
|
||||||
if(m_postfix_crlf_isSet){
|
if(postfix_crlf != nullptr && *postfix_crlf != QString("")){
|
||||||
obj->insert("postfixCRLF", QJsonValue(postfix_crlf));
|
toJsonValue(QString("postfixCRLF"), postfix_crlf, obj, QString("QString"));
|
||||||
}
|
}
|
||||||
if(m_udp_enabled_isSet){
|
if(m_udp_enabled_isSet){
|
||||||
obj->insert("udpEnabled", QJsonValue(udp_enabled));
|
obj->insert("udpEnabled", QJsonValue(udp_enabled));
|
||||||
@ -615,22 +619,22 @@ SWGRTTYModSettings::setSpaceHigh(qint32 space_high) {
|
|||||||
this->m_space_high_isSet = true;
|
this->m_space_high_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
qint32
|
QString*
|
||||||
SWGRTTYModSettings::getPrefixCrlf() {
|
SWGRTTYModSettings::getPrefixCrlf() {
|
||||||
return prefix_crlf;
|
return prefix_crlf;
|
||||||
}
|
}
|
||||||
void
|
void
|
||||||
SWGRTTYModSettings::setPrefixCrlf(qint32 prefix_crlf) {
|
SWGRTTYModSettings::setPrefixCrlf(QString* prefix_crlf) {
|
||||||
this->prefix_crlf = prefix_crlf;
|
this->prefix_crlf = prefix_crlf;
|
||||||
this->m_prefix_crlf_isSet = true;
|
this->m_prefix_crlf_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
qint32
|
QString*
|
||||||
SWGRTTYModSettings::getPostfixCrlf() {
|
SWGRTTYModSettings::getPostfixCrlf() {
|
||||||
return postfix_crlf;
|
return postfix_crlf;
|
||||||
}
|
}
|
||||||
void
|
void
|
||||||
SWGRTTYModSettings::setPostfixCrlf(qint32 postfix_crlf) {
|
SWGRTTYModSettings::setPostfixCrlf(QString* postfix_crlf) {
|
||||||
this->postfix_crlf = postfix_crlf;
|
this->postfix_crlf = postfix_crlf;
|
||||||
this->m_postfix_crlf_isSet = true;
|
this->m_postfix_crlf_isSet = true;
|
||||||
}
|
}
|
||||||
@ -827,10 +831,10 @@ SWGRTTYModSettings::isSet(){
|
|||||||
if(m_space_high_isSet){
|
if(m_space_high_isSet){
|
||||||
isObjectUpdated = true; break;
|
isObjectUpdated = true; break;
|
||||||
}
|
}
|
||||||
if(m_prefix_crlf_isSet){
|
if(prefix_crlf && *prefix_crlf != QString("")){
|
||||||
isObjectUpdated = true; break;
|
isObjectUpdated = true; break;
|
||||||
}
|
}
|
||||||
if(m_postfix_crlf_isSet){
|
if(postfix_crlf && *postfix_crlf != QString("")){
|
||||||
isObjectUpdated = true; break;
|
isObjectUpdated = true; break;
|
||||||
}
|
}
|
||||||
if(m_udp_enabled_isSet){
|
if(m_udp_enabled_isSet){
|
||||||
|
@ -101,11 +101,11 @@ public:
|
|||||||
qint32 getSpaceHigh();
|
qint32 getSpaceHigh();
|
||||||
void setSpaceHigh(qint32 space_high);
|
void setSpaceHigh(qint32 space_high);
|
||||||
|
|
||||||
qint32 getPrefixCrlf();
|
QString* getPrefixCrlf();
|
||||||
void setPrefixCrlf(qint32 prefix_crlf);
|
void setPrefixCrlf(QString* prefix_crlf);
|
||||||
|
|
||||||
qint32 getPostfixCrlf();
|
QString* getPostfixCrlf();
|
||||||
void setPostfixCrlf(qint32 postfix_crlf);
|
void setPostfixCrlf(QString* postfix_crlf);
|
||||||
|
|
||||||
qint32 getUdpEnabled();
|
qint32 getUdpEnabled();
|
||||||
void setUdpEnabled(qint32 udp_enabled);
|
void setUdpEnabled(qint32 udp_enabled);
|
||||||
@ -207,10 +207,10 @@ private:
|
|||||||
qint32 space_high;
|
qint32 space_high;
|
||||||
bool m_space_high_isSet;
|
bool m_space_high_isSet;
|
||||||
|
|
||||||
qint32 prefix_crlf;
|
QString* prefix_crlf;
|
||||||
bool m_prefix_crlf_isSet;
|
bool m_prefix_crlf_isSet;
|
||||||
|
|
||||||
qint32 postfix_crlf;
|
QString* postfix_crlf;
|
||||||
bool m_postfix_crlf_isSet;
|
bool m_postfix_crlf_isSet;
|
||||||
|
|
||||||
qint32 udp_enabled;
|
qint32 udp_enabled;
|
||||||
|
Loading…
Reference in New Issue
Block a user