/*
 * 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};

/// InstallFromLocalRequest : Request for installing from local file path
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct InstallFromLocalRequest {
    /// Local filesystem path to plugin directory
    #[serde(rename = "path")]
    pub path: String,
}

impl InstallFromLocalRequest {
    /// Request for installing from local file path
    pub fn new(path: String) -> InstallFromLocalRequest {
        InstallFromLocalRequest {
            path,
        }
    }
}

