![]() |
Tuya iOS Smart Life App SDK 5.15.0
|
#import <ThingSmartHomeCustomRoleRequestModel.h>
Properties | |
long long | homeId |
The home ID. It is a required field. More... | |
NSString * | roleName |
The role's name. The name cannot be empty during creation. More... | |
ThingHomeRoleType | role |
The role's type. Set the required role type. More... | |
long long | roleId |
The role ID. The roldId cannot be empty during Modification. More... | |
NSString * | permissionStr |
Definition at line 13 of file ThingSmartHomeCustomRoleRequestModel.h.
|
readwritenonatomicassign |
The home ID. It is a required field.
Definition at line 16 of file ThingSmartHomeCustomRoleRequestModel.h.
|
readwritenonatomicstrong |
The role' resource. Enter the format(JSON String format) of the parameters: [ {"resId":"deviceId","resType":0}, {"resId":"automationId","resType":1} ]. When resType is 0, it represents the device and resId represents the device ID. When resType is 1, it represents the automation and resId represents the automation ID. When resType is 2, it represents the One-click execution and resId represents the One-click execution ID.
Definition at line 32 of file ThingSmartHomeCustomRoleRequestModel.h.
|
readwritenonatomicassign |
The role's type. Set the required role type.
Definition at line 22 of file ThingSmartHomeCustomRoleRequestModel.h.
|
readwritenonatomicassign |
The role ID. The roldId cannot be empty during Modification.
Definition at line 25 of file ThingSmartHomeCustomRoleRequestModel.h.
|
readwritenonatomicstrong |
The role's name. The name cannot be empty during creation.
Definition at line 19 of file ThingSmartHomeCustomRoleRequestModel.h.