Class: TencentCloud::Iotcloud::V20210408::UpdateDeviceShadowRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20210408::UpdateDeviceShadowRequest
- Defined in:
- lib/v20210408/models.rb
Overview
UpdateDeviceShadow请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productid = nil, devicename = nil, state = nil, shadowversion = nil) ⇒ UpdateDeviceShadowRequest
constructor
A new instance of UpdateDeviceShadowRequest.
Constructor Details
#initialize(productid = nil, devicename = nil, state = nil, shadowversion = nil) ⇒ UpdateDeviceShadowRequest
Returns a new instance of UpdateDeviceShadowRequest.
4500 4501 4502 4503 4504 4505 |
# File 'lib/v20210408/models.rb', line 4500 def initialize(productid=nil, devicename=nil, state=nil, shadowversion=nil) @ProductId = productid @DeviceName = devicename @State = state @ShadowVersion = shadowversion end |
Instance Attribute Details
#DeviceName ⇒ Object
4498 4499 4500 |
# File 'lib/v20210408/models.rb', line 4498 def DeviceName @DeviceName end |
#ProductId ⇒ Object
4498 4499 4500 |
# File 'lib/v20210408/models.rb', line 4498 def ProductId @ProductId end |
#ShadowVersion ⇒ Object
4498 4499 4500 |
# File 'lib/v20210408/models.rb', line 4498 def ShadowVersion @ShadowVersion end |
#State ⇒ Object
4498 4499 4500 |
# File 'lib/v20210408/models.rb', line 4498 def State @State end |
Instance Method Details
#deserialize(params) ⇒ Object
4507 4508 4509 4510 4511 4512 |
# File 'lib/v20210408/models.rb', line 4507 def deserialize(params) @ProductId = params['ProductId'] @DeviceName = params['DeviceName'] @State = params['State'] @ShadowVersion = params['ShadowVersion'] end |