netlify_rust/models/
account_update_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 AccountUpdateSetup {
16    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
17    pub name: Option<String>,
18    #[serde(rename = "slug", skip_serializing_if = "Option::is_none")]
19    pub slug: Option<String>,
20    #[serde(rename = "type_id", skip_serializing_if = "Option::is_none")]
21    pub type_id: Option<String>,
22    #[serde(rename = "extra_seats_block", skip_serializing_if = "Option::is_none")]
23    pub extra_seats_block: Option<i32>,
24    #[serde(rename = "billing_name", skip_serializing_if = "Option::is_none")]
25    pub billing_name: Option<String>,
26    #[serde(rename = "billing_email", skip_serializing_if = "Option::is_none")]
27    pub billing_email: Option<String>,
28    #[serde(rename = "billing_details", skip_serializing_if = "Option::is_none")]
29    pub billing_details: Option<String>,
30}
31
32impl AccountUpdateSetup {
33    pub fn new() -> AccountUpdateSetup {
34        AccountUpdateSetup {
35            name: None,
36            slug: None,
37            type_id: None,
38            extra_seats_block: None,
39            billing_name: None,
40            billing_email: None,
41            billing_details: None,
42        }
43    }
44}
45
46