exoscale_rs/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://openapi-v2.exoscale.com/source.json) * [YAML format](https://openapi-v2.exoscale.com/source.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
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct CopyTemplateRequest {
16 #[serde(rename = "target-zone")]
17 pub target_zone: Box<models::Zone>,
18}
19
20impl CopyTemplateRequest {
21 pub fn new(target_zone: models::Zone) -> CopyTemplateRequest {
22 CopyTemplateRequest {
23 target_zone: Box::new(target_zone),
24 }
25 }
26}
27