bitwarden_api_api/models/
self_hosted_organization_license_request_model.rs1use serde::{Deserialize, Serialize};
12
13use crate::models;
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct SelfHostedOrganizationLicenseRequestModel {
17 #[serde(rename = "licenseKey", skip_serializing_if = "Option::is_none")]
18 pub license_key: Option<String>,
19 #[serde(rename = "billingSyncKey", skip_serializing_if = "Option::is_none")]
20 pub billing_sync_key: Option<String>,
21}
22
23impl SelfHostedOrganizationLicenseRequestModel {
24 pub fn new() -> SelfHostedOrganizationLicenseRequestModel {
25 SelfHostedOrganizationLicenseRequestModel {
26 license_key: None,
27 billing_sync_key: None,
28 }
29 }
30}