immich_api_rs 1.137.3

Immich API
Documentation
/*
 * Immich
 *
 * Immich API
 *
 * The version of the OpenAPI document: 1.137.3
 * 
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AlbumStatisticsResponseDto {
    #[serde(rename = "notShared")]
    pub not_shared: i32,
    #[serde(rename = "owned")]
    pub owned: i32,
    #[serde(rename = "shared")]
    pub shared: i32,
}

impl AlbumStatisticsResponseDto {
    pub fn new(not_shared: i32, owned: i32, shared: i32) -> AlbumStatisticsResponseDto {
        AlbumStatisticsResponseDto {
            not_shared,
            owned,
            shared,
        }
    }
}