openapi_github/models/
copilot_list_copilot_seats_200_response.rs

1/*
2 * GitHub's official OpenAPI spec + Octokit extension
3 *
4 * OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs
5 *
6 * The version of the OpenAPI document: 16.6.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct CopilotListCopilotSeats200Response {
16    /// Total number of Copilot seats for the organization currently being billed.
17    #[serde(rename = "total_seats", skip_serializing_if = "Option::is_none")]
18    pub total_seats: Option<i32>,
19    #[serde(rename = "seats", skip_serializing_if = "Option::is_none")]
20    pub seats: Option<Vec<models::CopilotSeatDetails>>,
21}
22
23impl CopilotListCopilotSeats200Response {
24    pub fn new() -> CopilotListCopilotSeats200Response {
25        CopilotListCopilotSeats200Response {
26            total_seats: None,
27            seats: None,
28        }
29    }
30}
31