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 SystemConfigStorageTemplateDto {
    #[serde(rename = "enabled")]
    pub enabled: bool,
    #[serde(rename = "hashVerificationEnabled")]
    pub hash_verification_enabled: bool,
    #[serde(rename = "template")]
    pub template: String,
}

impl SystemConfigStorageTemplateDto {
    pub fn new(enabled: bool, hash_verification_enabled: bool, template: String) -> SystemConfigStorageTemplateDto {
        SystemConfigStorageTemplateDto {
            enabled,
            hash_verification_enabled,
            template,
        }
    }
}