dtz-identity 2.1.6

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

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct NewContextRequest {
    #[serde(rename = "identity_id", skip_serializing_if = "Option::is_none")]
    pub identity_id: Option<dtz_identifier::IdentityId>,
    #[serde(rename = "service_principal_id", skip_serializing_if = "Option::is_none")]
    pub service_principal_id: Option<dtz_identifier::IdentityId>,
}

impl NewContextRequest {
    pub fn new() -> NewContextRequest {
        NewContextRequest {
            identity_id: None,
            service_principal_id: None,
        }
    }
}