Regenerate swagger

This commit is contained in:
Jon Beniston 2023-09-01 20:10:40 +01:00
parent 34e1d25779
commit e79c32de14
3 changed files with 1 additions and 34 deletions

View File

@ -11828,10 +11828,6 @@ margin-bottom: 20px;
"lpfTaps" : { "lpfTaps" : {
"type" : "integer" "type" : "integer"
}, },
"bbNoise" : {
"type" : "integer",
"description" : "Boolean\n * 0 - off\n * 1 - on\n"
},
"rfNoise" : { "rfNoise" : {
"type" : "integer", "type" : "integer",
"description" : "Boolean\n * 0 - off\n * 1 - on\n" "description" : "Boolean\n * 0 - off\n * 1 - on\n"
@ -57998,7 +57994,7 @@ except ApiException as e:
</div> </div>
<div id="generator"> <div id="generator">
<div class="content"> <div class="content">
Generated 2023-09-01T20:07:45.995+02:00 Generated 2023-09-01T21:10:19.928+02:00
</div> </div>
</div> </div>
</div> </div>

View File

@ -46,8 +46,6 @@ SWGRTTYModSettings::SWGRTTYModSettings() {
m_repeat_count_isSet = false; m_repeat_count_isSet = false;
lpf_taps = 0; lpf_taps = 0;
m_lpf_taps_isSet = false; m_lpf_taps_isSet = false;
bb_noise = 0;
m_bb_noise_isSet = false;
rf_noise = 0; rf_noise = 0;
m_rf_noise_isSet = false; m_rf_noise_isSet = false;
text = nullptr; text = nullptr;
@ -122,8 +120,6 @@ SWGRTTYModSettings::init() {
m_repeat_count_isSet = false; m_repeat_count_isSet = false;
lpf_taps = 0; lpf_taps = 0;
m_lpf_taps_isSet = false; m_lpf_taps_isSet = false;
bb_noise = 0;
m_bb_noise_isSet = false;
rf_noise = 0; rf_noise = 0;
m_rf_noise_isSet = false; m_rf_noise_isSet = false;
text = new QString(""); text = new QString("");
@ -186,7 +182,6 @@ SWGRTTYModSettings::cleanup() {
if(text != nullptr) { if(text != nullptr) {
delete text; delete text;
} }
@ -253,8 +248,6 @@ SWGRTTYModSettings::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&lpf_taps, pJson["lpfTaps"], "qint32", ""); ::SWGSDRangel::setValue(&lpf_taps, pJson["lpfTaps"], "qint32", "");
::SWGSDRangel::setValue(&bb_noise, pJson["bbNoise"], "qint32", "");
::SWGSDRangel::setValue(&rf_noise, pJson["rfNoise"], "qint32", ""); ::SWGSDRangel::setValue(&rf_noise, pJson["rfNoise"], "qint32", "");
::SWGSDRangel::setValue(&text, pJson["text"], "QString", "QString"); ::SWGSDRangel::setValue(&text, pJson["text"], "QString", "QString");
@ -346,9 +339,6 @@ SWGRTTYModSettings::asJsonObject() {
if(m_lpf_taps_isSet){ if(m_lpf_taps_isSet){
obj->insert("lpfTaps", QJsonValue(lpf_taps)); obj->insert("lpfTaps", QJsonValue(lpf_taps));
} }
if(m_bb_noise_isSet){
obj->insert("bbNoise", QJsonValue(bb_noise));
}
if(m_rf_noise_isSet){ if(m_rf_noise_isSet){
obj->insert("rfNoise", QJsonValue(rf_noise)); obj->insert("rfNoise", QJsonValue(rf_noise));
} }
@ -515,16 +505,6 @@ SWGRTTYModSettings::setLpfTaps(qint32 lpf_taps) {
this->m_lpf_taps_isSet = true; this->m_lpf_taps_isSet = true;
} }
qint32
SWGRTTYModSettings::getBbNoise() {
return bb_noise;
}
void
SWGRTTYModSettings::setBbNoise(qint32 bb_noise) {
this->bb_noise = bb_noise;
this->m_bb_noise_isSet = true;
}
qint32 qint32
SWGRTTYModSettings::getRfNoise() { SWGRTTYModSettings::getRfNoise() {
return rf_noise; return rf_noise;
@ -797,9 +777,6 @@ SWGRTTYModSettings::isSet(){
if(m_lpf_taps_isSet){ if(m_lpf_taps_isSet){
isObjectUpdated = true; break; isObjectUpdated = true; break;
} }
if(m_bb_noise_isSet){
isObjectUpdated = true; break;
}
if(m_rf_noise_isSet){ if(m_rf_noise_isSet){
isObjectUpdated = true; break; isObjectUpdated = true; break;
} }

View File

@ -71,9 +71,6 @@ public:
qint32 getLpfTaps(); qint32 getLpfTaps();
void setLpfTaps(qint32 lpf_taps); void setLpfTaps(qint32 lpf_taps);
qint32 getBbNoise();
void setBbNoise(qint32 bb_noise);
qint32 getRfNoise(); qint32 getRfNoise();
void setRfNoise(qint32 rf_noise); void setRfNoise(qint32 rf_noise);
@ -177,9 +174,6 @@ private:
qint32 lpf_taps; qint32 lpf_taps;
bool m_lpf_taps_isSet; bool m_lpf_taps_isSet;
qint32 bb_noise;
bool m_bb_noise_isSet;
qint32 rf_noise; qint32 rf_noise;
bool m_rf_noise_isSet; bool m_rf_noise_isSet;