bitwarden_api_api/models/
send_file_upload_data_response_model.rs

1/*
2 * Bitwarden Internal API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: latest
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use serde::{Deserialize, Serialize};
12
13use crate::models;
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct SendFileUploadDataResponseModel {
17    #[serde(
18        rename = "object",
19        alias = "Object",
20        skip_serializing_if = "Option::is_none"
21    )]
22    pub object: Option<String>,
23    #[serde(rename = "url", alias = "Url", skip_serializing_if = "Option::is_none")]
24    pub url: Option<String>,
25    #[serde(
26        rename = "fileUploadType",
27        alias = "FileUploadType",
28        skip_serializing_if = "Option::is_none"
29    )]
30    pub file_upload_type: Option<models::FileUploadType>,
31    #[serde(
32        rename = "sendResponse",
33        alias = "SendResponse",
34        skip_serializing_if = "Option::is_none"
35    )]
36    pub send_response: Option<Box<models::SendResponseModel>>,
37}
38
39impl SendFileUploadDataResponseModel {
40    pub fn new() -> SendFileUploadDataResponseModel {
41        SendFileUploadDataResponseModel {
42            object: None,
43            url: None,
44            file_upload_type: None,
45            send_response: None,
46        }
47    }
48}