messaging_api_line/models/
get_aggregation_unit_usage_response.rs

1/*
2 * LINE Messaging API
3 *
4 * This document describes LINE Messaging API.
5 *
6 * The version of the OpenAPI document: 0.0.1
7 * 
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 GetAggregationUnitUsageResponse {
16    /// Number of aggregation units used this month.
17    #[serde(rename = "numOfCustomAggregationUnits")]
18    pub num_of_custom_aggregation_units: i64,
19}
20
21impl GetAggregationUnitUsageResponse {
22    pub fn new(num_of_custom_aggregation_units: i64) -> GetAggregationUnitUsageResponse {
23        GetAggregationUnitUsageResponse {
24            num_of_custom_aggregation_units,
25        }
26    }
27}
28