Tuya iOS Smart Life App SDK 5.15.0
ThingSmartMessagePushSetting Class Reference

#import <ThingSmartMessagePushSetting.h>

Inheritance diagram for ThingSmartMessagePushSetting:

Instance Methods

(void) - getMessagePushSwitchStatusWithType:success:failure:
 
(void) - setMessagePushSwitchStatusWithRequestModel:success:failure:
 
(void) - getDeviceAlarmSwitchStatusWithPushChannel:success:failure:
 
(void) - setDeviceAlarmSwitchStatusWithRequestModel:success:failure:
 
(void) - getDeviceAlarmThrottleTimeWithPushChannel:success:failure:
 
(void) - setDeviceAlarmThrottleTimeWithRequestModel:success:failure:
 
(void) - getDeviceAlarmServiceInfoWithRequestModel:success:failure:
 
(void) - setDeviceAlarmServiceInfoWithRequestModel:success:failure:
 
(void) - getDeviceAlarmPurchaseInfoWithPushChannel:success:failure:
 
(void) - getDeviceAlarmListWithRequestModel:success:failure:
 
(void) - getMessagePushSwitchStatusWithType:success:failure:
 
(void) - setMessagePushSwitchStatusWithRequestModel:success:failure:
 
(void) - getDeviceAlarmSwitchStatusWithPushChannel:success:failure:
 
(void) - setDeviceAlarmSwitchStatusWithRequestModel:success:failure:
 
(void) - getDeviceAlarmThrottleTimeWithPushChannel:success:failure:
 
(void) - setDeviceAlarmThrottleTimeWithRequestModel:success:failure:
 
(void) - getDeviceAlarmServiceInfoWithRequestModel:success:failure:
 
(void) - setDeviceAlarmServiceInfoWithRequestModel:success:failure:
 
(void) - getDeviceAlarmPurchaseInfoWithPushChannel:success:failure:
 
(void) - getDeviceAlarmListWithRequestModel:success:failure:
 
(void) - getMessagePushSwitchStatusWithType:success:failure:
 
(void) - setMessagePushSwitchStatusWithRequestModel:success:failure:
 
(void) - getDeviceAlarmSwitchStatusWithPushChannel:success:failure:
 
(void) - setDeviceAlarmSwitchStatusWithRequestModel:success:failure:
 
(void) - getDeviceAlarmThrottleTimeWithPushChannel:success:failure:
 
(void) - setDeviceAlarmThrottleTimeWithRequestModel:success:failure:
 
(void) - getDeviceAlarmServiceInfoWithRequestModel:success:failure:
 
(void) - setDeviceAlarmServiceInfoWithRequestModel:success:failure:
 
(void) - getDeviceAlarmPurchaseInfoWithPushChannel:success:failure:
 
(void) - getDeviceAlarmListWithRequestModel:success:failure:
 
(void) - getMessagePushSwitchStatusWithType:success:failure:
 
(void) - setMessagePushSwitchStatusWithRequestModel:success:failure:
 
(void) - getDeviceAlarmSwitchStatusWithPushChannel:success:failure:
 
(void) - setDeviceAlarmSwitchStatusWithRequestModel:success:failure:
 
(void) - getDeviceAlarmThrottleTimeWithPushChannel:success:failure:
 
(void) - setDeviceAlarmThrottleTimeWithRequestModel:success:failure:
 
(void) - getDeviceAlarmServiceInfoWithRequestModel:success:failure:
 
(void) - setDeviceAlarmServiceInfoWithRequestModel:success:failure:
 
(void) - getDeviceAlarmPurchaseInfoWithPushChannel:success:failure:
 
(void) - getDeviceAlarmListWithRequestModel:success:failure:
 

Detailed Description

Definition at line 15 of file ThingSmartMessagePushSetting.h.

Method Documentation

◆ getDeviceAlarmListWithRequestModel:success:failure: [1/4]

- (void) getDeviceAlarmListWithRequestModel: (ThingSmartDeviceAlarmListRequestModel *_Nonnull)  requestModel
success: (void(^)(ThingSmartDeviceAlarmListEntity *_Nullable result))  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve a list of device alarms based on a request model.

Parameters
requestModelThe request model.
successA block that will be called with device list.
failureA block that will be called if an error occurs, passing an NSError object.

◆ getDeviceAlarmListWithRequestModel:success:failure: [2/4]

- (void) getDeviceAlarmListWithRequestModel: (ThingSmartDeviceAlarmListRequestModel *_Nonnull)  requestModel
success: (void(^)(ThingSmartDeviceAlarmListEntity *_Nullable result))  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve a list of device alarms based on a request model.

Parameters
requestModelThe request model.
successA block that will be called with device list.
failureA block that will be called if an error occurs, passing an NSError object.

◆ getDeviceAlarmListWithRequestModel:success:failure: [3/4]

- (void) getDeviceAlarmListWithRequestModel: (ThingSmartDeviceAlarmListRequestModel *_Nonnull)  requestModel
success: (void(^)(ThingSmartDeviceAlarmListEntity *_Nullable result))  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve a list of device alarms based on a request model.

Parameters
requestModelThe request model.
successA block that will be called with device list.
failureA block that will be called if an error occurs, passing an NSError object.

◆ getDeviceAlarmListWithRequestModel:success:failure: [4/4]

- (void) getDeviceAlarmListWithRequestModel: (ThingSmartDeviceAlarmListRequestModel *_Nonnull)  requestModel
success: (void(^)(ThingSmartDeviceAlarmListEntity *_Nullable result))  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve a list of device alarms based on a request model.

Parameters
requestModelThe request model.
successA block that will be called with device list.
failureA block that will be called if an error occurs, passing an NSError object.

◆ getDeviceAlarmPurchaseInfoWithPushChannel:success:failure: [1/4]

- (void) getDeviceAlarmPurchaseInfoWithPushChannel: (ThingSmartDeviceAlarmPushChannel)  pushChannel
success: (void(^)(ThingSmartDeviceAlarmPurchaseEntity *_Nullable result))  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve the purchase information for device alarms on a specific push channel.

Parameters
pushChannelThe push channel.
successA block that will be called with purchase result.
failureA block that will be called if an error occurs, passing an NSError object.

◆ getDeviceAlarmPurchaseInfoWithPushChannel:success:failure: [2/4]

- (void) getDeviceAlarmPurchaseInfoWithPushChannel: (ThingSmartDeviceAlarmPushChannel)  pushChannel
success: (void(^)(ThingSmartDeviceAlarmPurchaseEntity *_Nullable result))  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve the purchase information for device alarms on a specific push channel.

Parameters
pushChannelThe push channel.
successA block that will be called with purchase result.
failureA block that will be called if an error occurs, passing an NSError object.

◆ getDeviceAlarmPurchaseInfoWithPushChannel:success:failure: [3/4]

- (void) getDeviceAlarmPurchaseInfoWithPushChannel: (ThingSmartDeviceAlarmPushChannel)  pushChannel
success: (void(^)(ThingSmartDeviceAlarmPurchaseEntity *_Nullable result))  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve the purchase information for device alarms on a specific push channel.

Parameters
pushChannelThe push channel.
successA block that will be called with purchase result.
failureA block that will be called if an error occurs, passing an NSError object.

◆ getDeviceAlarmPurchaseInfoWithPushChannel:success:failure: [4/4]

- (void) getDeviceAlarmPurchaseInfoWithPushChannel: (ThingSmartDeviceAlarmPushChannel)  pushChannel
success: (void(^)(ThingSmartDeviceAlarmPurchaseEntity *_Nullable result))  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve the purchase information for device alarms on a specific push channel.

Parameters
pushChannelThe push channel.
successA block that will be called with purchase result.
failureA block that will be called if an error occurs, passing an NSError object.

◆ getDeviceAlarmServiceInfoWithRequestModel:success:failure: [1/4]

- (void) getDeviceAlarmServiceInfoWithRequestModel: (ThingSmartDeviceAlarmServiceRequestModel *_Nonnull)  requestModel
success: (void(^)(NSArray< ThingSmartDeviceAlarmServiceInfoEntity * > *_Nullable result))  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve detailed information for device alarms using a request model.

Parameters
requestModelThe request model .
successA block that will be called with an array of device alarm details.
failureA block that will be called if an error occurs, passing an NSError object.

◆ getDeviceAlarmServiceInfoWithRequestModel:success:failure: [2/4]

- (void) getDeviceAlarmServiceInfoWithRequestModel: (ThingSmartDeviceAlarmServiceRequestModel *_Nonnull)  requestModel
success: (void(^)(NSArray< ThingSmartDeviceAlarmServiceInfoEntity * > *_Nullable result))  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve detailed information for device alarms using a request model.

Parameters
requestModelThe request model .
successA block that will be called with an array of device alarm details.
failureA block that will be called if an error occurs, passing an NSError object.

◆ getDeviceAlarmServiceInfoWithRequestModel:success:failure: [3/4]

- (void) getDeviceAlarmServiceInfoWithRequestModel: (ThingSmartDeviceAlarmServiceRequestModel *_Nonnull)  requestModel
success: (void(^)(NSArray< ThingSmartDeviceAlarmServiceInfoEntity * > *_Nullable result))  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve detailed information for device alarms using a request model.

Parameters
requestModelThe request model .
successA block that will be called with an array of device alarm details.
failureA block that will be called if an error occurs, passing an NSError object.

◆ getDeviceAlarmServiceInfoWithRequestModel:success:failure: [4/4]

- (void) getDeviceAlarmServiceInfoWithRequestModel: (ThingSmartDeviceAlarmServiceRequestModel *_Nonnull)  requestModel
success: (void(^)(NSArray< ThingSmartDeviceAlarmServiceInfoEntity * > *_Nullable result))  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve detailed information for device alarms using a request model.

Parameters
requestModelThe request model .
successA block that will be called with an array of device alarm details.
failureA block that will be called if an error occurs, passing an NSError object.

◆ getDeviceAlarmSwitchStatusWithPushChannel:success:failure: [1/4]

- (void) getDeviceAlarmSwitchStatusWithPushChannel: (ThingSmartDeviceAlarmPushChannel)  pushChannel
success: (ThingSuccessBOOL _Nullable)  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve the current status of device alarm for a specific push channel.

Parameters
pushChannelThe push channel.
successA block that will be called with a BOOL indicating the current status.
failureA block that will be called if an error occurs, passing an NSError object.

◆ getDeviceAlarmSwitchStatusWithPushChannel:success:failure: [2/4]

- (void) getDeviceAlarmSwitchStatusWithPushChannel: (ThingSmartDeviceAlarmPushChannel)  pushChannel
success: (ThingSuccessBOOL _Nullable)  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve the current status of device alarm for a specific push channel.

Parameters
pushChannelThe push channel.
successA block that will be called with a BOOL indicating the current status.
failureA block that will be called if an error occurs, passing an NSError object.

◆ getDeviceAlarmSwitchStatusWithPushChannel:success:failure: [3/4]

- (void) getDeviceAlarmSwitchStatusWithPushChannel: (ThingSmartDeviceAlarmPushChannel)  pushChannel
success: (ThingSuccessBOOL _Nullable)  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve the current status of device alarm for a specific push channel.

Parameters
pushChannelThe push channel.
successA block that will be called with a BOOL indicating the current status.
failureA block that will be called if an error occurs, passing an NSError object.

◆ getDeviceAlarmSwitchStatusWithPushChannel:success:failure: [4/4]

- (void) getDeviceAlarmSwitchStatusWithPushChannel: (ThingSmartDeviceAlarmPushChannel)  pushChannel
success: (ThingSuccessBOOL _Nullable)  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve the current status of device alarm for a specific push channel.

Parameters
pushChannelThe push channel.
successA block that will be called with a BOOL indicating the current status.
failureA block that will be called if an error occurs, passing an NSError object.

◆ getDeviceAlarmThrottleTimeWithPushChannel:success:failure: [1/4]

- (void) getDeviceAlarmThrottleTimeWithPushChannel: (ThingSmartDeviceAlarmPushChannel)  pushChannel
success: (ThingSuccessInt _Nullable)  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve the current throttle time for device alarms on a specific push channel.

Parameters
pushChannelThe push channel.
successA block that will be called with an integer indicating the current throttle time.
failureA block that will be called if an error occurs, passing an NSError object.

◆ getDeviceAlarmThrottleTimeWithPushChannel:success:failure: [2/4]

- (void) getDeviceAlarmThrottleTimeWithPushChannel: (ThingSmartDeviceAlarmPushChannel)  pushChannel
success: (ThingSuccessInt _Nullable)  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve the current throttle time for device alarms on a specific push channel.

Parameters
pushChannelThe push channel.
successA block that will be called with an integer indicating the current throttle time.
failureA block that will be called if an error occurs, passing an NSError object.

◆ getDeviceAlarmThrottleTimeWithPushChannel:success:failure: [3/4]

- (void) getDeviceAlarmThrottleTimeWithPushChannel: (ThingSmartDeviceAlarmPushChannel)  pushChannel
success: (ThingSuccessInt _Nullable)  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve the current throttle time for device alarms on a specific push channel.

Parameters
pushChannelThe push channel.
successA block that will be called with an integer indicating the current throttle time.
failureA block that will be called if an error occurs, passing an NSError object.

◆ getDeviceAlarmThrottleTimeWithPushChannel:success:failure: [4/4]

- (void) getDeviceAlarmThrottleTimeWithPushChannel: (ThingSmartDeviceAlarmPushChannel)  pushChannel
success: (ThingSuccessInt _Nullable)  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve the current throttle time for device alarms on a specific push channel.

Parameters
pushChannelThe push channel.
successA block that will be called with an integer indicating the current throttle time.
failureA block that will be called if an error occurs, passing an NSError object.

◆ getMessagePushSwitchStatusWithType:success:failure: [1/4]

- (void) getMessagePushSwitchStatusWithType: (ThingSmartMessagePushSwitchType)  type
success: (ThingSuccessBOOL _Nullable)  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve the current status of the message push switch for a given type.

Parameters
typeThe type of message switch.
successA block that will be called with a BOOL indicating the current status.
failureA block that will be called if an error occurs, passing an NSError object.

◆ getMessagePushSwitchStatusWithType:success:failure: [2/4]

- (void) getMessagePushSwitchStatusWithType: (ThingSmartMessagePushSwitchType)  type
success: (ThingSuccessBOOL _Nullable)  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve the current status of the message push switch for a given type.

Parameters
typeThe type of message switch.
successA block that will be called with a BOOL indicating the current status.
failureA block that will be called if an error occurs, passing an NSError object.

◆ getMessagePushSwitchStatusWithType:success:failure: [3/4]

- (void) getMessagePushSwitchStatusWithType: (ThingSmartMessagePushSwitchType)  type
success: (ThingSuccessBOOL _Nullable)  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve the current status of the message push switch for a given type.

Parameters
typeThe type of message switch.
successA block that will be called with a BOOL indicating the current status.
failureA block that will be called if an error occurs, passing an NSError object.

◆ getMessagePushSwitchStatusWithType:success:failure: [4/4]

- (void) getMessagePushSwitchStatusWithType: (ThingSmartMessagePushSwitchType)  type
success: (ThingSuccessBOOL _Nullable)  success
failure: (ThingFailureError _Nullable)  failure 

Retrieve the current status of the message push switch for a given type.

Parameters
typeThe type of message switch.
successA block that will be called with a BOOL indicating the current status.
failureA block that will be called if an error occurs, passing an NSError object.

◆ setDeviceAlarmServiceInfoWithRequestModel:success:failure: [1/4]

- (void) setDeviceAlarmServiceInfoWithRequestModel: (ThingSmartDeviceAlarmServiceUpdateRequestModel *_Nonnull)  requestModel
success: (ThingSuccessBOOL _Nullable)  success
failure: (ThingFailureError _Nullable)  failure 

Update the service information for device alarms using a request model.

Parameters
requestModelThe request model containing the new service information.
successA block that will be called if the operation is successful, returning a BOOL.
failureA block that will be called if an error occurs, passing an NSError object.

◆ setDeviceAlarmServiceInfoWithRequestModel:success:failure: [2/4]

- (void) setDeviceAlarmServiceInfoWithRequestModel: (ThingSmartDeviceAlarmServiceUpdateRequestModel *_Nonnull)  requestModel
success: (ThingSuccessBOOL _Nullable)  success
failure: (ThingFailureError _Nullable)  failure 

Update the service information for device alarms using a request model.

Parameters
requestModelThe request model containing the new service information.
successA block that will be called if the operation is successful, returning a BOOL.
failureA block that will be called if an error occurs, passing an NSError object.

◆ setDeviceAlarmServiceInfoWithRequestModel:success:failure: [3/4]

- (void) setDeviceAlarmServiceInfoWithRequestModel: (ThingSmartDeviceAlarmServiceUpdateRequestModel *_Nonnull)  requestModel
success: (ThingSuccessBOOL _Nullable)  success
failure: (ThingFailureError _Nullable)  failure 

Update the service information for device alarms using a request model.

Parameters
requestModelThe request model containing the new service information.
successA block that will be called if the operation is successful, returning a BOOL.
failureA block that will be called if an error occurs, passing an NSError object.

◆ setDeviceAlarmServiceInfoWithRequestModel:success:failure: [4/4]

- (void) setDeviceAlarmServiceInfoWithRequestModel: (ThingSmartDeviceAlarmServiceUpdateRequestModel *_Nonnull)  requestModel
success: (ThingSuccessBOOL _Nullable)  success
failure: (ThingFailureError _Nullable)  failure 

Update the service information for device alarms using a request model.

Parameters
requestModelThe request model containing the new service information.
successA block that will be called if the operation is successful, returning a BOOL.
failureA block that will be called if an error occurs, passing an NSError object.

◆ setDeviceAlarmSwitchStatusWithRequestModel:success:failure: [1/4]

- (void) setDeviceAlarmSwitchStatusWithRequestModel: (ThingSmartDeviceAlarmSwitchRequestModel *_Nonnull)  requestModel
success: (__nullable ThingSuccessHandler success
failure: (__nullable ThingFailureError failure 

Set the alarm switch status using a request model.

Parameters
requestModelThe request model containing the new status.
successA block that will be called if the operation is successful.
failureA block that will be called if an error occurs, passing an NSError object.

◆ setDeviceAlarmSwitchStatusWithRequestModel:success:failure: [2/4]

- (void) setDeviceAlarmSwitchStatusWithRequestModel: (ThingSmartDeviceAlarmSwitchRequestModel *_Nonnull)  requestModel
success: (__nullable ThingSuccessHandler success
failure: (__nullable ThingFailureError failure 

Set the alarm switch status using a request model.

Parameters
requestModelThe request model containing the new status.
successA block that will be called if the operation is successful.
failureA block that will be called if an error occurs, passing an NSError object.

◆ setDeviceAlarmSwitchStatusWithRequestModel:success:failure: [3/4]

- (void) setDeviceAlarmSwitchStatusWithRequestModel: (ThingSmartDeviceAlarmSwitchRequestModel *_Nonnull)  requestModel
success: (__nullable ThingSuccessHandler success
failure: (__nullable ThingFailureError failure 

Set the alarm switch status using a request model.

Parameters
requestModelThe request model containing the new status.
successA block that will be called if the operation is successful.
failureA block that will be called if an error occurs, passing an NSError object.

◆ setDeviceAlarmSwitchStatusWithRequestModel:success:failure: [4/4]

- (void) setDeviceAlarmSwitchStatusWithRequestModel: (ThingSmartDeviceAlarmSwitchRequestModel *_Nonnull)  requestModel
success: (__nullable ThingSuccessHandler success
failure: (__nullable ThingFailureError failure 

Set the alarm switch status using a request model.

Parameters
requestModelThe request model containing the new status.
successA block that will be called if the operation is successful.
failureA block that will be called if an error occurs, passing an NSError object.

◆ setDeviceAlarmThrottleTimeWithRequestModel:success:failure: [1/4]

- (void) setDeviceAlarmThrottleTimeWithRequestModel: (ThingSmartDeviceAlarmThrottleTimeRequestModel *_Nonnull)  requestModel
success: (__nullable ThingSuccessBOOL success
failure: (__nullable ThingFailureError failure 

Set the throttle time for device alarms using a request model.

Parameters
requestModelThe request model containing the new throttle time.
successA block that will be called if the operation is successful, returning a BOOL.
failureA block that will be called if an error occurs, passing an NSError object.

◆ setDeviceAlarmThrottleTimeWithRequestModel:success:failure: [2/4]

- (void) setDeviceAlarmThrottleTimeWithRequestModel: (ThingSmartDeviceAlarmThrottleTimeRequestModel *_Nonnull)  requestModel
success: (__nullable ThingSuccessBOOL success
failure: (__nullable ThingFailureError failure 

Set the throttle time for device alarms using a request model.

Parameters
requestModelThe request model containing the new throttle time.
successA block that will be called if the operation is successful, returning a BOOL.
failureA block that will be called if an error occurs, passing an NSError object.

◆ setDeviceAlarmThrottleTimeWithRequestModel:success:failure: [3/4]

- (void) setDeviceAlarmThrottleTimeWithRequestModel: (ThingSmartDeviceAlarmThrottleTimeRequestModel *_Nonnull)  requestModel
success: (__nullable ThingSuccessBOOL success
failure: (__nullable ThingFailureError failure 

Set the throttle time for device alarms using a request model.

Parameters
requestModelThe request model containing the new throttle time.
successA block that will be called if the operation is successful, returning a BOOL.
failureA block that will be called if an error occurs, passing an NSError object.

◆ setDeviceAlarmThrottleTimeWithRequestModel:success:failure: [4/4]

- (void) setDeviceAlarmThrottleTimeWithRequestModel: (ThingSmartDeviceAlarmThrottleTimeRequestModel *_Nonnull)  requestModel
success: (__nullable ThingSuccessBOOL success
failure: (__nullable ThingFailureError failure 

Set the throttle time for device alarms using a request model.

Parameters
requestModelThe request model containing the new throttle time.
successA block that will be called if the operation is successful, returning a BOOL.
failureA block that will be called if an error occurs, passing an NSError object.

◆ setMessagePushSwitchStatusWithRequestModel:success:failure: [1/4]

- (void) setMessagePushSwitchStatusWithRequestModel: (ThingSmartMessagePushSwitchRequestModel *_Nonnull)  requestModel
success: (__nullable ThingSuccessHandler success
failure: (__nullable ThingFailureError failure 

Set the status of the message push switch using a request model.

Parameters
requestModelThe request model containing the new status.
successA block that will be called if the operation is successful.
failureA block that will be called if an error occurs, passing an NSError object.

◆ setMessagePushSwitchStatusWithRequestModel:success:failure: [2/4]

- (void) setMessagePushSwitchStatusWithRequestModel: (ThingSmartMessagePushSwitchRequestModel *_Nonnull)  requestModel
success: (__nullable ThingSuccessHandler success
failure: (__nullable ThingFailureError failure 

Set the status of the message push switch using a request model.

Parameters
requestModelThe request model containing the new status.
successA block that will be called if the operation is successful.
failureA block that will be called if an error occurs, passing an NSError object.

◆ setMessagePushSwitchStatusWithRequestModel:success:failure: [3/4]

- (void) setMessagePushSwitchStatusWithRequestModel: (ThingSmartMessagePushSwitchRequestModel *_Nonnull)  requestModel
success: (__nullable ThingSuccessHandler success
failure: (__nullable ThingFailureError failure 

Set the status of the message push switch using a request model.

Parameters
requestModelThe request model containing the new status.
successA block that will be called if the operation is successful.
failureA block that will be called if an error occurs, passing an NSError object.

◆ setMessagePushSwitchStatusWithRequestModel:success:failure: [4/4]

- (void) setMessagePushSwitchStatusWithRequestModel: (ThingSmartMessagePushSwitchRequestModel *_Nonnull)  requestModel
success: (__nullable ThingSuccessHandler success
failure: (__nullable ThingFailureError failure 

Set the status of the message push switch using a request model.

Parameters
requestModelThe request model containing the new status.
successA block that will be called if the operation is successful.
failureA block that will be called if an error occurs, passing an NSError object.

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