/**
 * SDRangel
 * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube    ---   Limitations and specifcities:    * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method.   * Preset import and export from/to file is a server only feature.   * Device set focus is a GUI only feature.   * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator   * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time   * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time    --- 
 *
 * OpenAPI spec version: 7.0.0
 * Contact: f4exb06@gmail.com
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */

/*
 * SWGLimeSdrMIMOSettings.h
 *
 * LimeSDR
 */

#ifndef SWGLimeSdrMIMOSettings_H_
#define SWGLimeSdrMIMOSettings_H_

#include <QJsonObject>


#include <QString>

#include "SWGObject.h"
#include "export.h"

namespace SWGSDRangel {

class SWG_API SWGLimeSdrMIMOSettings: public SWGObject {
public:
    SWGLimeSdrMIMOSettings();
    SWGLimeSdrMIMOSettings(QString* json);
    virtual ~SWGLimeSdrMIMOSettings();
    void init();
    void cleanup();

    virtual QString asJson () override;
    virtual QJsonObject* asJsonObject() override;
    virtual void fromJsonObject(QJsonObject &json) override;
    virtual SWGLimeSdrMIMOSettings* fromJson(QString &jsonString) override;

    QString* getTitle();
    void setTitle(QString* title);

    qint32 getDevSampleRate();
    void setDevSampleRate(qint32 dev_sample_rate);

    qint32 getGpioDir();
    void setGpioDir(qint32 gpio_dir);

    qint32 getGpioPins();
    void setGpioPins(qint32 gpio_pins);

    qint32 getExtClock();
    void setExtClock(qint32 ext_clock);

    qint32 getExtClockFreq();
    void setExtClockFreq(qint32 ext_clock_freq);

    qint32 getUseReverseApi();
    void setUseReverseApi(qint32 use_reverse_api);

    QString* getReverseApiAddress();
    void setReverseApiAddress(QString* reverse_api_address);

    qint32 getReverseApiPort();
    void setReverseApiPort(qint32 reverse_api_port);

    qint32 getReverseApiDeviceIndex();
    void setReverseApiDeviceIndex(qint32 reverse_api_device_index);

    qint64 getRxCenterFrequency();
    void setRxCenterFrequency(qint64 rx_center_frequency);

    qint32 getLog2HardDecim();
    void setLog2HardDecim(qint32 log2_hard_decim);

    qint32 getLog2SoftDecim();
    void setLog2SoftDecim(qint32 log2_soft_decim);

    qint32 getDcBlock();
    void setDcBlock(qint32 dc_block);

    qint32 getIqCorrection();
    void setIqCorrection(qint32 iq_correction);

    qint32 getRxTransverterMode();
    void setRxTransverterMode(qint32 rx_transverter_mode);

    qint64 getRxTransverterDeltaFrequency();
    void setRxTransverterDeltaFrequency(qint64 rx_transverter_delta_frequency);

    qint32 getIqOrder();
    void setIqOrder(qint32 iq_order);

    qint32 getNcoEnableRx();
    void setNcoEnableRx(qint32 nco_enable_rx);

    qint32 getNcoFrequencyRx();
    void setNcoFrequencyRx(qint32 nco_frequency_rx);

    float getLpfBwRx0();
    void setLpfBwRx0(float lpf_bw_rx0);

    qint32 getLpfFirEnableRx0();
    void setLpfFirEnableRx0(qint32 lpf_fir_enable_rx0);

    float getLpfFirbwRx0();
    void setLpfFirbwRx0(float lpf_firbw_rx0);

    qint32 getGainRx0();
    void setGainRx0(qint32 gain_rx0);

    qint32 getAntennaPathRx0();
    void setAntennaPathRx0(qint32 antenna_path_rx0);

    qint32 getGainModeRx0();
    void setGainModeRx0(qint32 gain_mode_rx0);

    qint32 getLnaGainRx0();
    void setLnaGainRx0(qint32 lna_gain_rx0);

    qint32 getTiaGainRx0();
    void setTiaGainRx0(qint32 tia_gain_rx0);

    qint32 getPgaGainRx0();
    void setPgaGainRx0(qint32 pga_gain_rx0);

    float getLpfBwRx1();
    void setLpfBwRx1(float lpf_bw_rx1);

    qint32 getLpfFirEnableRx1();
    void setLpfFirEnableRx1(qint32 lpf_fir_enable_rx1);

    float getLpfFirbwRx1();
    void setLpfFirbwRx1(float lpf_firbw_rx1);

    qint32 getGainRx1();
    void setGainRx1(qint32 gain_rx1);

    qint32 getAntennaPathRx1();
    void setAntennaPathRx1(qint32 antenna_path_rx1);

    qint32 getGainModeRx1();
    void setGainModeRx1(qint32 gain_mode_rx1);

    qint32 getLnaGainRx1();
    void setLnaGainRx1(qint32 lna_gain_rx1);

    qint32 getTiaGainRx1();
    void setTiaGainRx1(qint32 tia_gain_rx1);

    qint32 getPgaGainRx1();
    void setPgaGainRx1(qint32 pga_gain_rx1);

    qint64 getTxCenterFrequency();
    void setTxCenterFrequency(qint64 tx_center_frequency);

    qint32 getLog2HardInterp();
    void setLog2HardInterp(qint32 log2_hard_interp);

    qint32 getLog2SoftInterp();
    void setLog2SoftInterp(qint32 log2_soft_interp);

    qint32 getTxTransverterMode();
    void setTxTransverterMode(qint32 tx_transverter_mode);

    qint64 getTxTransverterDeltaFrequency();
    void setTxTransverterDeltaFrequency(qint64 tx_transverter_delta_frequency);

    qint32 getNcoEnableTx();
    void setNcoEnableTx(qint32 nco_enable_tx);

    qint32 getNcoFrequencyTx();
    void setNcoFrequencyTx(qint32 nco_frequency_tx);

    float getLpfBwTx0();
    void setLpfBwTx0(float lpf_bw_tx0);

    qint32 getLpfFirEnableTx0();
    void setLpfFirEnableTx0(qint32 lpf_fir_enable_tx0);

    float getLpfFirbwTx0();
    void setLpfFirbwTx0(float lpf_firbw_tx0);

    qint32 getGainTx0();
    void setGainTx0(qint32 gain_tx0);

    qint32 getAntennaPathTx0();
    void setAntennaPathTx0(qint32 antenna_path_tx0);

    float getLpfBwTx1();
    void setLpfBwTx1(float lpf_bw_tx1);

    qint32 getLpfFirEnableTx1();
    void setLpfFirEnableTx1(qint32 lpf_fir_enable_tx1);

    float getLpfFirbwTx1();
    void setLpfFirbwTx1(float lpf_firbw_tx1);

    qint32 getGainTx1();
    void setGainTx1(qint32 gain_tx1);

    qint32 getAntennaPathTx1();
    void setAntennaPathTx1(qint32 antenna_path_tx1);


    virtual bool isSet() override;

private:
    QString* title;
    bool m_title_isSet;

    qint32 dev_sample_rate;
    bool m_dev_sample_rate_isSet;

    qint32 gpio_dir;
    bool m_gpio_dir_isSet;

    qint32 gpio_pins;
    bool m_gpio_pins_isSet;

    qint32 ext_clock;
    bool m_ext_clock_isSet;

    qint32 ext_clock_freq;
    bool m_ext_clock_freq_isSet;

    qint32 use_reverse_api;
    bool m_use_reverse_api_isSet;

    QString* reverse_api_address;
    bool m_reverse_api_address_isSet;

    qint32 reverse_api_port;
    bool m_reverse_api_port_isSet;

    qint32 reverse_api_device_index;
    bool m_reverse_api_device_index_isSet;

    qint64 rx_center_frequency;
    bool m_rx_center_frequency_isSet;

    qint32 log2_hard_decim;
    bool m_log2_hard_decim_isSet;

    qint32 log2_soft_decim;
    bool m_log2_soft_decim_isSet;

    qint32 dc_block;
    bool m_dc_block_isSet;

    qint32 iq_correction;
    bool m_iq_correction_isSet;

    qint32 rx_transverter_mode;
    bool m_rx_transverter_mode_isSet;

    qint64 rx_transverter_delta_frequency;
    bool m_rx_transverter_delta_frequency_isSet;

    qint32 iq_order;
    bool m_iq_order_isSet;

    qint32 nco_enable_rx;
    bool m_nco_enable_rx_isSet;

    qint32 nco_frequency_rx;
    bool m_nco_frequency_rx_isSet;

    float lpf_bw_rx0;
    bool m_lpf_bw_rx0_isSet;

    qint32 lpf_fir_enable_rx0;
    bool m_lpf_fir_enable_rx0_isSet;

    float lpf_firbw_rx0;
    bool m_lpf_firbw_rx0_isSet;

    qint32 gain_rx0;
    bool m_gain_rx0_isSet;

    qint32 antenna_path_rx0;
    bool m_antenna_path_rx0_isSet;

    qint32 gain_mode_rx0;
    bool m_gain_mode_rx0_isSet;

    qint32 lna_gain_rx0;
    bool m_lna_gain_rx0_isSet;

    qint32 tia_gain_rx0;
    bool m_tia_gain_rx0_isSet;

    qint32 pga_gain_rx0;
    bool m_pga_gain_rx0_isSet;

    float lpf_bw_rx1;
    bool m_lpf_bw_rx1_isSet;

    qint32 lpf_fir_enable_rx1;
    bool m_lpf_fir_enable_rx1_isSet;

    float lpf_firbw_rx1;
    bool m_lpf_firbw_rx1_isSet;

    qint32 gain_rx1;
    bool m_gain_rx1_isSet;

    qint32 antenna_path_rx1;
    bool m_antenna_path_rx1_isSet;

    qint32 gain_mode_rx1;
    bool m_gain_mode_rx1_isSet;

    qint32 lna_gain_rx1;
    bool m_lna_gain_rx1_isSet;

    qint32 tia_gain_rx1;
    bool m_tia_gain_rx1_isSet;

    qint32 pga_gain_rx1;
    bool m_pga_gain_rx1_isSet;

    qint64 tx_center_frequency;
    bool m_tx_center_frequency_isSet;

    qint32 log2_hard_interp;
    bool m_log2_hard_interp_isSet;

    qint32 log2_soft_interp;
    bool m_log2_soft_interp_isSet;

    qint32 tx_transverter_mode;
    bool m_tx_transverter_mode_isSet;

    qint64 tx_transverter_delta_frequency;
    bool m_tx_transverter_delta_frequency_isSet;

    qint32 nco_enable_tx;
    bool m_nco_enable_tx_isSet;

    qint32 nco_frequency_tx;
    bool m_nco_frequency_tx_isSet;

    float lpf_bw_tx0;
    bool m_lpf_bw_tx0_isSet;

    qint32 lpf_fir_enable_tx0;
    bool m_lpf_fir_enable_tx0_isSet;

    float lpf_firbw_tx0;
    bool m_lpf_firbw_tx0_isSet;

    qint32 gain_tx0;
    bool m_gain_tx0_isSet;

    qint32 antenna_path_tx0;
    bool m_antenna_path_tx0_isSet;

    float lpf_bw_tx1;
    bool m_lpf_bw_tx1_isSet;

    qint32 lpf_fir_enable_tx1;
    bool m_lpf_fir_enable_tx1_isSet;

    float lpf_firbw_tx1;
    bool m_lpf_firbw_tx1_isSet;

    qint32 gain_tx1;
    bool m_gain_tx1_isSet;

    qint32 antenna_path_tx1;
    bool m_antenna_path_tx1_isSet;

};

}

#endif /* SWGLimeSdrMIMOSettings_H_ */
