orvanta-api 3.2.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: 3.2.0
 * Contact: contact@orvanta.cloud
 * Generated by: https://openapi-generator.tech
 */

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

/// ImportDelegateBindingsResult : The outcome of a whole-file import: every binding path that was newly created vs. an existing one that was updated in place.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ImportDelegateBindingsResult {
    #[serde(rename = "created")]
    pub created: Vec<String>,
    #[serde(rename = "updated")]
    pub updated: Vec<String>,
}

impl ImportDelegateBindingsResult {
    /// The outcome of a whole-file import: every binding path that was newly created vs. an existing one that was updated in place.
    pub fn new(created: Vec<String>, updated: Vec<String>) -> ImportDelegateBindingsResult {
        ImportDelegateBindingsResult {
            created,
            updated,
        }
    }
}