Skip to main content

akeyless_api/models/
zero_ssl_target_details.rs

1/*
2 * Akeyless API
3 *
4 * The purpose of this application is to provide access to Akeyless API.
5 *
6 * The version of the OpenAPI document: 3.0
7 * Contact: support@akeyless.io
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// ZeroSslTargetDetails : ZeroSSLTargetDetails
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct ZeroSslTargetDetails {
17    #[serde(rename = "api_key", skip_serializing_if = "Option::is_none")]
18    pub api_key: Option<String>,
19    #[serde(rename = "imap_fqdn", skip_serializing_if = "Option::is_none")]
20    pub imap_fqdn: Option<String>,
21    #[serde(rename = "imap_password", skip_serializing_if = "Option::is_none")]
22    pub imap_password: Option<String>,
23    #[serde(rename = "imap_port", skip_serializing_if = "Option::is_none")]
24    pub imap_port: Option<String>,
25    #[serde(rename = "imap_user", skip_serializing_if = "Option::is_none")]
26    pub imap_user: Option<String>,
27    /// A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years.
28    #[serde(rename = "timeout", skip_serializing_if = "Option::is_none")]
29    pub timeout: Option<i64>,
30    #[serde(rename = "validation_email", skip_serializing_if = "Option::is_none")]
31    pub validation_email: Option<String>,
32}
33
34impl ZeroSslTargetDetails {
35    /// ZeroSSLTargetDetails
36    pub fn new() -> ZeroSslTargetDetails {
37        ZeroSslTargetDetails {
38            api_key: None,
39            imap_fqdn: None,
40            imap_password: None,
41            imap_port: None,
42            imap_user: None,
43            timeout: None,
44            validation_email: None,
45        }
46    }
47}
48