bitwarden-api-api 3.0.0

Api bindings for the Bitwarden API.
Documentation
/*
 * Bitwarden Internal API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: latest
 *
 * Generated by: https://openapi-generator.tech
 */

use serde::{Deserialize, Serialize};

use crate::models;

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SendFileUploadDataResponseModel {
    #[serde(
        rename = "object",
        alias = "Object",
        skip_serializing_if = "Option::is_none"
    )]
    pub object: Option<String>,
    #[serde(rename = "url", alias = "Url", skip_serializing_if = "Option::is_none")]
    pub url: Option<String>,
    #[serde(
        rename = "fileUploadType",
        alias = "FileUploadType",
        skip_serializing_if = "Option::is_none"
    )]
    pub file_upload_type: Option<models::FileUploadType>,
    #[serde(
        rename = "sendResponse",
        alias = "SendResponse",
        skip_serializing_if = "Option::is_none"
    )]
    pub send_response: Option<Box<models::SendResponseModel>>,
}

impl SendFileUploadDataResponseModel {
    pub fn new() -> SendFileUploadDataResponseModel {
        SendFileUploadDataResponseModel {
            object: None,
            url: None,
            file_upload_type: None,
            send_response: None,
        }
    }
}