1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
* The Blue Alliance API v3
*
* # 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).
*
* The version of the OpenAPI document: 3.8.2
*
* Generated by: https://openapi-generator.tech
*/
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct EventDistrictPointsPointsValue {
/// Total points awarded at this event.
#[serde(rename = "total")]
pub total: i32,
/// Points awarded for alliance selection
#[serde(rename = "alliance_points")]
pub alliance_points: i32,
/// Points awarded for elimination match performance.
#[serde(rename = "elim_points")]
pub elim_points: i32,
/// Points awarded for event awards.
#[serde(rename = "award_points")]
pub award_points: i32,
/// Points awarded for qualification match performance.
#[serde(rename = "qual_points")]
pub qual_points: i32,
}
impl EventDistrictPointsPointsValue {
pub fn new(total: i32, alliance_points: i32, elim_points: i32, award_points: i32, qual_points: i32) -> EventDistrictPointsPointsValue {
EventDistrictPointsPointsValue {
total,
alliance_points,
elim_points,
award_points,
qual_points,
}
}
}