// 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 PaginatedOutpostList {
    #[serde(rename = "pagination")]
    pub pagination: models::Pagination,
    #[serde(rename = "results")]
    pub results: Vec<models::Outpost>,
    #[serde(rename = "autocomplete")]
    pub autocomplete: std::collections::HashMap<String, serde_json::Value>,
}

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