uapi_sdk_rust/models/generated/
get_misc_timestamp_200_response.rs

1/*
2 * UAPI
3 *
4 * UAPI 官方接口文档
5 *
6 * The version of the OpenAPI document: 1.0.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 GetMiscTimestamp200Response {
16    #[serde(rename = "datetime_local", skip_serializing_if = "Option::is_none")]
17    pub datetime_local: Option<String>,
18    #[serde(rename = "datetime_utc", skip_serializing_if = "Option::is_none")]
19    pub datetime_utc: Option<String>,
20    #[serde(rename = "input", skip_serializing_if = "Option::is_none")]
21    pub input: Option<String>,
22    #[serde(rename = "type", skip_serializing_if = "Option::is_none")]
23    pub r#type: Option<String>,
24    #[serde(rename = "unix_timestamp", skip_serializing_if = "Option::is_none")]
25    pub unix_timestamp: Option<i32>,
26}
27
28impl GetMiscTimestamp200Response {
29    pub fn new() -> GetMiscTimestamp200Response {
30        GetMiscTimestamp200Response {
31            datetime_local: None,
32            datetime_utc: None,
33            input: None,
34            r#type: None,
35            unix_timestamp: None,
36        }
37    }
38}
39