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

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

/// PreviewRepoSelectorRequest : Request body for previewing which repositories a selector matches.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct PreviewRepoSelectorRequest {
    /// The repository selector to evaluate.
    #[serde(rename = "repo_selector")]
    pub repo_selector: serde_json::Value,
}

impl PreviewRepoSelectorRequest {
    /// Request body for previewing which repositories a selector matches.
    pub fn new(repo_selector: serde_json::Value) -> PreviewRepoSelectorRequest {
        PreviewRepoSelectorRequest {
            repo_selector,
        }
    }
}

