cortex_client/models/
status_response_config.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct StatusResponseConfig {
16 #[serde(rename = "protectDownloadsWith", skip_serializing_if = "Option::is_none")]
17 pub protect_downloads_with: Option<String>,
18 #[serde(rename = "authType", skip_serializing_if = "Option::is_none")]
19 pub auth_type: Option<Box<models::StatusResponseConfigAuthType>>,
20 #[serde(rename = "capabilities", skip_serializing_if = "Option::is_none")]
21 pub capabilities: Option<Vec<String>>,
22 #[serde(rename = "ssoAutoLogin", skip_serializing_if = "Option::is_none")]
23 pub sso_auto_login: Option<bool>,
24}
25
26impl StatusResponseConfig {
27 pub fn new() -> StatusResponseConfig {
28 StatusResponseConfig {
29 protect_downloads_with: None,
30 auth_type: None,
31 capabilities: None,
32 sso_auto_login: None,
33 }
34 }
35}
36