doppler_rs/models/service_token_create_response.rs
1/*
2 * Core
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 1.0.0-oas3.1
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11/*
12 * Core
13 *
14 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
15 *
16 * The version of the OpenAPI document: 1.0.0-oas3.1
17 *
18 * Generated by: https://openapi-generator.tech
19 */
20
21use crate::models;
22use serde::{Deserialize, Serialize};
23use chrono::{DateTime, NaiveDate, Utc};
24/// ServiceTokenCreateResponse
25#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
26pub struct ServiceTokenCreateResponse {
27 #[serde(rename = "token", skip_serializing_if = "Option::is_none")]
28 pub token: Option<models::ServiceTokenDetails >,
29}
30
31impl ServiceTokenCreateResponse {
32 pub fn new() -> ServiceTokenCreateResponse {
33 ServiceTokenCreateResponse {
34 token: None,
35 }
36 }
37}
38