authentik_rust/models/certificate_data.rs
1/*
2 * authentik
3 *
4 * Making authentication simple.
5 *
6 * The version of the OpenAPI document: 2024.2.1
7 * Contact: hello@goauthentik.io
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12
13/// CertificateData : Get CertificateKeyPair's data
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct CertificateData {
16 #[serde(rename = "data")]
17 pub data: String,
18}
19
20impl CertificateData {
21 /// Get CertificateKeyPair's data
22 pub fn new(data: String) -> CertificateData {
23 CertificateData {
24 data,
25 }
26 }
27}
28