// Auto-generated PLCopen types - fbd category
// DO NOT EDIT - Generated by build script

use serde::{Serialize, Deserialize};
use super::*;

/// commonObjects_connector_InlineType element
#[derive(Debug, Clone, Default, PartialEq, Serialize, Deserialize)]
pub struct CommonObjects_connector_Inline {
    /// name attribute
    #[serde(rename = "@name", default)]
    pub name: String,
    /// localId attribute
    #[serde(rename = "@localId", default)]
    pub local_id: String,
    /// height attribute
    #[serde(rename = "@height", default)]
    pub height: Option<String>,
    /// width attribute
    #[serde(rename = "@width", default)]
    pub width: Option<String>,
    /// globalId attribute
    #[serde(rename = "@globalId", default)]
    pub global_id: Option<String>,
    /// position element
    #[serde(rename = "position", default)]
    pub position: Option<Position>,
    /// connectionPointIn element
    #[serde(rename = "connectionPointIn", default)]
    pub connection_point_in: Option<ConnectionPointIn>,
    /// addData element
    #[serde(rename = "addData", default)]
    pub add_data: Option<AddData>,
    /// documentation element
    #[serde(rename = "documentation", default)]
    pub documentation: Option<FormattedText>,
}

/// fbdObjects_block_InlineType element
#[derive(Debug, Clone, Default, PartialEq, Serialize, Deserialize)]
pub struct FbdObjects_block_Inline {
    /// localId attribute
    #[serde(rename = "@localId", default)]
    pub local_id: String,
    /// width attribute
    #[serde(rename = "@width", default)]
    pub width: Option<String>,
    /// height attribute
    #[serde(rename = "@height", default)]
    pub height: Option<String>,
    /// typeName attribute
    #[serde(rename = "@typeName", default)]
    pub type_name: String,
    /// instanceName attribute
    #[serde(rename = "@instanceName", default)]
    pub instance_name: Option<String>,
    /// executionOrderId attribute
    #[serde(rename = "@executionOrderId", default)]
    pub execution_order_id: Option<String>,
    /// globalId attribute
    #[serde(rename = "@globalId", default)]
    pub global_id: Option<String>,
    /// position element
    #[serde(rename = "position", default)]
    pub position: Option<Position>,
    /// inputVariables element
    #[serde(rename = "inputVariables", default)]
    pub input_variables: Option<FbdObjects_block_InlineType_inputVariables_Inline>,
    /// inOutVariables element
    #[serde(rename = "inOutVariables", default)]
    pub in_out_variables: Option<FbdObjects_block_InlineType_inOutVariables_Inline>,
    /// outputVariables element
    #[serde(rename = "outputVariables", default)]
    pub output_variables: Option<FbdObjects_block_InlineType_outputVariables_Inline>,
    /// addData element
    #[serde(rename = "addData", default)]
    pub add_data: Option<AddData>,
    /// documentation element
    #[serde(rename = "documentation", default)]
    pub documentation: Option<FormattedText>,
}

