linkbreakers 1.95.1

Official Rust SDK for the Linkbreakers API
Documentation
/*
 * Linkbreakers API
 *
 * This is a documentation of all the APIs of Linkbreakers
 *
 * The version of the OpenAPI document: 1.95.1
 * 
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CreateWorkspaceTokenResponse {
    /// The actual JWT token to be used for authentication. It is returned only once and cannot be retrieved again.
    #[serde(rename = "accessToken", skip_serializing_if = "Option::is_none")]
    pub access_token: Option<String>,
    #[serde(rename = "token", skip_serializing_if = "Option::is_none")]
    pub token: Option<Box<models::WorkspaceToken>>,
}

impl CreateWorkspaceTokenResponse {
    pub fn new() -> CreateWorkspaceTokenResponse {
        CreateWorkspaceTokenResponse {
            access_token: None,
            token: None,
        }
    }
}