/*
 * 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 ListStoredFiles200Response {
    #[serde(rename = "next_marker", skip_serializing_if = "Option::is_none")]
    pub next_marker: Option<String>,
    #[serde(rename = "orvanta_large_files")]
    pub orvanta_large_files: Vec<models::OrvantaLargeFile>,
    #[serde(rename = "restricted_access", skip_serializing_if = "Option::is_none")]
    pub restricted_access: Option<bool>,
}

impl ListStoredFiles200Response {
    pub fn new(orvanta_large_files: Vec<models::OrvantaLargeFile>) -> ListStoredFiles200Response {
        ListStoredFiles200Response {
            next_marker: None,
            orvanta_large_files,
            restricted_access: None,
        }
    }
}

