# MqttTrigger
## Properties
**mqtt_resource_path** | **String** | Path to the MQTT resource containing broker connection configuration |
**subscribe_topics** | [**Vec<models::MqttSubscribeTopic>**](MqttSubscribeTopic.md) | Array of MQTT topics to subscribe to, each with topic name and QoS level |
**v3_config** | Option<[**models::MqttV3Config**](MqttV3Config.md)> | | [optional]
**v5_config** | Option<[**models::MqttV5Config**](MqttV5Config.md)> | | [optional]
**client_id** | Option<**String**> | MQTT client ID for this connection | [optional]
**client_version** | Option<[**models::MqttClientVersion**](MqttClientVersion.md)> | | [optional]
**server_id** | Option<**String**> | ID of the server currently handling this trigger (internal) | [optional]
**last_server_ping** | Option<**String**> | Timestamp of last server heartbeat (internal) | [optional]
**error** | Option<**String**> | Last error message if the trigger failed | [optional]
**error_handler_path** | Option<**String**> | Path to a script or flow to run when the triggered job fails | [optional]
**error_handler_args** | Option<[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)> | The arguments to pass to the script or flow | [optional]
**retry** | Option<[**models::Retry**](Retry.md)> | | [optional]
**path** | **String** | The unique path identifier for this trigger |
**script_path** | **String** | Path to the script or flow to execute when triggered |
**permissioned_as** | **String** | The user or group this trigger runs as (permissioned_as) |
**extra_perms** | **std::collections::HashMap<String, bool>** | Additional permissions for this trigger |
**workspace_id** | **String** | The workspace this trigger belongs to |
**edited_by** | **String** | Username of the last person who edited this trigger |
**edited_at** | **String** | Timestamp of the last edit |
**is_flow** | **bool** | True if script_path points to a flow, false if it points to a script |
**mode** | [**models::TriggerMode**](TriggerMode.md) | |
**labels** | Option<**Vec<String>**> | | [optional][default to []]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)