Skip to main content

windmill_api/models/
get_ghes_config_200_response.rs

1/*
2 * Windmill API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 1.662.0
7 * Contact: contact@windmill.dev
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct GetGhesConfig200Response {
16    #[serde(rename = "base_url")]
17    pub base_url: String,
18    #[serde(rename = "app_slug")]
19    pub app_slug: String,
20    #[serde(rename = "client_id")]
21    pub client_id: String,
22}
23
24impl GetGhesConfig200Response {
25    pub fn new(base_url: String, app_slug: String, client_id: String) -> GetGhesConfig200Response {
26        GetGhesConfig200Response {
27            base_url,
28            app_slug,
29            client_id,
30        }
31    }
32}
33