ory_client_client/models/
plugin_config_interface.rs

1/*
2 * Ory APIs
3 *
4 * 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. 
5 *
6 * The version of the OpenAPI document: v0.0.1-alpha.1
7 * Contact: support@ory.sh
8 * Generated by: https://openapi-generator.tech
9 */
10
11/// PluginConfigInterface : PluginConfigInterface The interface between Docker and the plugin
12
13
14
15#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
16pub struct PluginConfigInterface {
17    /// socket
18    #[serde(rename = "Socket")]
19    pub socket: String,
20    /// types
21    #[serde(rename = "Types")]
22    pub types: Vec<crate::models::PluginInterfaceType>,
23}
24
25impl PluginConfigInterface {
26    /// PluginConfigInterface The interface between Docker and the plugin
27    pub fn new(socket: String, types: Vec<crate::models::PluginInterfaceType>) -> PluginConfigInterface {
28        PluginConfigInterface {
29            socket,
30            types,
31        }
32    }
33}
34
35