space_traders/models/
get_status_200_response_server_resets.rs

1//! Generated by: <https://openapi-generator.tech>
2//!
3//! Version of specification: `2.0.0`
4
5use serde::{Deserialize, Serialize};
6
7///
8#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
9pub struct GetStatus200ResponseServerResets {
10    /// The date and time when the game server will reset.
11    #[serde(rename = "next")]
12    pub next: String,
13    /// How often we intend to reset the game server.
14    #[serde(rename = "frequency")]
15    pub frequency: String,
16}
17
18impl GetStatus200ResponseServerResets {
19    /// Create value with optional fields set to `None`.
20    #[allow(clippy::too_many_arguments)]
21    pub fn new(next: String, frequency: String) -> GetStatus200ResponseServerResets {
22        GetStatus200ResponseServerResets { next, frequency }
23    }
24}