/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.6
 * Contact: contact@orvanta.cloud
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DependencyMap {
    #[serde(rename = "workspace_id", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub workspace_id: Option<Option<String>>,
    #[serde(rename = "importer_path", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub importer_path: Option<Option<String>>,
    #[serde(rename = "importer_kind", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub importer_kind: Option<Option<String>>,
    #[serde(rename = "imported_path", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub imported_path: Option<Option<String>>,
    #[serde(rename = "importer_node_id", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub importer_node_id: Option<Option<String>>,
}

impl DependencyMap {
    pub fn new() -> DependencyMap {
        DependencyMap {
            workspace_id: None,
            importer_path: None,
            importer_kind: None,
            imported_path: None,
            importer_node_id: None,
        }
    }
}

