isopruefi-frontend / api/api-client / TopicSetting
Class: TopicSetting¶
Defined in: api/api-client.ts:1402
Represents the settings for a specific MQTT topic, including default path, group, and sensor information.
Implements¶
Constructors¶
Constructor¶
new TopicSetting(
data?):TopicSetting
Defined in: api/api-client.ts:1431
Parameters¶
data?¶
Returns¶
TopicSetting
Properties¶
coordinateMapping?¶
optionalcoordinateMapping:CoordinateMapping
Defined in: api/api-client.ts:1411
Navigation property for the related CoordinateMapping entity.
Implementation of¶
ITopicSetting.coordinateMapping
coordinateMappingId?¶
optionalcoordinateMappingId:number
Defined in: api/api-client.ts:1408
Gets or sets the foreign key for the related CoordinateMapping entity.
Implementation of¶
ITopicSetting.coordinateMappingId
defaultTopicPath?¶
optionaldefaultTopicPath:string
Defined in: api/api-client.ts:1414
Gets or sets the default MQTT topic path for this setting.
Implementation of¶
ITopicSetting.defaultTopicPath
groupId?¶
optionalgroupId:number
Defined in: api/api-client.ts:1417
Gets or sets the group identifier associated with this topic setting.
Implementation of¶
hasRecovery?¶
optionalhasRecovery:boolean
Defined in: api/api-client.ts:1429
Gets or sets a value indicating whether this topic setting has recovery enabled.
Implementation of¶
sensorLocation?¶
optionalsensorLocation:string
Defined in: api/api-client.ts:1426
Gets or sets the location of the sensor.
Implementation of¶
sensorName?¶
optionalsensorName:string
Defined in: api/api-client.ts:1423
Gets or sets the name of the sensor.
Implementation of¶
sensorTypeEnum?¶
optionalsensorTypeEnum:SensorType
Defined in: api/api-client.ts:1420
Gets or sets the type of sensor (e.g., temperature, humidity).
Implementation of¶
topicSettingId?¶
optionaltopicSettingId:number
Defined in: api/api-client.ts:1405
Gets or sets the unique identifier for the TopicSetting entity.
Implementation of¶
Methods¶
init()¶
init(
_data?):void
Defined in: api/api-client.ts:1440
Parameters¶
_data?¶
any
Returns¶
void
toJSON()¶
toJSON(
data?):any
Defined in: api/api-client.ts:1461
Parameters¶
data?¶
any
Returns¶
any
fromJS()¶
staticfromJS(data):TopicSetting
Defined in: api/api-client.ts:1454
Parameters¶
data¶
any
Returns¶
TopicSetting