dtz_core/models/login.rs
1/*
2 * DTZ Core Api
3 *
4 * a generated client for the DTZ Core API
5 *
6 * The version of the OpenAPI document: 2.0.0
7 * Contact: jens@apimeister.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11#[allow(unused_imports)]
12use crate::models;
13#[allow(unused_imports)]
14use serde::{Deserialize, Serialize};
15
16#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
17pub struct Login {
18 #[serde(rename = "providerName")]
19 pub provider_name: String,
20}
21
22impl Login {
23 pub fn new(provider_name: String) -> Login {
24 Login {
25 provider_name,
26 }
27 }
28}
29