/*
 * Artifact Keeper API
 *
 * Enterprise artifact registry supporting 45+ package formats.
 *
 * The version of the OpenAPI document: 1.0.0-rc.3
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct PluginConfigResponse {
    #[serde(rename = "config")]
    pub config: serde_json::Value,
    #[serde(rename = "plugin_id")]
    pub plugin_id: uuid::Uuid,
    #[serde(rename = "schema")]
    pub schema: serde_json::Value,
}

impl PluginConfigResponse {
    pub fn new(config: serde_json::Value, plugin_id: uuid::Uuid, schema: serde_json::Value) -> PluginConfigResponse {
        PluginConfigResponse {
            config,
            plugin_id,
            schema,
        }
    }
}

