/*
 * doqium - service-data REST API
 *
 * doqium - service-data REST API
 *
 * The version of the OpenAPI document: 1.0
 *
 * Generated by: https://openapi-generator.tech
 */

use crate::doqium_data_client::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ReplaceMasterKeyRequest {
    #[serde(rename = "oldMasterKey")]
    pub old_master_key: String,
    #[serde(rename = "newMasterKey")]
    pub new_master_key: String,
}

impl ReplaceMasterKeyRequest {
    pub fn new(old_master_key: String, new_master_key: String) -> ReplaceMasterKeyRequest {
        ReplaceMasterKeyRequest {
            old_master_key,
            new_master_key,
        }
    }
}
