// authentik
//
// Making authentication simple.
//
// The version of the OpenAPI document: 2026.5.3
// 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 PaginatedLdapOutpostConfigList {
    #[serde(rename = "pagination")]
    pub pagination: models::Pagination,
    #[serde(rename = "results")]
    pub results: Vec<models::LdapOutpostConfig>,
    #[serde(rename = "autocomplete")]
    pub autocomplete: std::collections::HashMap<String, serde_json::Value>,
}

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