/*
 * Service Registry Fleet Manager
 *
 * Managed Service Registry cloud.redhat.com API Management API that lets you create new registry instances. Registry is a datastore for standard event schemas and API designs. Service Registry enables developers to manage and share the structure of their data using a REST interface. For example, client applications can dynamically push or pull the latest updates to or from the registry without needing to redeploy. Registry is an Managed version of upstream project called Apicurio Registry. Apicurio Registry also enables developers to create rules that govern how registry content can evolve over time. For example, this includes rules for content validation and version compatibility.
 *
 * The version of the OpenAPI document: 0.0.6
 * Contact: rhosak-eval-support@redhat.com
 * Generated by: https://openapi-generator.tech
 */




#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct RegistryList {
    #[serde(rename = "kind")]
    pub kind: String,
    #[serde(rename = "page")]
    pub page: i32,
    #[serde(rename = "size")]
    pub size: i32,
    #[serde(rename = "total")]
    pub total: i32,
    #[serde(rename = "items")]
    pub items: Vec<crate::models::Registry>,
}

impl RegistryList {
    pub fn new(kind: String, page: i32, size: i32, total: i32, items: Vec<crate::models::Registry>) -> RegistryList {
        RegistryList {
            kind,
            page,
            size,
            total,
            items,
        }
    }
}


