use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct PlanResolution {
#[serde(rename = "entitlements", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub entitlements: Option<Option<serde_json::Value>>,
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
pub id: Option<String>,
#[serde(rename = "license_features", skip_serializing_if = "Option::is_none")]
pub license_features: Option<Vec<String>>,
#[serde(rename = "price_ref", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub price_ref: Option<Option<serde_json::Value>>,
#[serde(rename = "tenant_id", skip_serializing_if = "Option::is_none")]
pub tenant_id: Option<String>,
}
impl PlanResolution {
pub fn new() -> PlanResolution {
PlanResolution {
entitlements: None,
id: None,
license_features: None,
price_ref: None,
tenant_id: None,
}
}
}