/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.2.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 S3Object {
    #[serde(rename = "s3")]
    pub s3: String,
    #[serde(rename = "filename", skip_serializing_if = "Option::is_none")]
    pub filename: Option<String>,
    #[serde(rename = "storage", skip_serializing_if = "Option::is_none")]
    pub storage: Option<String>,
    #[serde(rename = "presigned", skip_serializing_if = "Option::is_none")]
    pub presigned: Option<String>,
}

impl S3Object {
    pub fn new(s3: String) -> S3Object {
        S3Object {
            s3,
            filename: None,
            storage: None,
            presigned: None,
        }
    }
}

