tba_openapi_rust/models/
elimination_alliance_status.rs

1/*
2 * The Blue Alliance API v3
3 *
4 * # Overview    Information and statistics about FIRST Robotics Competition teams and events.   # Authentication   All endpoints require an Auth Key to be passed in the header `X-TBA-Auth-Key`. If you do not have an auth key yet, you can obtain one from your [Account Page](/account).
5 *
6 * The version of the OpenAPI document: 3.8.2
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct EliminationAllianceStatus {
16    #[serde(rename = "playoff_average", skip_serializing_if = "Option::is_none")]
17    pub playoff_average: Option<f64>,
18    #[serde(rename = "level", skip_serializing_if = "Option::is_none")]
19    pub level: Option<String>,
20    #[serde(rename = "record", skip_serializing_if = "Option::is_none")]
21    pub record: Option<Box<crate::models::WltRecord>>,
22    #[serde(rename = "current_level_record", skip_serializing_if = "Option::is_none")]
23    pub current_level_record: Option<Box<crate::models::WltRecord>>,
24    #[serde(rename = "status", skip_serializing_if = "Option::is_none")]
25    pub status: Option<String>,
26}
27
28impl EliminationAllianceStatus {
29    pub fn new() -> EliminationAllianceStatus {
30        EliminationAllianceStatus {
31            playoff_average: None,
32            level: None,
33            record: None,
34            current_level_record: None,
35            status: None,
36        }
37    }
38}
39
40