dtz-containers 2.2.5

a generated client for the DTZ Containers API
Documentation
/*
 * DTZ Containers
 *
 * a generated client for the DTZ Containers API
 *
 * Contact: jens@apimeister.com
 * Generated by: https://openapi-generator.tech
 */

#[allow(unused_imports)]
use crate::models;
#[allow(unused_imports)]
use serde::{Deserialize, Serialize};

/// UpdateServiceRequestLogin : a login can only be added, to remove the login functionality, either set the providerName to an empty string or recreate the service without the login property
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct UpdateServiceRequestLogin {
    #[serde(rename = "providerName")]
    pub provider_name: String,
}

impl UpdateServiceRequestLogin {
    /// a login can only be added, to remove the login functionality, either set the providerName to an empty string or recreate the service without the login property
    pub fn new(provider_name: String) -> UpdateServiceRequestLogin {
        UpdateServiceRequestLogin {
            provider_name,
        }
    }
}