/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.6
 * Contact: contact@orvanta.cloud
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DiscoverMcpOAuth200Response {
    #[serde(rename = "scopes_supported", skip_serializing_if = "Option::is_none")]
    pub scopes_supported: Option<Vec<String>>,
    #[serde(rename = "authorization_endpoint", skip_serializing_if = "Option::is_none")]
    pub authorization_endpoint: Option<String>,
    #[serde(rename = "token_endpoint", skip_serializing_if = "Option::is_none")]
    pub token_endpoint: Option<String>,
    #[serde(rename = "registration_endpoint", skip_serializing_if = "Option::is_none")]
    pub registration_endpoint: Option<String>,
    #[serde(rename = "supports_dynamic_registration", skip_serializing_if = "Option::is_none")]
    pub supports_dynamic_registration: Option<bool>,
}

impl DiscoverMcpOAuth200Response {
    pub fn new() -> DiscoverMcpOAuth200Response {
        DiscoverMcpOAuth200Response {
            scopes_supported: None,
            authorization_endpoint: None,
            token_endpoint: None,
            registration_endpoint: None,
            supports_dynamic_registration: None,
        }
    }
}

