tba_openapi_rust/models/
api_status_app_version.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 ApiStatusAppVersion {
16    /// Internal use - Minimum application version required to correctly connect and process data.
17    #[serde(rename = "min_app_version")]
18    pub min_app_version: i32,
19    /// Internal use - Latest application version available.
20    #[serde(rename = "latest_app_version")]
21    pub latest_app_version: i32,
22}
23
24impl ApiStatusAppVersion {
25    pub fn new(min_app_version: i32, latest_app_version: i32) -> ApiStatusAppVersion {
26        ApiStatusAppVersion {
27            min_app_version,
28            latest_app_version,
29        }
30    }
31}
32
33