/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.2
 * 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 ListSharedUi200Response {
    #[serde(rename = "paths")]
    pub paths: Vec<String>,
    #[serde(rename = "sizes")]
    pub sizes: std::collections::HashMap<String, i64>,
    #[serde(rename = "version")]
    pub version: i64,
    #[serde(rename = "edited_at")]
    pub edited_at: String,
    #[serde(rename = "edited_by")]
    pub edited_by: String,
}

impl ListSharedUi200Response {
    pub fn new(paths: Vec<String>, sizes: std::collections::HashMap<String, i64>, version: i64, edited_at: String, edited_by: String) -> ListSharedUi200Response {
        ListSharedUi200Response {
            paths,
            sizes,
            version,
            edited_at,
            edited_by,
        }
    }
}

