Tuya iOS Smart Life App SDK 5.15.0
ThingSmartRequestOperation Class Reference

#import <ThingSmartOperation.h>

Inheritance diagram for ThingSmartRequestOperation:

Class Methods

(instancetype) + operationWithApiName:apiVersion:params:responseHandler:completion:
 
(instancetype) + operationWithApiName:apiVersion:params:responseHandler:completion:
 
(instancetype) + operationWithApiName:apiVersion:params:responseHandler:completion:
 
(instancetype) + operationWithApiName:apiVersion:params:responseHandler:completion:
 

Protected Attributes

 __pad0__: ThingSmartOperation@property (nonatomic
 
strong NSString * apiName
 

Properties

NSString * apiVersion
 
NSDictionary * params
 
ThingSmartResult< ResponseDataType, NSError * > * originResponseData
 
ProcessedObjType data
 

Detailed Description

Definition at line 20 of file ThingSmartOperation.h.

Method Documentation

◆ operationWithApiName:apiVersion:params:responseHandler:completion: [1/4]

+ (instancetype) operationWithApiName: (NSString *)  apiName
apiVersion: (NSString *)  apiVersion
params: (nullable NSDictionary *)  params
responseHandler: (nullable ProcessedObjType(^)(ThingSmartResult< ResponseDataType, NSError * > *result))  responseHandler
completion: (nullable void(^)(void))  completion 

◆ operationWithApiName:apiVersion:params:responseHandler:completion: [2/4]

+ (instancetype) operationWithApiName: (NSString *)  apiName
apiVersion: (NSString *)  apiVersion
params: (nullable NSDictionary *)  params
responseHandler: (nullable ProcessedObjType(^)(ThingSmartResult< ResponseDataType, NSError * > *result))  responseHandler
completion: (nullable void(^)(void))  completion 

◆ operationWithApiName:apiVersion:params:responseHandler:completion: [3/4]

+ (instancetype) operationWithApiName: (NSString *)  apiName
apiVersion: (NSString *)  apiVersion
params: (nullable NSDictionary *)  params
responseHandler: (nullable ProcessedObjType(^)(ThingSmartResult< ResponseDataType, NSError * > *result))  responseHandler
completion: (nullable void(^)(void))  completion 

◆ operationWithApiName:apiVersion:params:responseHandler:completion: [4/4]

+ (instancetype) operationWithApiName: (NSString *)  apiName
apiVersion: (NSString *)  apiVersion
params: (nullable NSDictionary *)  params
responseHandler: (nullable ProcessedObjType(^)(ThingSmartResult< ResponseDataType, NSError * > *result))  responseHandler
completion: (nullable void(^)(void))  completion 

Member Data Documentation

◆ __pad0__

- __pad0__
protected

Definition at line 36 of file ThingSmartOperation.h.

◆ apiName

- (strong NSString *) apiName
protected

Definition at line 22 of file ThingSmartOperation.h.

Property Documentation

◆ apiVersion

- (NSString *) apiVersion
readwritenonatomicstrong

Definition at line 23 of file ThingSmartOperation.h.

◆ data

- (ProcessedObjType) data
readnonatomicstrong

Definition at line 26 of file ThingSmartOperation.h.

◆ originResponseData

- (ThingSmartResult< ResponseDataType, NSError * > *) originResponseData
readwritenonatomiccopy

Definition at line 25 of file ThingSmartOperation.h.

◆ params

- (NSDictionary *) params
readwritenonatomicstrong

Definition at line 24 of file ThingSmartOperation.h.


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