cortex_client/models/
status_response_config.rs

1/*
2 * Cortex API
3 *
4 * API for Cortex, a powerful observable analysis and active response engine.
5 *
6 * The version of the OpenAPI document: 3.1.8
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use 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