fusionauth_rust_client/models/
tenant_response.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct TenantResponse {
17 #[serde(rename = "tenant", skip_serializing_if = "Option::is_none")]
18 pub tenant: Option<Box<models::Tenant>>,
19 #[serde(rename = "tenants", skip_serializing_if = "Option::is_none")]
20 pub tenants: Option<Vec<models::Tenant>>,
21}
22
23impl TenantResponse {
24 pub fn new() -> TenantResponse {
26 TenantResponse {
27 tenant: None,
28 tenants: None,
29 }
30 }
31}
32