/*
 * 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 GetGhesConfig200Response {
    #[serde(rename = "base_url")]
    pub base_url: String,
    #[serde(rename = "app_slug")]
    pub app_slug: String,
    #[serde(rename = "client_id")]
    pub client_id: String,
    #[serde(rename = "app_owner", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub app_owner: Option<Option<String>>,
}

impl GetGhesConfig200Response {
    pub fn new(base_url: String, app_slug: String, client_id: String) -> GetGhesConfig200Response {
        GetGhesConfig200Response {
            base_url,
            app_slug,
            client_id,
            app_owner: None,
        }
    }
}

