Skip to main content

exoscale_rs/models/
instance_pool_ref.rs

1/*
2 * Exoscale API
3 *
4 * Infrastructure automation API, allowing programmatic access to all Exoscale products and services.
5 *
6 * The version of the OpenAPI document: 2.0.0
7 * Contact: support@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 InstancePoolRef {
16    /// Instance Pool ID
17    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
18    pub id: Option<uuid::Uuid>,
19}
20
21impl InstancePoolRef {
22    /// Target Instance Pool
23    pub fn new() -> InstancePoolRef {
24        InstancePoolRef {
25            id: None,
26        }
27    }
28}
29