dtz_core/models/
login.rs

1/*
2 * DTZ Core Api
3 *
4 * a generated client for the DTZ Core 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 Login {
17    #[serde(rename = "providerName")]
18    pub provider_name: String,
19}
20
21impl Login {
22    pub fn new(provider_name: String) -> Login {
23        Login {
24            provider_name,
25        }
26    }
27}
28