/*
 * 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 FacetsResponse {
    #[serde(rename = "content_types")]
    pub content_types: Vec<models::FacetValue>,
    #[serde(rename = "formats")]
    pub formats: Vec<models::FacetValue>,
    #[serde(rename = "repositories")]
    pub repositories: Vec<models::FacetValue>,
}

impl FacetsResponse {
    pub fn new(content_types: Vec<models::FacetValue>, formats: Vec<models::FacetValue>, repositories: Vec<models::FacetValue>) -> FacetsResponse {
        FacetsResponse {
            content_types,
            formats,
            repositories,
        }
    }
}

