Tuya iOS Smart Life App SDK 5.15.0
ThingSmartSceneLogData Class Reference

ThingSmartSceneLogData provides more attributes for developers to create log data. More...

#import <ThingSmartSceneLogModel.h>

Inheritance diagram for ThingSmartSceneLogData:

Properties

NSString * eventId
 The log event id. More...
 
TSceneLogExecResultType execResult
 The result of scene execution. 1 and 3 is success. More...
 
NSString * execResultMsg
 The result message of scene execution. More...
 
NSString * execTime
 The time of scene execution. More...
 
NSString * failureCause
 The error information of scene execution. More...
 
NSInteger failureCode
 The error code. More...
 
NSString * ownerId
 The owner id of scene log. More...
 
NSString * ruleId
 The rule id of the scene. More...
 
NSString * ruleName
 The rule name. More...
 
NSString * runMode
 The rule run mode, local means local interaction, cloud means cloud interaction. More...
 
NSInteger sceneType
 The scene type, 1 means tap-to-run scene, 2 means automation scene. More...
 
NSString * uid
 The user id. More...
 
NSString * detailTime
 This data is not from service, you can set this property just for display. More...
 
NSInteger indexType
 This data is not from service, you can set this property to assist sort the list into category use this property just for display. 0 first , 1 middle, 2 last, -1 needless(just one item) More...
 
NSArray< ThingSmartLogActionData * > * actions
 

Detailed Description

ThingSmartSceneLogData provides more attributes for developers to create log data.

Definition at line 61 of file ThingSmartSceneLogModel.h.

Property Documentation

◆ actions

- (NSArray< ThingSmartLogActionData * > *) actions
readwritenonatomicstrong

Definition at line 105 of file ThingSmartSceneLogModel.h.

◆ detailTime

- (NSString *) detailTime
readwritenonatomicstrong

This data is not from service, you can set this property just for display.

Definition at line 100 of file ThingSmartSceneLogModel.h.

◆ eventId

- (NSString *) eventId
readwritenonatomicstrong

The log event id.

Definition at line 64 of file ThingSmartSceneLogModel.h.

◆ execResult

- (TSceneLogExecResultType) execResult
readwritenonatomicassign

The result of scene execution. 1 and 3 is success.

Definition at line 67 of file ThingSmartSceneLogModel.h.

◆ execResultMsg

- (NSString *) execResultMsg
readwritenonatomicstrong

The result message of scene execution.

Definition at line 70 of file ThingSmartSceneLogModel.h.

◆ execTime

- (NSString *) execTime
readwritenonatomicstrong

The time of scene execution.

Definition at line 73 of file ThingSmartSceneLogModel.h.

◆ failureCause

- (NSString *) failureCause
readwritenonatomicstrong

The error information of scene execution.

Definition at line 76 of file ThingSmartSceneLogModel.h.

◆ failureCode

- (NSInteger) failureCode
readwritenonatomicassign

The error code.

Definition at line 79 of file ThingSmartSceneLogModel.h.

◆ indexType

- (NSInteger) indexType
readwritenonatomicassign

This data is not from service, you can set this property to assist sort the list into category use this property just for display. 0 first , 1 middle, 2 last, -1 needless(just one item)

Definition at line 103 of file ThingSmartSceneLogModel.h.

◆ ownerId

- (NSString *) ownerId
readwritenonatomicstrong

The owner id of scene log.

Definition at line 82 of file ThingSmartSceneLogModel.h.

◆ ruleId

- (NSString *) ruleId
readwritenonatomicstrong

The rule id of the scene.

Definition at line 85 of file ThingSmartSceneLogModel.h.

◆ ruleName

- (NSString *) ruleName
readwritenonatomicstrong

The rule name.

Definition at line 88 of file ThingSmartSceneLogModel.h.

◆ runMode

- (NSString *) runMode
readwritenonatomicstrong

The rule run mode, local means local interaction, cloud means cloud interaction.

Definition at line 91 of file ThingSmartSceneLogModel.h.

◆ sceneType

- (NSInteger) sceneType
readwritenonatomicassign

The scene type, 1 means tap-to-run scene, 2 means automation scene.

Definition at line 94 of file ThingSmartSceneLogModel.h.

◆ uid

- (NSString *) uid
readwritenonatomicstrong

The user id.

Definition at line 97 of file ThingSmartSceneLogModel.h.


The documentation for this class was generated from the following files: