warframe_client/models/
vallis_cycle.rs

1/*
2 * WarframeStat.us API
3 *
4 * Simple API for data from the game Warframe. [Parser Docs](https://wfcd.github.io/warframe-worldstate-parser/) [Items Types](https://github.com/WFCD/warframe-items/blob/master/index.d.ts) 
5 *
6 * The version of the OpenAPI document: 2.0.8
7 * Contact: tobiah@protonmail.com
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 VallisCycle {
16    #[serde(rename = "id")]
17    pub id: String,
18    #[serde(rename = "expiry")]
19    pub expiry: String,
20    #[serde(rename = "timeLeft")]
21    pub time_left: String,
22    #[serde(rename = "isWarm")]
23    pub is_warm: bool,
24}
25
26impl VallisCycle {
27    pub fn new(id: String, expiry: String, time_left: String, is_warm: bool) -> VallisCycle {
28        VallisCycle {
29            id,
30            expiry,
31            time_left,
32            is_warm,
33        }
34    }
35}
36