/*
 * Artifact Keeper API
 *
 * Enterprise artifact registry supporting 45+ package formats.
 *
 * The version of the OpenAPI document: 1.0.0-rc.3
 * 
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ChunkManifestResponse {
    #[serde(rename = "chunks")]
    pub chunks: Vec<models::ChunkEntry>,
    #[serde(rename = "session_id")]
    pub session_id: uuid::Uuid,
}

impl ChunkManifestResponse {
    pub fn new(chunks: Vec<models::ChunkEntry>, session_id: uuid::Uuid) -> ChunkManifestResponse {
        ChunkManifestResponse {
            chunks,
            session_id,
        }
    }
}

