use serde::{Deserialize, Serialize}; /*
                                      * Cloud SQL Admin API
                                      *
                                      * API for Cloud SQL database instance management
                                      *
                                      * The version of the OpenAPI document: v1
                                      *
                                      * Generated by: https://openapi-generator.tech
                                      */

/// OperationsListResponse : Operations list response.

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct OperationsListResponse {
    /// List of operation resources.
    #[serde(rename = "items", skip_serializing_if = "Option::is_none")]
    pub items: Option<Vec<crate::google_rest_apis::sqladmin_v1::models::Operation>>,
    /// This is always `sql#operationsList`.
    #[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 OperationsListResponse {
    /// Operations list response.
    pub fn new() -> OperationsListResponse {
        OperationsListResponse {
            items: None,
            kind: None,
            next_page_token: None,
        }
    }
}
