/**
 * 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.
 */

/*
 * SWGChannelSettings.h
 *
 * Base channel settings. Only the channel settings corresponding to the channel specified in the channelType field is or should be present.
 */

#ifndef SWGChannelSettings_H_
#define SWGChannelSettings_H_

#include <QJsonObject>


#include "SWGADSBDemodSettings.h"
#include "SWGAISDemodSettings.h"
#include "SWGAISModSettings.h"
#include "SWGAMDemodSettings.h"
#include "SWGAMModSettings.h"
#include "SWGAPTDemodSettings.h"
#include "SWGATVDemodSettings.h"
#include "SWGATVModSettings.h"
#include "SWGBFMDemodSettings.h"
#include "SWGBeamSteeringCWModSettings.h"
#include "SWGChannelAnalyzerSettings.h"
#include "SWGChannelPowerSettings.h"
#include "SWGChirpChatDemodSettings.h"
#include "SWGChirpChatModSettings.h"
#include "SWGDABDemodSettings.h"
#include "SWGDATVDemodSettings.h"
#include "SWGDATVModSettings.h"
#include "SWGDOA2Settings.h"
#include "SWGDSCDemodSettings.h"
#include "SWGDSDDemodSettings.h"
#include "SWGEndOfTrainDemodSettings.h"
#include "SWGFT8DemodSettings.h"
#include "SWGFileSinkSettings.h"
#include "SWGFileSourceSettings.h"
#include "SWGFreeDVDemodSettings.h"
#include "SWGFreeDVModSettings.h"
#include "SWGFreqScannerSettings.h"
#include "SWGFreqTrackerSettings.h"
#include "SWGHeatMapSettings.h"
#include "SWGIEEE_802_15_4_ModSettings.h"
#include "SWGILSDemodSettings.h"
#include "SWGInmarsatDemodSettings.h"
#include "SWGInterferometerSettings.h"
#include "SWGLocalSinkSettings.h"
#include "SWGLocalSourceSettings.h"
#include "SWGM17DemodSettings.h"
#include "SWGM17ModSettings.h"
#include "SWGMeshtasticDemodSettings.h"
#include "SWGMeshtasticModSettings.h"
#include "SWGNFMDemodSettings.h"
#include "SWGNFMModSettings.h"
#include "SWGNavtexDemodSettings.h"
#include "SWGNoiseFigureSettings.h"
#include "SWGPSK31ModSettings.h"
#include "SWGPacketDemodSettings.h"
#include "SWGPacketModSettings.h"
#include "SWGPagerDemodSettings.h"
#include "SWGRTTYDemodSettings.h"
#include "SWGRTTYModSettings.h"
#include "SWGRadioAstronomySettings.h"
#include "SWGRadioClockSettings.h"
#include "SWGRadiosondeDemodSettings.h"
#include "SWGRemoteSinkSettings.h"
#include "SWGRemoteSourceSettings.h"
#include "SWGRemoteTCPSinkSettings.h"
#include "SWGSSBDemodSettings.h"
#include "SWGSSBModSettings.h"
#include "SWGSigMFFileSinkSettings.h"
#include "SWGUDPSinkSettings.h"
#include "SWGUDPSourceSettings.h"
#include "SWGVORDemodSettings.h"
#include "SWGWDSPRxSettings.h"
#include "SWGWFMDemodSettings.h"
#include "SWGWFMModSettings.h"
#include <QString>

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

namespace SWGSDRangel {

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

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

    QString* getChannelType();
    void setChannelType(QString* channel_type);

    qint32 getDirection();
    void setDirection(qint32 direction);

    qint32 getOriginatorDeviceSetIndex();
    void setOriginatorDeviceSetIndex(qint32 originator_device_set_index);

    qint32 getOriginatorChannelIndex();
    void setOriginatorChannelIndex(qint32 originator_channel_index);

    SWGADSBDemodSettings* getAdsbDemodSettings();
    void setAdsbDemodSettings(SWGADSBDemodSettings* adsb_demod_settings);

    SWGAISDemodSettings* getAisDemodSettings();
    void setAisDemodSettings(SWGAISDemodSettings* ais_demod_settings);

    SWGAISModSettings* getAisModSettings();
    void setAisModSettings(SWGAISModSettings* ais_mod_settings);

    SWGAMDemodSettings* getAmDemodSettings();
    void setAmDemodSettings(SWGAMDemodSettings* am_demod_settings);

    SWGAMModSettings* getAmModSettings();
    void setAmModSettings(SWGAMModSettings* am_mod_settings);

    SWGAPTDemodSettings* getAptDemodSettings();
    void setAptDemodSettings(SWGAPTDemodSettings* apt_demod_settings);

    SWGATVDemodSettings* getAtvDemodSettings();
    void setAtvDemodSettings(SWGATVDemodSettings* atv_demod_settings);

    SWGATVModSettings* getAtvModSettings();
    void setAtvModSettings(SWGATVModSettings* atv_mod_settings);

    SWGBeamSteeringCWModSettings* getBeamSteeringCwModSettings();
    void setBeamSteeringCwModSettings(SWGBeamSteeringCWModSettings* beam_steering_cw_mod_settings);

    SWGBFMDemodSettings* getBfmDemodSettings();
    void setBfmDemodSettings(SWGBFMDemodSettings* bfm_demod_settings);

    SWGChannelAnalyzerSettings* getChannelAnalyzerSettings();
    void setChannelAnalyzerSettings(SWGChannelAnalyzerSettings* channel_analyzer_settings);

    SWGChannelPowerSettings* getChannelPowerSettings();
    void setChannelPowerSettings(SWGChannelPowerSettings* channel_power_settings);

    SWGChirpChatDemodSettings* getChirpChatDemodSettings();
    void setChirpChatDemodSettings(SWGChirpChatDemodSettings* chirp_chat_demod_settings);

    SWGChirpChatModSettings* getChirpChatModSettings();
    void setChirpChatModSettings(SWGChirpChatModSettings* chirp_chat_mod_settings);

    SWGDATVModSettings* getDatvModSettings();
    void setDatvModSettings(SWGDATVModSettings* datv_mod_settings);

    SWGDATVDemodSettings* getDatvDemodSettings();
    void setDatvDemodSettings(SWGDATVDemodSettings* datv_demod_settings);

    SWGDABDemodSettings* getDabDemodSettings();
    void setDabDemodSettings(SWGDABDemodSettings* dab_demod_settings);

    SWGDOA2Settings* getDoa2Settings();
    void setDoa2Settings(SWGDOA2Settings* doa2_settings);

    SWGDSCDemodSettings* getDscDemodSettings();
    void setDscDemodSettings(SWGDSCDemodSettings* dsc_demod_settings);

    SWGDSDDemodSettings* getDsdDemodSettings();
    void setDsdDemodSettings(SWGDSDDemodSettings* dsd_demod_settings);

    SWGEndOfTrainDemodSettings* getEndOfTrainDemodSettings();
    void setEndOfTrainDemodSettings(SWGEndOfTrainDemodSettings* end_of_train_demod_settings);

    SWGFileSinkSettings* getFileSinkSettings();
    void setFileSinkSettings(SWGFileSinkSettings* file_sink_settings);

    SWGFileSourceSettings* getFileSourceSettings();
    void setFileSourceSettings(SWGFileSourceSettings* file_source_settings);

    SWGFreeDVDemodSettings* getFreeDvDemodSettings();
    void setFreeDvDemodSettings(SWGFreeDVDemodSettings* free_dv_demod_settings);

    SWGFreeDVModSettings* getFreeDvModSettings();
    void setFreeDvModSettings(SWGFreeDVModSettings* free_dv_mod_settings);

    SWGFreqScannerSettings* getFreqScannerSettings();
    void setFreqScannerSettings(SWGFreqScannerSettings* freq_scanner_settings);

    SWGFreqTrackerSettings* getFreqTrackerSettings();
    void setFreqTrackerSettings(SWGFreqTrackerSettings* freq_tracker_settings);

    SWGFT8DemodSettings* getFt8DemodSettings();
    void setFt8DemodSettings(SWGFT8DemodSettings* ft8_demod_settings);

    SWGHeatMapSettings* getHeatMapSettings();
    void setHeatMapSettings(SWGHeatMapSettings* heat_map_settings);

    SWGILSDemodSettings* getIlsDemodSettings();
    void setIlsDemodSettings(SWGILSDemodSettings* ils_demod_settings);

    SWGInmarsatDemodSettings* getInmarsatDemodSettings();
    void setInmarsatDemodSettings(SWGInmarsatDemodSettings* inmarsat_demod_settings);

    SWGInterferometerSettings* getInterferometerSettings();
    void setInterferometerSettings(SWGInterferometerSettings* interferometer_settings);

    SWGIEEE_802_15_4_ModSettings* getIeee802154ModSettings();
    void setIeee802154ModSettings(SWGIEEE_802_15_4_ModSettings* ieee_802_15_4_mod_settings);

    SWGM17DemodSettings* getM17DemodSettings();
    void setM17DemodSettings(SWGM17DemodSettings* m17_demod_settings);

    SWGM17ModSettings* getM17ModSettings();
    void setM17ModSettings(SWGM17ModSettings* m17_mod_settings);

    SWGMeshtasticDemodSettings* getMeshtasticDemodSettings();
    void setMeshtasticDemodSettings(SWGMeshtasticDemodSettings* meshtastic_demod_settings);

    SWGMeshtasticModSettings* getMeshtasticModSettings();
    void setMeshtasticModSettings(SWGMeshtasticModSettings* meshtastic_mod_settings);

    SWGNavtexDemodSettings* getNavtexDemodSettings();
    void setNavtexDemodSettings(SWGNavtexDemodSettings* navtex_demod_settings);

    SWGNFMDemodSettings* getNfmDemodSettings();
    void setNfmDemodSettings(SWGNFMDemodSettings* nfm_demod_settings);

    SWGNFMModSettings* getNfmModSettings();
    void setNfmModSettings(SWGNFMModSettings* nfm_mod_settings);

    SWGNoiseFigureSettings* getNoiseFigureSettings();
    void setNoiseFigureSettings(SWGNoiseFigureSettings* noise_figure_settings);

    SWGLocalSinkSettings* getLocalSinkSettings();
    void setLocalSinkSettings(SWGLocalSinkSettings* local_sink_settings);

    SWGLocalSourceSettings* getLocalSourceSettings();
    void setLocalSourceSettings(SWGLocalSourceSettings* local_source_settings);

    SWGPacketDemodSettings* getPacketDemodSettings();
    void setPacketDemodSettings(SWGPacketDemodSettings* packet_demod_settings);

    SWGPacketModSettings* getPacketModSettings();
    void setPacketModSettings(SWGPacketModSettings* packet_mod_settings);

    SWGPagerDemodSettings* getPagerDemodSettings();
    void setPagerDemodSettings(SWGPagerDemodSettings* pager_demod_settings);

    SWGPSK31ModSettings* getPsk31ModSettings();
    void setPsk31ModSettings(SWGPSK31ModSettings* psk31_mod_settings);

    SWGRadioAstronomySettings* getRadioAstronomySettings();
    void setRadioAstronomySettings(SWGRadioAstronomySettings* radio_astronomy_settings);

    SWGRadioClockSettings* getRadioClockSettings();
    void setRadioClockSettings(SWGRadioClockSettings* radio_clock_settings);

    SWGRadiosondeDemodSettings* getRadiosondeDemodSettings();
    void setRadiosondeDemodSettings(SWGRadiosondeDemodSettings* radiosonde_demod_settings);

    SWGRemoteSinkSettings* getRemoteSinkSettings();
    void setRemoteSinkSettings(SWGRemoteSinkSettings* remote_sink_settings);

    SWGRemoteSourceSettings* getRemoteSourceSettings();
    void setRemoteSourceSettings(SWGRemoteSourceSettings* remote_source_settings);

    SWGRemoteTCPSinkSettings* getRemoteTcpSinkSettings();
    void setRemoteTcpSinkSettings(SWGRemoteTCPSinkSettings* remote_tcp_sink_settings);

    SWGRTTYDemodSettings* getRttyDemodSettings();
    void setRttyDemodSettings(SWGRTTYDemodSettings* rtty_demod_settings);

    SWGRTTYModSettings* getRttyModSettings();
    void setRttyModSettings(SWGRTTYModSettings* rtty_mod_settings);

    SWGSigMFFileSinkSettings* getSigMfFileSinkSettings();
    void setSigMfFileSinkSettings(SWGSigMFFileSinkSettings* sig_mf_file_sink_settings);

    SWGSSBModSettings* getSsbModSettings();
    void setSsbModSettings(SWGSSBModSettings* ssb_mod_settings);

    SWGSSBDemodSettings* getSsbDemodSettings();
    void setSsbDemodSettings(SWGSSBDemodSettings* ssb_demod_settings);

    SWGUDPSourceSettings* getUdpSourceSettings();
    void setUdpSourceSettings(SWGUDPSourceSettings* udp_source_settings);

    SWGUDPSinkSettings* getUdpSinkSettings();
    void setUdpSinkSettings(SWGUDPSinkSettings* udp_sink_settings);

    SWGVORDemodSettings* getVorDemodSettings();
    void setVorDemodSettings(SWGVORDemodSettings* vor_demod_settings);

    SWGWDSPRxSettings* getWdspRxSettings();
    void setWdspRxSettings(SWGWDSPRxSettings* wdsp_rx_settings);

    SWGWFMDemodSettings* getWfmDemodSettings();
    void setWfmDemodSettings(SWGWFMDemodSettings* wfm_demod_settings);

    SWGWFMModSettings* getWfmModSettings();
    void setWfmModSettings(SWGWFMModSettings* wfm_mod_settings);


    virtual bool isSet() override;

private:
    QString* channel_type;
    bool m_channel_type_isSet;

    qint32 direction;
    bool m_direction_isSet;

    qint32 originator_device_set_index;
    bool m_originator_device_set_index_isSet;

    qint32 originator_channel_index;
    bool m_originator_channel_index_isSet;

    SWGADSBDemodSettings* adsb_demod_settings;
    bool m_adsb_demod_settings_isSet;

    SWGAISDemodSettings* ais_demod_settings;
    bool m_ais_demod_settings_isSet;

    SWGAISModSettings* ais_mod_settings;
    bool m_ais_mod_settings_isSet;

    SWGAMDemodSettings* am_demod_settings;
    bool m_am_demod_settings_isSet;

    SWGAMModSettings* am_mod_settings;
    bool m_am_mod_settings_isSet;

    SWGAPTDemodSettings* apt_demod_settings;
    bool m_apt_demod_settings_isSet;

    SWGATVDemodSettings* atv_demod_settings;
    bool m_atv_demod_settings_isSet;

    SWGATVModSettings* atv_mod_settings;
    bool m_atv_mod_settings_isSet;

    SWGBeamSteeringCWModSettings* beam_steering_cw_mod_settings;
    bool m_beam_steering_cw_mod_settings_isSet;

    SWGBFMDemodSettings* bfm_demod_settings;
    bool m_bfm_demod_settings_isSet;

    SWGChannelAnalyzerSettings* channel_analyzer_settings;
    bool m_channel_analyzer_settings_isSet;

    SWGChannelPowerSettings* channel_power_settings;
    bool m_channel_power_settings_isSet;

    SWGChirpChatDemodSettings* chirp_chat_demod_settings;
    bool m_chirp_chat_demod_settings_isSet;

    SWGChirpChatModSettings* chirp_chat_mod_settings;
    bool m_chirp_chat_mod_settings_isSet;

    SWGDATVModSettings* datv_mod_settings;
    bool m_datv_mod_settings_isSet;

    SWGDATVDemodSettings* datv_demod_settings;
    bool m_datv_demod_settings_isSet;

    SWGDABDemodSettings* dab_demod_settings;
    bool m_dab_demod_settings_isSet;

    SWGDOA2Settings* doa2_settings;
    bool m_doa2_settings_isSet;

    SWGDSCDemodSettings* dsc_demod_settings;
    bool m_dsc_demod_settings_isSet;

    SWGDSDDemodSettings* dsd_demod_settings;
    bool m_dsd_demod_settings_isSet;

    SWGEndOfTrainDemodSettings* end_of_train_demod_settings;
    bool m_end_of_train_demod_settings_isSet;

    SWGFileSinkSettings* file_sink_settings;
    bool m_file_sink_settings_isSet;

    SWGFileSourceSettings* file_source_settings;
    bool m_file_source_settings_isSet;

    SWGFreeDVDemodSettings* free_dv_demod_settings;
    bool m_free_dv_demod_settings_isSet;

    SWGFreeDVModSettings* free_dv_mod_settings;
    bool m_free_dv_mod_settings_isSet;

    SWGFreqScannerSettings* freq_scanner_settings;
    bool m_freq_scanner_settings_isSet;

    SWGFreqTrackerSettings* freq_tracker_settings;
    bool m_freq_tracker_settings_isSet;

    SWGFT8DemodSettings* ft8_demod_settings;
    bool m_ft8_demod_settings_isSet;

    SWGHeatMapSettings* heat_map_settings;
    bool m_heat_map_settings_isSet;

    SWGILSDemodSettings* ils_demod_settings;
    bool m_ils_demod_settings_isSet;

    SWGInmarsatDemodSettings* inmarsat_demod_settings;
    bool m_inmarsat_demod_settings_isSet;

    SWGInterferometerSettings* interferometer_settings;
    bool m_interferometer_settings_isSet;

    SWGIEEE_802_15_4_ModSettings* ieee_802_15_4_mod_settings;
    bool m_ieee_802_15_4_mod_settings_isSet;

    SWGM17DemodSettings* m17_demod_settings;
    bool m_m17_demod_settings_isSet;

    SWGM17ModSettings* m17_mod_settings;
    bool m_m17_mod_settings_isSet;

    SWGMeshtasticDemodSettings* meshtastic_demod_settings;
    bool m_meshtastic_demod_settings_isSet;

    SWGMeshtasticModSettings* meshtastic_mod_settings;
    bool m_meshtastic_mod_settings_isSet;

    SWGNavtexDemodSettings* navtex_demod_settings;
    bool m_navtex_demod_settings_isSet;

    SWGNFMDemodSettings* nfm_demod_settings;
    bool m_nfm_demod_settings_isSet;

    SWGNFMModSettings* nfm_mod_settings;
    bool m_nfm_mod_settings_isSet;

    SWGNoiseFigureSettings* noise_figure_settings;
    bool m_noise_figure_settings_isSet;

    SWGLocalSinkSettings* local_sink_settings;
    bool m_local_sink_settings_isSet;

    SWGLocalSourceSettings* local_source_settings;
    bool m_local_source_settings_isSet;

    SWGPacketDemodSettings* packet_demod_settings;
    bool m_packet_demod_settings_isSet;

    SWGPacketModSettings* packet_mod_settings;
    bool m_packet_mod_settings_isSet;

    SWGPagerDemodSettings* pager_demod_settings;
    bool m_pager_demod_settings_isSet;

    SWGPSK31ModSettings* psk31_mod_settings;
    bool m_psk31_mod_settings_isSet;

    SWGRadioAstronomySettings* radio_astronomy_settings;
    bool m_radio_astronomy_settings_isSet;

    SWGRadioClockSettings* radio_clock_settings;
    bool m_radio_clock_settings_isSet;

    SWGRadiosondeDemodSettings* radiosonde_demod_settings;
    bool m_radiosonde_demod_settings_isSet;

    SWGRemoteSinkSettings* remote_sink_settings;
    bool m_remote_sink_settings_isSet;

    SWGRemoteSourceSettings* remote_source_settings;
    bool m_remote_source_settings_isSet;

    SWGRemoteTCPSinkSettings* remote_tcp_sink_settings;
    bool m_remote_tcp_sink_settings_isSet;

    SWGRTTYDemodSettings* rtty_demod_settings;
    bool m_rtty_demod_settings_isSet;

    SWGRTTYModSettings* rtty_mod_settings;
    bool m_rtty_mod_settings_isSet;

    SWGSigMFFileSinkSettings* sig_mf_file_sink_settings;
    bool m_sig_mf_file_sink_settings_isSet;

    SWGSSBModSettings* ssb_mod_settings;
    bool m_ssb_mod_settings_isSet;

    SWGSSBDemodSettings* ssb_demod_settings;
    bool m_ssb_demod_settings_isSet;

    SWGUDPSourceSettings* udp_source_settings;
    bool m_udp_source_settings_isSet;

    SWGUDPSinkSettings* udp_sink_settings;
    bool m_udp_sink_settings_isSet;

    SWGVORDemodSettings* vor_demod_settings;
    bool m_vor_demod_settings_isSet;

    SWGWDSPRxSettings* wdsp_rx_settings;
    bool m_wdsp_rx_settings_isSet;

    SWGWFMDemodSettings* wfm_demod_settings;
    bool m_wfm_demod_settings_isSet;

    SWGWFMModSettings* wfm_mod_settings;
    bool m_wfm_mod_settings_isSet;

};

}

#endif /* SWGChannelSettings_H_ */
