orvanta-api 6.5.0

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 6.5.0
 * 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 MappingIssue {
    #[serde(rename = "severity")]
    pub severity: models::IssueSeverity,
    #[serde(rename = "source_column")]
    pub source_column: String,
    #[serde(rename = "target_column")]
    pub target_column: String,
    #[serde(rename = "message")]
    pub message: String,
}

impl MappingIssue {
    pub fn new(severity: models::IssueSeverity, source_column: String, target_column: String, message: String) -> MappingIssue {
        MappingIssue {
            severity,
            source_column,
            target_column,
            message,
        }
    }
}