qeztorncodegen/models/timestamp_response.rs
1/*
2 * Torn API
3 *
4 * * The development of Torn's API v2 is still ongoing. * If selections remain unaltered, they will default to the API v1 version. * Unlike API v1, API v2 accepts both selections and IDs as path and query parameters. * If any discrepancies or errors are found, please submit a [bug report](https://www.torn.com/forums.php#/p=forums&f=19&b=0&a=0) on the Torn Forums.
5 *
6 * The version of the OpenAPI document: 2.0
7 *
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 TimestampResponse {
16 #[serde(rename = "timestamp", skip_serializing_if = "Option::is_none")]
17 pub timestamp: Option<i32>,
18}
19
20impl TimestampResponse {
21 pub fn new() -> TimestampResponse {
22 TimestampResponse {
23 timestamp: None,
24 }
25 }
26}
27