openapi_github/models/
repos_get_all_environments_200_response.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct ReposGetAllEnvironments200Response {
16 #[serde(rename = "total_count", skip_serializing_if = "Option::is_none")]
18 pub total_count: Option<i32>,
19 #[serde(rename = "environments", skip_serializing_if = "Option::is_none")]
20 pub environments: Option<Vec<models::Environment>>,
21}
22
23impl ReposGetAllEnvironments200Response {
24 pub fn new() -> ReposGetAllEnvironments200Response {
25 ReposGetAllEnvironments200Response {
26 total_count: None,
27 environments: None,
28 }
29 }
30}
31