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