windmill-api 1.881.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.881.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 TestOAuthClientCredentialsRequest {
    /// client name, the key of the entry in the instance OAuth setting
    #[serde(rename = "name")]
    pub name: String,
    /// the entry as stored in the instance OAuth setting
    #[serde(rename = "entry")]
    pub entry: serde_json::Value,
}

impl TestOAuthClientCredentialsRequest {
    pub fn new(name: String, entry: serde_json::Value) -> TestOAuthClientCredentialsRequest {
        TestOAuthClientCredentialsRequest {
            name,
            entry,
        }
    }
}