/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.2
 * 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 GetUsedTriggers200Response {
    #[serde(rename = "http_routes_used")]
    pub http_routes_used: bool,
    #[serde(rename = "websocket_used")]
    pub websocket_used: bool,
    #[serde(rename = "kafka_used")]
    pub kafka_used: bool,
    #[serde(rename = "nats_used")]
    pub nats_used: bool,
    #[serde(rename = "postgres_used")]
    pub postgres_used: bool,
    #[serde(rename = "mqtt_used")]
    pub mqtt_used: bool,
    #[serde(rename = "gcp_used")]
    pub gcp_used: bool,
    #[serde(rename = "azure_used")]
    pub azure_used: bool,
    #[serde(rename = "sqs_used")]
    pub sqs_used: bool,
    #[serde(rename = "email_used")]
    pub email_used: bool,
    #[serde(rename = "nextcloud_used")]
    pub nextcloud_used: bool,
    #[serde(rename = "google_used")]
    pub google_used: bool,
    #[serde(rename = "github_used")]
    pub github_used: bool,
}

impl GetUsedTriggers200Response {
    pub fn new(http_routes_used: bool, websocket_used: bool, kafka_used: bool, nats_used: bool, postgres_used: bool, mqtt_used: bool, gcp_used: bool, azure_used: bool, sqs_used: bool, email_used: bool, nextcloud_used: bool, google_used: bool, github_used: bool) -> GetUsedTriggers200Response {
        GetUsedTriggers200Response {
            http_routes_used,
            websocket_used,
            kafka_used,
            nats_used,
            postgres_used,
            mqtt_used,
            gcp_used,
            azure_used,
            sqs_used,
            email_used,
            nextcloud_used,
            google_used,
            github_used,
        }
    }
}

