authentik_client/models/
transaction_application_response.rs

1/*
2 * authentik
3 *
4 * Making authentication simple.
5 *
6 * The version of the OpenAPI document: 2025.12.1
7 * Contact: hello@goauthentik.io
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// TransactionApplicationResponse : Transactional creation response
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct TransactionApplicationResponse {
17    #[serde(rename = "applied")]
18    pub applied: bool,
19    #[serde(rename = "logs")]
20    pub logs: Vec<String>,
21}
22
23impl TransactionApplicationResponse {
24    /// Transactional creation response
25    pub fn new(applied: bool, logs: Vec<String>) -> TransactionApplicationResponse {
26        TransactionApplicationResponse { applied, logs }
27    }
28}