// 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 "configurationgetconfigurationsresponsebasicconfigurationlocation.h"

namespace nymea::api {

class ConfigurationGetConfigurationsResponseBasicConfiguration {
public:
    // wire: 'language' (deprecated)
    QString language{};
    // wire: 'location' (deprecated)
    ConfigurationGetConfigurationsResponseBasicConfigurationLocation location{};
    // wire: 'serverTime' (deprecated)
    quint64 serverTime{};
    // wire: 'timeZone' (deprecated)
    QString timeZone{};
    // wire: 'debugServerEnabled' (field)
    bool debugServerEnabled{};
    // wire: 'serverName' (field)
    QString serverName{};
    // wire: 'serverUuid' (field)
    QUuid serverUuid{};

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

} // namespace nymea::api
