authentik_client/models/sync_object_result.rs
1/*
2 * authentik
3 *
4 * Making authentication simple.
5 *
6 * The version of the OpenAPI document: 2026.2.1
7 * Contact: hello@goauthentik.io
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// SyncObjectResult : Result of a single object sync
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct SyncObjectResult {
17 #[serde(rename = "messages")]
18 pub messages: Vec<models::LogEvent>,
19}
20
21impl SyncObjectResult {
22 /// Result of a single object sync
23 pub fn new(messages: Vec<models::LogEvent>) -> SyncObjectResult {
24 SyncObjectResult { messages }
25 }
26}