Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.86 KB

Mqtt.md

File metadata and controls

43 lines (34 loc) · 1.86 KB

Mqtt

Route settings specific to MQTT routes. Only used for MQTT route types

Properties

Name Type Description Notes
fleets List[str] list of Fleet UIDs to apply route to, if any. If empty, applies to all Fleets [optional]
filter HttpFilter [optional]
transform HttpTransform [optional]
throttle_ms int [optional]
timeout int Timeout in seconds for each request [optional] [default to 15]
broker str [optional]
port int [optional]
username str [optional]
password str This value is input-only and will be omitted from the response and replaced with a placeholder [optional]
topic str [optional]
certificate str Certificate with \n newlines. This value is input-only and will be omitted from the response and replaced with a placeholder [optional]
certificate_name str Name of certificate. [optional]
key str Key with \n newlines. This value is input-only and will be omitted from the response and replaced with a placeholder [optional]
private_key_name str Name of key [optional]

Example

from notehub_py.models.mqtt import Mqtt

# TODO update the JSON string below
json = "{}"
# create an instance of Mqtt from a JSON string
mqtt_instance = Mqtt.from_json(json)
# print the JSON string representation of the object
print(Mqtt.to_json())

# convert the object into a dict
mqtt_dict = mqtt_instance.to_dict()
# create an instance of Mqtt from a dict
mqtt_from_dict = Mqtt.from_dict(mqtt_dict)

[Back to Model list] [Back to API list] [Back to README]