openapi_github/models/
copilot_seat_breakdown.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct CopilotSeatBreakdown {
17 #[serde(rename = "total", skip_serializing_if = "Option::is_none")]
19 pub total: Option<i32>,
20 #[serde(rename = "added_this_cycle", skip_serializing_if = "Option::is_none")]
22 pub added_this_cycle: Option<i32>,
23 #[serde(rename = "pending_cancellation", skip_serializing_if = "Option::is_none")]
25 pub pending_cancellation: Option<i32>,
26 #[serde(rename = "pending_invitation", skip_serializing_if = "Option::is_none")]
28 pub pending_invitation: Option<i32>,
29 #[serde(rename = "active_this_cycle", skip_serializing_if = "Option::is_none")]
31 pub active_this_cycle: Option<i32>,
32 #[serde(rename = "inactive_this_cycle", skip_serializing_if = "Option::is_none")]
34 pub inactive_this_cycle: Option<i32>,
35}
36
37impl CopilotSeatBreakdown {
38 pub fn new() -> CopilotSeatBreakdown {
40 CopilotSeatBreakdown {
41 total: None,
42 added_this_cycle: None,
43 pending_cancellation: None,
44 pending_invitation: None,
45 active_this_cycle: None,
46 inactive_this_cycle: None,
47 }
48 }
49}
50