authentik_client/models/
paginated_plex_source_property_mapping_list.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct PaginatedPlexSourcePropertyMappingList {
16 #[serde(rename = "pagination")]
17 pub pagination: models::Pagination,
18 #[serde(rename = "results")]
19 pub results: Vec<models::PlexSourcePropertyMapping>,
20 #[serde(rename = "autocomplete")]
21 pub autocomplete: std::collections::HashMap<String, serde_json::Value>,
22}
23
24impl PaginatedPlexSourcePropertyMappingList {
25 pub fn new(
26 pagination: models::Pagination,
27 results: Vec<models::PlexSourcePropertyMapping>,
28 autocomplete: std::collections::HashMap<String, serde_json::Value>,
29 ) -> PaginatedPlexSourcePropertyMappingList {
30 PaginatedPlexSourcePropertyMappingList {
31 pagination,
32 results,
33 autocomplete,
34 }
35 }
36}