bitwarden_api_api/models/
organization_sponsorship_sync_request_model.rsuse serde::{Deserialize, Serialize};
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct OrganizationSponsorshipSyncRequestModel {
#[serde(rename = "billingSyncKey", skip_serializing_if = "Option::is_none")]
pub billing_sync_key: Option<String>,
#[serde(
rename = "sponsoringOrganizationCloudId",
skip_serializing_if = "Option::is_none"
)]
pub sponsoring_organization_cloud_id: Option<uuid::Uuid>,
#[serde(rename = "sponsorshipsBatch", skip_serializing_if = "Option::is_none")]
pub sponsorships_batch: Option<Vec<models::OrganizationSponsorshipRequestModel>>,
}
impl OrganizationSponsorshipSyncRequestModel {
pub fn new() -> OrganizationSponsorshipSyncRequestModel {
OrganizationSponsorshipSyncRequestModel {
billing_sync_key: None,
sponsoring_organization_cloud_id: None,
sponsorships_batch: None,
}
}
}