// 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"

namespace nymea::api {

class ZigbeeAdapter {
public:
    // wire: 'backend' (required)
    QString backend{};
    // wire: 'baudRate' (required)
    qint64 baudRate{};
    // wire: 'description' (required)
    QString description{};
    // wire: 'hardwareRecognized' (required)
    bool hardwareRecognized{};
    // wire: 'name' (required)
    QString name{};
    // wire: 'serialNumber' (required)
    QString serialNumber{};
    // wire: 'serialPort' (required)
    QString serialPort{};

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

} // namespace nymea::api
