Skip to main content

dtz_identity/models/
oauth_code_response.rs

1/*
2 * DTZ Identity
3 *
4 * a generated client for the DTZ Identity API
5 *
6 * Contact: jens@apimeister.com
7 * Generated by: https://openapi-generator.tech
8 */
9
10#[allow(unused_imports)]
11use crate::models;
12#[allow(unused_imports)]
13use serde::{Deserialize, Serialize};
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct OauthCodeResponse {
17    /// OAuth authorization code
18    #[serde(rename = "code", skip_serializing_if = "Option::is_none")]
19    pub code: Option<String>,
20}
21
22impl OauthCodeResponse {
23    pub fn new() -> OauthCodeResponse {
24        OauthCodeResponse {
25            code: None,
26        }
27    }
28}
29