antimatter_api 2.0.13

Interact with the Antimatter Cloud API
Documentation
/*
 * Antimatter Public API
 *
 * Interact with the Antimatter Cloud API
 *
 * The version of the OpenAPI document: 2.0.13
 * Contact: support@antimatter.io
 * Generated by: https://openapi-generator.tech
 */

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

/// RotateKeyEncryptionKeyResponse : The results for a rotation query 
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct RotateKeyEncryptionKeyResponse {
    /// If true, there are still keys encrypted with non-active root encryption keys. Query again to encrypted another batch. 
    #[serde(rename = "has_more")]
    pub has_more: bool,
}

impl RotateKeyEncryptionKeyResponse {
    /// The results for a rotation query 
    pub fn new(has_more: bool) -> RotateKeyEncryptionKeyResponse {
        RotateKeyEncryptionKeyResponse {
            has_more,
        }
    }
}