bitwarden_api_api/models/
provider_user_response_model.rsuse serde::{Deserialize, Serialize};
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ProviderUserResponseModel {
#[serde(rename = "object", skip_serializing_if = "Option::is_none")]
pub object: Option<String>,
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
pub id: Option<uuid::Uuid>,
#[serde(rename = "userId", skip_serializing_if = "Option::is_none")]
pub user_id: Option<uuid::Uuid>,
#[serde(rename = "type", skip_serializing_if = "Option::is_none")]
pub r#type: Option<models::ProviderUserType>,
#[serde(rename = "status", skip_serializing_if = "Option::is_none")]
pub status: Option<models::ProviderUserStatusType>,
#[serde(rename = "permissions", skip_serializing_if = "Option::is_none")]
pub permissions: Option<Box<models::Permissions>>,
}
impl ProviderUserResponseModel {
pub fn new() -> ProviderUserResponseModel {
ProviderUserResponseModel {
object: None,
id: None,
user_id: None,
r#type: None,
status: None,
permissions: None,
}
}
}