exoscale/models/list_zones_200_response.rs
1/*
2 * Exoscale Public API
3 *
4 * Infrastructure automation API, allowing programmatic access to all Exoscale products and services. The [OpenAPI Specification](http://spec.openapis.org/oas/v3.0.3.html) source of this documentation can be obtained here: * [JSON format](https://bump.sh/doc/exoscale-api.json) * [YAML format](https://bump.sh/doc/exoscale-api.yaml)
5 *
6 * The version of the OpenAPI document: 2.0.0
7 * Contact: api@exoscale.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
12pub struct ListZones200Response {
13 #[serde(rename = "zones", skip_serializing_if = "Option::is_none")]
14 pub zones: Option<Vec<crate::models::Zone>>,
15}
16
17impl ListZones200Response {
18 pub fn new() -> ListZones200Response {
19 ListZones200Response { zones: None }
20 }
21}