/*
 * Authenticator
 *
 * REST API and web server providing authentication for a Tapis v3 instance.
 *
 * The version of the OpenAPI document: 1
 * Contact: cicsupport@tacc.utexas.edu
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct V2Token {
    /// The access token representing the user.
    #[serde(rename = "access_token")]
    pub access_token: String,
}

impl V2Token {
    pub fn new(access_token: String) -> V2Token {
        V2Token { access_token }
    }
}
