/*
 * 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 CreateVirtualMemberInput {
    #[serde(rename = "priority", skip_serializing_if = "Option::is_none")]
    pub priority: Option<i32>,
    #[serde(rename = "repo_key")]
    pub repo_key: String,
}

impl CreateVirtualMemberInput {
    pub fn new(repo_key: String) -> CreateVirtualMemberInput {
        CreateVirtualMemberInput {
            priority: None,
            repo_key,
        }
    }
}

