/*
 * 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};

/// ProviderTransform : Provider configuration - can be static (ProviderConfig), JavaScript expression, or AI-determined
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(tag = "type")]
pub enum ProviderTransform {
    #[serde(rename="static")]
    Static(Box<models::StaticProviderTransform>),
    #[serde(rename="javascript")]
    Javascript(Box<models::JavascriptTransform>),
    #[serde(rename="ai")]
    Ai(Box<models::AiTransform>),
}

impl Default for ProviderTransform {
    fn default() -> Self {
        Self::Static(Default::default())
    }
}


