1
wei
2021-01-21 62d098cb78296feaa6f786a20748921338db838c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
//
//  TuyaSmartSceneLogModel.h
//  TuyaSmartSceneKit
//
//  Copyright (c) 2014-2021 Tuya Inc. (https://developer.tuya.com)
 
#import <Foundation/Foundation.h>
 
NS_ASSUME_NONNULL_BEGIN
 
@class TuyaSmartSceneLogData;
 
/// @brief TuyaSmartSceneLogModel provides more attributes for developers to create log list model for scene.
@interface TuyaSmartSceneLogModel : NSObject
 
/// The scene log data list.
@property (nonatomic, strong) NSArray<TuyaSmartSceneLogData *> * datas;
 
/// The number of scene logs.
@property (nonatomic, assign) NSInteger totalCount;
 
@end
 
/// @brief TuyaSmartSceneLogData provides more attributes for developers to create log data.
@interface TuyaSmartSceneLogData : NSObject
 
/// The log event id.
@property (nonatomic, strong) NSString *eventId;
 
/// The result of scene execution.
@property (nonatomic, assign) NSInteger execResult;
 
/// The result message of scene execution.
@property (nonatomic, strong) NSString *execResultMsg;
 
/// The time of scene execution.
@property (nonatomic, strong) NSString *execTime;
 
/// The error information of scene execution.
@property (nonatomic, strong) NSString *failureCause;
 
/// The error code.
@property (nonatomic, assign) NSInteger failureCode;
 
/// The owner id of scene log.
@property (nonatomic, strong) NSString *ownerId;
 
/// The rule id of the scene.
@property (nonatomic, strong) NSString *ruleId;
 
/// The rule name.
@property (nonatomic, strong) NSString *ruleName;
 
/// The scene type, 1 means tap-to-run scene, 2 means automation scene.
@property (nonatomic, assign) NSInteger sceneType;
 
/// The user id.
@property (nonatomic, strong) NSString *uid;
 
/// This data is not from service, you can set this property just for display.
@property (nonatomic, strong) NSString *detailTime;
 
/// 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)
@property (nonatomic, assign) NSInteger indexType;
 
@end
 
NS_ASSUME_NONNULL_END