fastcomments_sdk/client/src/models/
aggregation_item.rs

1/*
2 * fastcomments
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 0.0.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::client::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct AggregationItem {
16    /// Construct a type with a set of properties K of type T
17    #[serde(rename = "groups", skip_serializing_if = "Option::is_none")]
18    pub groups: Option<std::collections::HashMap<String, String>>,
19}
20
21impl AggregationItem {
22    pub fn new() -> AggregationItem {
23        AggregationItem {
24            groups: None,
25        }
26    }
27}
28