use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ReadAssertionsResponse {
#[serde(rename = "authorization_model_id")]
pub authorization_model_id: String,
#[serde(rename = "assertions", skip_serializing_if = "Option::is_none")]
pub assertions: Option<Vec<models::Assertion>>,
}
impl ReadAssertionsResponse {
pub fn new(authorization_model_id: String) -> ReadAssertionsResponse {
ReadAssertionsResponse {
authorization_model_id,
assertions: None,
}
}
}