egs_api/api/types/
entitlement.rs1use serde::{Deserialize, Serialize};
2
3#[allow(missing_docs)]
4#[derive(Default, Debug, Clone, PartialEq, Serialize, Deserialize)]
5#[serde(rename_all = "camelCase")]
6pub struct Entitlement {
7 pub id: String,
8 pub entitlement_name: String,
9 pub namespace: String,
10 pub catalog_item_id: String,
11 pub account_id: String,
12 pub identity_id: String,
13 pub entitlement_type: String,
14 pub grant_date: String,
15 pub consumable: bool,
16 pub status: String,
17 pub active: bool,
18 pub use_count: i64,
19 pub created: String,
20 pub updated: String,
21 pub group_entitlement: bool,
22 pub original_use_count: Option<i64>,
23 pub platform_type: Option<String>,
24 pub country: Option<String>,
25}