orvanta_api/models/import_delegate_bindings_result.rs
1/*
2 * Orvanta API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 3.2.0
7 * Contact: contact@orvanta.cloud
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// ImportDelegateBindingsResult : The outcome of a whole-file import: every binding path that was newly created vs. an existing one that was updated in place.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct ImportDelegateBindingsResult {
17 #[serde(rename = "created")]
18 pub created: Vec<String>,
19 #[serde(rename = "updated")]
20 pub updated: Vec<String>,
21}
22
23impl ImportDelegateBindingsResult {
24 /// The outcome of a whole-file import: every binding path that was newly created vs. an existing one that was updated in place.
25 pub fn new(created: Vec<String>, updated: Vec<String>) -> ImportDelegateBindingsResult {
26 ImportDelegateBindingsResult {
27 created,
28 updated,
29 }
30 }
31}
32