use serde::{Deserialize, Serialize}; /*
                                      * Cloud Storage JSON API
                                      *
                                      * Stores and retrieves potentially large, immutable data objects.
                                      *
                                      * The version of the OpenAPI document: v1
                                      *
                                      * Generated by: https://openapi-generator.tech
                                      */

/// HmacKeysMetadata : A list of hmacKeys.

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct HmacKeysMetadata {
    /// The list of items.
    #[serde(rename = "items", skip_serializing_if = "Option::is_none")]
    pub items: Option<Vec<crate::google_rest_apis::storage_v1::models::HmacKeyMetadata>>,
    /// The kind of item this is. For lists of hmacKeys, this is always storage#hmacKeysMetadata.
    #[serde(rename = "kind", skip_serializing_if = "Option::is_none")]
    pub kind: Option<String>,
    /// The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
    #[serde(rename = "nextPageToken", skip_serializing_if = "Option::is_none")]
    pub next_page_token: Option<String>,
}

impl HmacKeysMetadata {
    /// A list of hmacKeys.
    pub fn new() -> HmacKeysMetadata {
        HmacKeysMetadata {
            items: None,
            kind: None,
            next_page_token: None,
        }
    }
}
