mirror of https://github.com/f4exb/sdrangel.git
Regenerate swagger
This commit is contained in:
parent
d84facb303
commit
879ce0e17b
|
@ -8558,6 +8558,18 @@ margin-bottom: 20px;
|
||||||
"status" : {
|
"status" : {
|
||||||
"type" : "integer",
|
"type" : "integer",
|
||||||
"description" : "0 for Idle, 1 for Connecting, 2 for Connected, 3 for Error, 4 for Disconnected"
|
"description" : "0 for Idle, 1 for Connecting, 2 for Connected, 3 for Error, 4 for Disconnected"
|
||||||
|
},
|
||||||
|
"latitude" : {
|
||||||
|
"type" : "number",
|
||||||
|
"format" : "float"
|
||||||
|
},
|
||||||
|
"longitude" : {
|
||||||
|
"type" : "number",
|
||||||
|
"format" : "float"
|
||||||
|
},
|
||||||
|
"altitude" : {
|
||||||
|
"type" : "number",
|
||||||
|
"format" : "float"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"description" : "KiwiSDR"
|
"description" : "KiwiSDR"
|
||||||
|
@ -58922,7 +58934,7 @@ except ApiException as e:
|
||||||
</div>
|
</div>
|
||||||
<div id="generator">
|
<div id="generator">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
Generated 2024-03-27T17:49:13.510+01:00
|
Generated 2024-04-04T16:23:36.765+02:00
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -30,3 +30,12 @@ KiwiSDRReport:
|
||||||
status:
|
status:
|
||||||
description: 0 for Idle, 1 for Connecting, 2 for Connected, 3 for Error, 4 for Disconnected
|
description: 0 for Idle, 1 for Connecting, 2 for Connected, 3 for Error, 4 for Disconnected
|
||||||
type: integer
|
type: integer
|
||||||
|
latitude:
|
||||||
|
type: number
|
||||||
|
format: float
|
||||||
|
longitude:
|
||||||
|
type: number
|
||||||
|
format: float
|
||||||
|
altitude:
|
||||||
|
type: number
|
||||||
|
format: float
|
||||||
|
|
|
@ -8558,6 +8558,18 @@ margin-bottom: 20px;
|
||||||
"status" : {
|
"status" : {
|
||||||
"type" : "integer",
|
"type" : "integer",
|
||||||
"description" : "0 for Idle, 1 for Connecting, 2 for Connected, 3 for Error, 4 for Disconnected"
|
"description" : "0 for Idle, 1 for Connecting, 2 for Connected, 3 for Error, 4 for Disconnected"
|
||||||
|
},
|
||||||
|
"latitude" : {
|
||||||
|
"type" : "number",
|
||||||
|
"format" : "float"
|
||||||
|
},
|
||||||
|
"longitude" : {
|
||||||
|
"type" : "number",
|
||||||
|
"format" : "float"
|
||||||
|
},
|
||||||
|
"altitude" : {
|
||||||
|
"type" : "number",
|
||||||
|
"format" : "float"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"description" : "KiwiSDR"
|
"description" : "KiwiSDR"
|
||||||
|
@ -58922,7 +58934,7 @@ except ApiException as e:
|
||||||
</div>
|
</div>
|
||||||
<div id="generator">
|
<div id="generator">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
Generated 2024-03-27T17:49:13.510+01:00
|
Generated 2024-04-04T16:23:36.765+02:00
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -30,6 +30,12 @@ SWGKiwiSDRReport::SWGKiwiSDRReport(QString* json) {
|
||||||
SWGKiwiSDRReport::SWGKiwiSDRReport() {
|
SWGKiwiSDRReport::SWGKiwiSDRReport() {
|
||||||
status = 0;
|
status = 0;
|
||||||
m_status_isSet = false;
|
m_status_isSet = false;
|
||||||
|
latitude = 0.0f;
|
||||||
|
m_latitude_isSet = false;
|
||||||
|
longitude = 0.0f;
|
||||||
|
m_longitude_isSet = false;
|
||||||
|
altitude = 0.0f;
|
||||||
|
m_altitude_isSet = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
SWGKiwiSDRReport::~SWGKiwiSDRReport() {
|
SWGKiwiSDRReport::~SWGKiwiSDRReport() {
|
||||||
|
@ -40,11 +46,20 @@ void
|
||||||
SWGKiwiSDRReport::init() {
|
SWGKiwiSDRReport::init() {
|
||||||
status = 0;
|
status = 0;
|
||||||
m_status_isSet = false;
|
m_status_isSet = false;
|
||||||
|
latitude = 0.0f;
|
||||||
|
m_latitude_isSet = false;
|
||||||
|
longitude = 0.0f;
|
||||||
|
m_longitude_isSet = false;
|
||||||
|
altitude = 0.0f;
|
||||||
|
m_altitude_isSet = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
SWGKiwiSDRReport::cleanup() {
|
SWGKiwiSDRReport::cleanup() {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SWGKiwiSDRReport*
|
SWGKiwiSDRReport*
|
||||||
|
@ -60,6 +75,12 @@ void
|
||||||
SWGKiwiSDRReport::fromJsonObject(QJsonObject &pJson) {
|
SWGKiwiSDRReport::fromJsonObject(QJsonObject &pJson) {
|
||||||
::SWGSDRangel::setValue(&status, pJson["status"], "qint32", "");
|
::SWGSDRangel::setValue(&status, pJson["status"], "qint32", "");
|
||||||
|
|
||||||
|
::SWGSDRangel::setValue(&latitude, pJson["latitude"], "float", "");
|
||||||
|
|
||||||
|
::SWGSDRangel::setValue(&longitude, pJson["longitude"], "float", "");
|
||||||
|
|
||||||
|
::SWGSDRangel::setValue(&altitude, pJson["altitude"], "float", "");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QString
|
QString
|
||||||
|
@ -79,6 +100,15 @@ SWGKiwiSDRReport::asJsonObject() {
|
||||||
if(m_status_isSet){
|
if(m_status_isSet){
|
||||||
obj->insert("status", QJsonValue(status));
|
obj->insert("status", QJsonValue(status));
|
||||||
}
|
}
|
||||||
|
if(m_latitude_isSet){
|
||||||
|
obj->insert("latitude", QJsonValue(latitude));
|
||||||
|
}
|
||||||
|
if(m_longitude_isSet){
|
||||||
|
obj->insert("longitude", QJsonValue(longitude));
|
||||||
|
}
|
||||||
|
if(m_altitude_isSet){
|
||||||
|
obj->insert("altitude", QJsonValue(altitude));
|
||||||
|
}
|
||||||
|
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
|
@ -93,6 +123,36 @@ SWGKiwiSDRReport::setStatus(qint32 status) {
|
||||||
this->m_status_isSet = true;
|
this->m_status_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
float
|
||||||
|
SWGKiwiSDRReport::getLatitude() {
|
||||||
|
return latitude;
|
||||||
|
}
|
||||||
|
void
|
||||||
|
SWGKiwiSDRReport::setLatitude(float latitude) {
|
||||||
|
this->latitude = latitude;
|
||||||
|
this->m_latitude_isSet = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
float
|
||||||
|
SWGKiwiSDRReport::getLongitude() {
|
||||||
|
return longitude;
|
||||||
|
}
|
||||||
|
void
|
||||||
|
SWGKiwiSDRReport::setLongitude(float longitude) {
|
||||||
|
this->longitude = longitude;
|
||||||
|
this->m_longitude_isSet = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
float
|
||||||
|
SWGKiwiSDRReport::getAltitude() {
|
||||||
|
return altitude;
|
||||||
|
}
|
||||||
|
void
|
||||||
|
SWGKiwiSDRReport::setAltitude(float altitude) {
|
||||||
|
this->altitude = altitude;
|
||||||
|
this->m_altitude_isSet = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
SWGKiwiSDRReport::isSet(){
|
SWGKiwiSDRReport::isSet(){
|
||||||
|
@ -101,6 +161,15 @@ SWGKiwiSDRReport::isSet(){
|
||||||
if(m_status_isSet){
|
if(m_status_isSet){
|
||||||
isObjectUpdated = true; break;
|
isObjectUpdated = true; break;
|
||||||
}
|
}
|
||||||
|
if(m_latitude_isSet){
|
||||||
|
isObjectUpdated = true; break;
|
||||||
|
}
|
||||||
|
if(m_longitude_isSet){
|
||||||
|
isObjectUpdated = true; break;
|
||||||
|
}
|
||||||
|
if(m_altitude_isSet){
|
||||||
|
isObjectUpdated = true; break;
|
||||||
|
}
|
||||||
}while(false);
|
}while(false);
|
||||||
return isObjectUpdated;
|
return isObjectUpdated;
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,6 +44,15 @@ public:
|
||||||
qint32 getStatus();
|
qint32 getStatus();
|
||||||
void setStatus(qint32 status);
|
void setStatus(qint32 status);
|
||||||
|
|
||||||
|
float getLatitude();
|
||||||
|
void setLatitude(float latitude);
|
||||||
|
|
||||||
|
float getLongitude();
|
||||||
|
void setLongitude(float longitude);
|
||||||
|
|
||||||
|
float getAltitude();
|
||||||
|
void setAltitude(float altitude);
|
||||||
|
|
||||||
|
|
||||||
virtual bool isSet() override;
|
virtual bool isSet() override;
|
||||||
|
|
||||||
|
@ -51,6 +60,15 @@ private:
|
||||||
qint32 status;
|
qint32 status;
|
||||||
bool m_status_isSet;
|
bool m_status_isSet;
|
||||||
|
|
||||||
|
float latitude;
|
||||||
|
bool m_latitude_isSet;
|
||||||
|
|
||||||
|
float longitude;
|
||||||
|
bool m_longitude_isSet;
|
||||||
|
|
||||||
|
float altitude;
|
||||||
|
bool m_altitude_isSet;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue