/*
 * Artifact Keeper API
 *
 * REST API for Artifact Keeper, an open-source universal artifact registry. Covers user management, repositories, artifacts, search, security scanning, SBOM, dependency tracking, SSO, analytics, monitoring, telemetry, lifecycle policies, plugins, edge nodes, migration, and administration. Format-specific protocol endpoints (npm, PyPI, Maven, Docker/OCI, etc.) are not included; those follow their respective upstream specifications.
 *
 * The version of the OpenAPI document: 1.0.0-a2
 * 
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ListArtifactChunks200ResponseInner {
    #[serde(rename = "index")]
    pub index: i32,
    #[serde(rename = "offset")]
    pub offset: i32,
    #[serde(rename = "size")]
    pub size: i32,
    #[serde(rename = "sha256")]
    pub sha256: String,
    #[serde(rename = "status")]
    pub status: String,
}

impl ListArtifactChunks200ResponseInner {
    pub fn new(index: i32, offset: i32, size: i32, sha256: String, status: String) -> ListArtifactChunks200ResponseInner {
        ListArtifactChunks200ResponseInner {
            index,
            offset,
            size,
            sha256,
            status,
        }
    }
}

