use serde::{Deserialize, Serialize}; /*
                                      * Google Identity Toolkit API
                                      *
                                      * Help the third party sites to implement federated login.
                                      *
                                      * The version of the OpenAPI document: v3
                                      *
                                      * Generated by: https://openapi-generator.tech
                                      */

use crate::google_rest_apis::identitytoolkit_v3::models;

/// GetAccountInfoResponse : Response of getting account information.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetAccountInfoResponse {
    /// The fixed string \"identitytoolkit#GetAccountInfoResponse\".
    #[serde(rename = "kind", skip_serializing_if = "Option::is_none")]
    pub kind: Option<String>,
    /// The info of the users.
    #[serde(rename = "users", skip_serializing_if = "Option::is_none")]
    pub users: Option<Vec<models::UserInfo>>,
}

impl GetAccountInfoResponse {
    /// Response of getting account information.
    pub fn new() -> GetAccountInfoResponse {
        GetAccountInfoResponse {
            kind: None,
            users: None,
        }
    }
}
