netlify_rust/models/
dns_zone_setup.rs

1/*
2 * Netlify's API documentation
3 *
4 * Netlify is a hosting service for the programmable web. It understands your documents and provides an API to handle atomic deploys of websites, manage form submissions, inject JavaScript snippets, and much more. This is a REST-style API that uses JSON for serialization and OAuth 2 for authentication.  This document is an OpenAPI reference for the Netlify API that you can explore. For more detailed instructions for common uses, please visit the [online documentation](https://www.netlify.com/docs/api/). Visit our Community forum to join the conversation about [understanding and using Netlify’s API](https://community.netlify.com/t/common-issue-understanding-and-using-netlifys-api/160).  Additionally, we have two API clients for your convenience: - [Go Client](https://github.com/netlify/open-api#go-client) - [JS Client](https://github.com/netlify/js-client)
5 *
6 * The version of the OpenAPI document: 2.5.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct DnsZoneSetup {
16    #[serde(rename = "account_slug", skip_serializing_if = "Option::is_none")]
17    pub account_slug: Option<String>,
18    #[serde(rename = "site_id", skip_serializing_if = "Option::is_none")]
19    pub site_id: Option<String>,
20    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
21    pub name: Option<String>,
22}
23
24impl DnsZoneSetup {
25    pub fn new() -> DnsZoneSetup {
26        DnsZoneSetup {
27            account_slug: None,
28            site_id: None,
29            name: None,
30        }
31    }
32}
33
34