// This file is generated by tools/codegen.sh
// DO NOT EDIT IT.

// clang-format off

//  To parse this JSON data, first install
//
//      json.hpp  https://github.com/nlohmann/json
//
//  Then include this file, and then do
//
//     PackageManager1UpdateParameters.hpp data = nlohmann::json::parse(jsonString);

#pragma once

#include <optional>
#include <nlohmann/json.hpp>
#include "linglong/api/types/v1/helper.hpp"

#include "linglong/api/types/v1/PackageManager1Package.hpp"

namespace linglong {
namespace api {
namespace types {
namespace v1 {
/**
* package manager update result
*/

using nlohmann::json;

/**
* package manager update result
*/
struct PackageManager1UpdateParameters {
/**
* upgrade applications only
*/
bool appOnly;
/**
* upgrade dependencies only
*/
bool depsOnly;
/**
* packages of package manager update
*/
std::vector<PackageManager1Package> packages;
};
}
}
}
}

// clang-format on
