/*
 * 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 GetCopilotSettingsState200Response {
    #[serde(rename = "has_instance_ai_config")]
    pub has_instance_ai_config: bool,
    #[serde(rename = "uses_instance_ai_config")]
    pub uses_instance_ai_config: bool,
    #[serde(rename = "instance_ai_summary", skip_serializing_if = "Option::is_none")]
    pub instance_ai_summary: Option<Box<models::InstanceAiSummary>>,
}

impl GetCopilotSettingsState200Response {
    pub fn new(has_instance_ai_config: bool, uses_instance_ai_config: bool) -> GetCopilotSettingsState200Response {
        GetCopilotSettingsState200Response {
            has_instance_ai_config,
            uses_instance_ai_config,
            instance_ai_summary: None,
        }
    }
}

