windmill-api 1.894.1

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Windmill API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.894.1
 * Contact: contact@windmill.dev
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetMcpOAuthServerClient200Response {
    #[serde(rename = "client_id")]
    pub client_id: String,
    /// The name the client chose when it registered, unverified.
    #[serde(rename = "client_name")]
    pub client_name: String,
    #[serde(rename = "redirect_uris")]
    pub redirect_uris: Vec<String>,
    #[serde(rename = "created_at")]
    pub created_at: String,
}

impl GetMcpOAuthServerClient200Response {
    pub fn new(client_id: String, client_name: String, redirect_uris: Vec<String>, created_at: String) -> GetMcpOAuthServerClient200Response {
        GetMcpOAuthServerClient200Response {
            client_id,
            client_name,
            redirect_uris,
            created_at,
        }
    }
}