fastly_api/models/
successful_response_as_object_all_of.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 SuccessfulResponseAsObjectAllOf {
13    /// Domain Identifier (UUID).
14    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
15    pub id: Option<String>,
16    /// The fully-qualified domain name for your domain. Can be created, but not updated.
17    #[serde(rename = "fqdn", skip_serializing_if = "Option::is_none")]
18    pub fqdn: Option<String>,
19    /// The `service_id` associated with your domain or `null` if there is no association.
20    #[serde(rename = "service_id", skip_serializing_if = "Option::is_none")]
21    pub service_id: Option<String>,
22    /// A freeform descriptive note.
23    #[serde(rename = "description", skip_serializing_if = "Option::is_none")]
24    pub description: Option<String>,
25    /// Denotes if the domain has at least one TLS activation or not.
26    #[serde(rename = "activated", skip_serializing_if = "Option::is_none")]
27    pub activated: Option<bool>,
28    /// Denotes that the customer has proven ownership over the domain by obtaining a Fastly-managed TLS certificate for it or by providing a their own TLS certificate from a publicly-trusted CA that includes the domain or matching wildcard.     
29    #[serde(rename = "verified", skip_serializing_if = "Option::is_none")]
30    pub verified: Option<bool>,
31}
32
33impl SuccessfulResponseAsObjectAllOf {
34    pub fn new() -> SuccessfulResponseAsObjectAllOf {
35        SuccessfulResponseAsObjectAllOf {
36            id: None,
37            fqdn: None,
38            service_id: None,
39            description: None,
40            activated: None,
41            verified: None,
42        }
43    }
44}
45
46