windmill_api/models/
check_s3_folder_exists_200_response.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct CheckS3FolderExists200Response {
16 #[serde(rename = "exists")]
18 pub exists: bool,
19 #[serde(rename = "is_folder")]
21 pub is_folder: bool,
22}
23
24impl CheckS3FolderExists200Response {
25 pub fn new(exists: bool, is_folder: bool) -> CheckS3FolderExists200Response {
26 CheckS3FolderExists200Response {
27 exists,
28 is_folder,
29 }
30 }
31}
32