exoscale/models/copy_template_request.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 CopyTemplateRequest {
13 #[serde(rename = "target-zone")]
14 pub target_zone: Box<crate::models::Zone>,
15}
16
17impl CopyTemplateRequest {
18 pub fn new(target_zone: crate::models::Zone) -> CopyTemplateRequest {
19 CopyTemplateRequest {
20 target_zone: Box::new(target_zone),
21 }
22 }
23}