uapi-sdk-rust 0.1.15

UAPI Rust SDK - idiomatic, typed, domain-driven API client.
Documentation
/*
 * UAPI
 *
 * UAPI 官方接口文档
 *
 * The version of the OpenAPI document: 1.0.0
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct EndpointsAggregate {
    #[serde(rename = "endpoints", skip_serializing_if = "Option::is_none")]
    pub endpoints: Option<Vec<models::EndpointsAggregateEndpointsInner>>,
    #[serde(rename = "unaggregated", skip_serializing_if = "Option::is_none")]
    pub unaggregated: Option<Box<models::EndpointsAggregateUnaggregated>>,
}

impl EndpointsAggregate {
    pub fn new() -> EndpointsAggregate {
        EndpointsAggregate {
            endpoints: None,
            unaggregated: None,
        }
    }
}