/*
* opensearch-client
*
* Rust Client for OpenSearch
*
* The version of the OpenAPI document: 3.1.0
* Contact: alberto.paro@gmail.com
* Generated by Paro OpenAPI Generator
*/
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct FileCountSnapshotStats {
#[serde(rename = "file_count")]
pub file_count: u32,
#[serde(rename = "size_in_bytes")]
pub size_in_bytes: u32,
}
impl FileCountSnapshotStats {
pub fn new(file_count: u32, size_in_bytes: u32) -> FileCountSnapshotStats {
FileCountSnapshotStats {
file_count,
size_in_bytes,
}
}
}