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 CreateProfileImageResponseDto {
    #[serde(rename = "profileChangedAt")]
    pub profile_changed_at: String,
    #[serde(rename = "profileImagePath")]
    pub profile_image_path: String,
    #[serde(rename = "userId")]
    pub user_id: String,
}

impl CreateProfileImageResponseDto {
    pub fn new(profile_changed_at: String, profile_image_path: String, user_id: String) -> CreateProfileImageResponseDto {
        CreateProfileImageResponseDto {
            profile_changed_at,
            profile_image_path,
            user_id,
        }
    }
}