/*
 * Artifact Keeper API
 *
 * REST API for Artifact Keeper, an open-source universal artifact registry. Covers user management, repositories, artifacts, search, security scanning, SBOM, dependency tracking, SSO, analytics, monitoring, telemetry, lifecycle policies, plugins, edge nodes, migration, and administration. Format-specific protocol endpoints (npm, PyPI, Maven, Docker/OCI, etc.) are not included; those follow their respective upstream specifications.
 *
 * The version of the OpenAPI document: 1.0.0-a2
 * 
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TriggerSecurityScanRequest {
    /// Scan a specific artifact.
    #[serde(rename = "artifact_id", skip_serializing_if = "Option::is_none")]
    pub artifact_id: Option<uuid::Uuid>,
    /// Scan all artifacts in a repository.
    #[serde(rename = "repository_id", skip_serializing_if = "Option::is_none")]
    pub repository_id: Option<uuid::Uuid>,
    /// Name of the scanner plugin to use.
    #[serde(rename = "scanner", skip_serializing_if = "Option::is_none")]
    pub scanner: Option<String>,
}

impl TriggerSecurityScanRequest {
    pub fn new() -> TriggerSecurityScanRequest {
        TriggerSecurityScanRequest {
            artifact_id: None,
            repository_id: None,
            scanner: None,
        }
    }
}

