Tuya iOS Smart Life App SDK 5.15.0
ThingSmartSchemaModel Class Reference

The device schema. More...

#import <ThingSmartSchemaModel.h>

Inheritance diagram for ThingSmartSchemaModel:

Properties

NSString * dpId
 The DP ID. More...
 
NSString * code
 The DP code. More...
 
NSString * name
 The name of the DP. More...
 
NSString * mode
 Reads and writes attributes of the DP. rw: send and report | ro: only report | wr: only send. More...
 
NSString * type
 The type of DP. obj: numeric, character, Boolean, enumeration, and fault | raw: the pass-through type. More...
 
NSString * iconname
 The icon name of the DP. More...
 
ThingSmartSchemaPropertyModelproperty
 The DP property. More...
 
NSString * extContent
 The extra content. More...
 
id tsod_DPValue
 DP value (convert from dps) More...
 

Detailed Description

The device schema.

Definition at line 15 of file ThingSmartSchemaModel.h.

Property Documentation

◆ code

- (NSString *) code
readwritenonatomicstrong

The DP code.

Definition at line 21 of file ThingSmartSchemaModel.h.

◆ dpId

- (NSString *) dpId
readwritenonatomicstrong

The DP ID.

Definition at line 18 of file ThingSmartSchemaModel.h.

◆ extContent

- (NSString *) extContent
readwritenonatomicstrong

The extra content.

Definition at line 39 of file ThingSmartSchemaModel.h.

◆ iconname

- (NSString *) iconname
readwritenonatomicstrong

The icon name of the DP.

Definition at line 33 of file ThingSmartSchemaModel.h.

◆ mode

- (NSString *) mode
readwritenonatomicstrong

Reads and writes attributes of the DP. rw: send and report | ro: only report | wr: only send.

Definition at line 27 of file ThingSmartSchemaModel.h.

◆ name

- (NSString *) name
readwritenonatomicstrong

The name of the DP.

Definition at line 24 of file ThingSmartSchemaModel.h.

◆ property

- (ThingSmartSchemaPropertyModel *) property
readwritenonatomicstrong

The DP property.

Definition at line 36 of file ThingSmartSchemaModel.h.

◆ tsod_DPValue

- (id) tsod_DPValue
readwritenonatomicstrong

DP value (convert from dps)

Provided by category ThingSmartSchemaModel(ThingSmartOutdoor).

Definition at line 14 of file ThingSmartDeviceModel+ThingSmartOutdoor.h.

◆ type

- (NSString *) type
readwritenonatomicstrong

The type of DP. obj: numeric, character, Boolean, enumeration, and fault | raw: the pass-through type.

Definition at line 30 of file ThingSmartSchemaModel.h.


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