/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.2.0
 * 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 DiscoverMcpOAuthRequest {
    /// URL of the MCP server to discover OAuth metadata from
    #[serde(rename = "mcp_server_url")]
    pub mcp_server_url: String,
}

impl DiscoverMcpOAuthRequest {
    pub fn new(mcp_server_url: String) -> DiscoverMcpOAuthRequest {
        DiscoverMcpOAuthRequest {
            mcp_server_url,
        }
    }
}

