// authentik
//
// Making authentication simple.
//
// The version of the OpenAPI document: 2026.5.0-rc1
// Contact: hello@goauthentik.io
// Generated by: https://openapi-generator.tech

use serde::{Deserialize, Serialize};

use crate::models;

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct PaginatedBrandList {
    #[serde(rename = "pagination")]
    pub pagination: models::Pagination,
    #[serde(rename = "results")]
    pub results: Vec<models::Brand>,
    #[serde(rename = "autocomplete")]
    pub autocomplete: std::collections::HashMap<String, serde_json::Value>,
}

impl PaginatedBrandList {
    pub fn new(
        pagination: models::Pagination,
        results: Vec<models::Brand>,
        autocomplete: std::collections::HashMap<String, serde_json::Value>,
    ) -> PaginatedBrandList {
        PaginatedBrandList {
            pagination,
            results,
            autocomplete,
        }
    }
}
