// SPDX-License-Identifier: GPL-3.0-or-later

// This file is auto-generated by scripts/generate_nymea_api.py
// Any changes made here will be lost when the files are regenerated.
// Do not edit manually.

#pragma once

#include "apiutils.h"
#include "configurationgetconfigurationsresponsebasicconfiguration.h"
#include "serverconfiguration.h"
#include "tunnelproxyserverconfiguration.h"
#include "webserverconfiguration.h"

namespace nymea::api {

class ConfigurationGetConfigurationsResponse {
public:
    // wire: 'basicConfiguration' (field)
    ConfigurationGetConfigurationsResponseBasicConfiguration basicConfiguration{};
    // wire: 'tcpServerConfigurations' (field)
    QList<ServerConfiguration> tcpServerConfigurations{};
    // wire: 'tunnelProxyServerConfigurations' (field)
    QList<TunnelProxyServerConfiguration> tunnelProxyServerConfigurations{};
    // wire: 'webServerConfigurations' (field)
    QList<WebServerConfiguration> webServerConfigurations{};
    // wire: 'webSocketServerConfigurations' (field)
    QList<ServerConfiguration> webSocketServerConfigurations{};

    static ConfigurationGetConfigurationsResponse fromJson(const QJsonObject &object);
    QJsonObject toJson() const;
};

} // namespace nymea::api
