bitwarden_api_api/models/
send_file_upload_data_response_model.rs1use serde::{Deserialize, Serialize};
12
13use crate::models;
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct SendFileUploadDataResponseModel {
17 #[serde(rename = "object", skip_serializing_if = "Option::is_none")]
18 pub object: Option<String>,
19 #[serde(rename = "url", skip_serializing_if = "Option::is_none")]
20 pub url: Option<String>,
21 #[serde(rename = "fileUploadType", skip_serializing_if = "Option::is_none")]
22 pub file_upload_type: Option<models::FileUploadType>,
23 #[serde(rename = "sendResponse", skip_serializing_if = "Option::is_none")]
24 pub send_response: Option<Box<models::SendResponseModel>>,
25}
26
27impl SendFileUploadDataResponseModel {
28 pub fn new() -> SendFileUploadDataResponseModel {
29 SendFileUploadDataResponseModel {
30 object: None,
31 url: None,
32 file_upload_type: None,
33 send_response: None,
34 }
35 }
36}