fastly_api/models/
tls_bulk_certificate_data_attributes.rs

1/*
2 * Fastly API
3 *
4 * Via the Fastly API you can perform any of the operations that are possible within the management console,  including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://www.fastly.com/documentation/reference/api/) 
5 *
6 */
7
8
9
10
11#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
12pub struct TlsBulkCertificateDataAttributes {
13    /// Allow certificates that chain to untrusted roots.
14    #[serde(rename = "allow_untrusted_root", skip_serializing_if = "Option::is_none")]
15    pub allow_untrusted_root: Option<bool>,
16    /// The PEM-formatted certificate blob. Required.
17    #[serde(rename = "cert_blob", skip_serializing_if = "Option::is_none")]
18    pub cert_blob: Option<String>,
19    /// The PEM-formatted chain of intermediate blobs. Required.
20    #[serde(rename = "intermediates_blob", skip_serializing_if = "Option::is_none")]
21    pub intermediates_blob: Option<String>,
22}
23
24impl TlsBulkCertificateDataAttributes {
25    pub fn new() -> TlsBulkCertificateDataAttributes {
26        TlsBulkCertificateDataAttributes {
27            allow_untrusted_root: None,
28            cert_blob: None,
29            intermediates_blob: None,
30        }
31    }
32}
33
34