/*
 * Ory APIs
 *
 * Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. 
 *
 * The version of the OpenAPI document: v0.0.1-alpha.19
 * Contact: support@ory.sh
 * Generated by: https://openapi-generator.tech
 */

/// PluginConfigInterface : PluginConfigInterface The interface between Docker and the plugin



#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct PluginConfigInterface {
    /// socket
    #[serde(rename = "Socket")]
    pub socket: String,
    /// types
    #[serde(rename = "Types")]
    pub types: Vec<crate::models::PluginInterfaceType>,
}

impl PluginConfigInterface {
    /// PluginConfigInterface The interface between Docker and the plugin
    pub fn new(socket: String, types: Vec<crate::models::PluginInterfaceType>) -> PluginConfigInterface {
        PluginConfigInterface {
            socket,
            types,
        }
    }
}


