bitwarden_api_api/models/
pre_validate_sponsorship_response_model.rsuse serde::{Deserialize, Serialize};
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct PreValidateSponsorshipResponseModel {
#[serde(rename = "isTokenValid", skip_serializing_if = "Option::is_none")]
pub is_token_valid: Option<bool>,
#[serde(
rename = "isFreeFamilyPolicyEnabled",
skip_serializing_if = "Option::is_none"
)]
pub is_free_family_policy_enabled: Option<bool>,
}
impl PreValidateSponsorshipResponseModel {
pub fn new() -> PreValidateSponsorshipResponseModel {
PreValidateSponsorshipResponseModel {
is_token_valid: None,
is_free_family_policy_enabled: None,
}
}
}