Class: TencentCloud::Iotvideoindustry::V20201201::ModifySubscriptionStatusRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::ModifySubscriptionStatusRequest
- Defined in:
- lib/v20201201/models.rb
Overview
ModifySubscriptionStatus请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(deviceid = nil, status = nil, subscriptionitem = nil) ⇒ ModifySubscriptionStatusRequest
constructor
A new instance of ModifySubscriptionStatusRequest.
Constructor Details
#initialize(deviceid = nil, status = nil, subscriptionitem = nil) ⇒ ModifySubscriptionStatusRequest
Returns a new instance of ModifySubscriptionStatusRequest.
5685 5686 5687 5688 5689 |
# File 'lib/v20201201/models.rb', line 5685 def initialize(deviceid=nil, status=nil, subscriptionitem=nil) @DeviceId = deviceid @Status = status @SubscriptionItem = subscriptionitem end |
Instance Attribute Details
#DeviceId ⇒ Object
5683 5684 5685 |
# File 'lib/v20201201/models.rb', line 5683 def DeviceId @DeviceId end |
#Status ⇒ Object
5683 5684 5685 |
# File 'lib/v20201201/models.rb', line 5683 def Status @Status end |
#SubscriptionItem ⇒ Object
5683 5684 5685 |
# File 'lib/v20201201/models.rb', line 5683 def SubscriptionItem @SubscriptionItem end |
Instance Method Details
#deserialize(params) ⇒ Object
5691 5692 5693 5694 5695 |
# File 'lib/v20201201/models.rb', line 5691 def deserialize(params) @DeviceId = params['DeviceId'] @Status = params['Status'] @SubscriptionItem = params['SubscriptionItem'] end |