use serde::{Deserialize, Serialize}; /*
                                      * Cloud Resource Manager API
                                      *
                                      * Creates, reads, and updates metadata for Google Cloud Platform resource containers.
                                      *
                                      * The version of the OpenAPI document: v3
                                      *
                                      * Generated by: https://openapi-generator.tech
                                      */

use crate::google_rest_apis::cloudresourcemanager_v3::models;

/// ListTagValuesResponse : The ListTagValues response.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ListTagValuesResponse {
    /// A pagination token returned from a previous call to `ListTagValues` that indicates from where listing should continue. This is currently not used, but the server may at any point start supplying a valid token.
    #[serde(rename = "nextPageToken", skip_serializing_if = "Option::is_none")]
    pub next_page_token: Option<String>,
    /// A possibly paginated list of TagValues that are direct descendants of the specified parent TagKey.
    #[serde(rename = "tagValues", skip_serializing_if = "Option::is_none")]
    pub tag_values: Option<Vec<models::TagValue>>,
}

impl ListTagValuesResponse {
    /// The ListTagValues response.
    pub fn new() -> ListTagValuesResponse {
        ListTagValuesResponse {
            next_page_token: None,
            tag_values: None,
        }
    }
}
