Skip to main content

akeyless_api/models/
sectigo_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/// SectigoTargetDetails : SectigoTargetDetails
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct SectigoTargetDetails {
17    #[serde(rename = "certificate_profile_id", skip_serializing_if = "Option::is_none")]
18    pub certificate_profile_id: Option<i64>,
19    #[serde(rename = "customer_uri", skip_serializing_if = "Option::is_none")]
20    pub customer_uri: Option<String>,
21    #[serde(rename = "external_requester", skip_serializing_if = "Option::is_none")]
22    pub external_requester: Option<String>,
23    #[serde(rename = "org_id", skip_serializing_if = "Option::is_none")]
24    pub org_id: Option<i64>,
25    #[serde(rename = "password", skip_serializing_if = "Option::is_none")]
26    pub password: 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 = "username", skip_serializing_if = "Option::is_none")]
31    pub username: Option<String>,
32}
33
34impl SectigoTargetDetails {
35    /// SectigoTargetDetails
36    pub fn new() -> SectigoTargetDetails {
37        SectigoTargetDetails {
38            certificate_profile_id: None,
39            customer_uri: None,
40            external_requester: None,
41            org_id: None,
42            password: None,
43            timeout: None,
44            username: None,
45        }
46    }
47}
48