linkbreakers 1.147.0

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.147.0
 * 
 * Generated by: https://openapi-generator.tech
 */

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

/// ListApiScopesResponse : ListApiScopesResponse lists every scope a token can hold.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ListApiScopesResponse {
    /// Every scope, ordered by resource then read before write.
    #[serde(rename = "scopes", skip_serializing_if = "Option::is_none")]
    pub scopes: Option<Vec<models::ApiScopeInfo>>,
}

impl ListApiScopesResponse {
    /// ListApiScopesResponse lists every scope a token can hold.
    pub fn new() -> ListApiScopesResponse {
        ListApiScopesResponse {
            scopes: None,
        }
    }
}