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

namespace nymea::api {

class IntegrationsPairThingParams {
public:
    // wire: 'name' (optional)
    std::optional<QString> name;
    // wire: 'thingClassId' (optional)
    std::optional<QUuid> thingClassId;
    // wire: 'thingDescriptorId' (optional)
    std::optional<QUuid> thingDescriptorId;
    // wire: 'thingId' (optional)
    std::optional<QUuid> thingId;
    // wire: 'thingParams' (optional)
    std::optional<ParamList> thingParams;

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

} // namespace nymea::api
