Class: TencentCloud::Iotcloud::V20180614::UpdateDeviceShadowRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20180614::UpdateDeviceShadowRequest
- Defined in:
- lib/v20180614/models.rb
Overview
UpdateDeviceShadow请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productid = nil, devicename = nil, state = nil, shadowversion = nil, prefix = nil) ⇒ UpdateDeviceShadowRequest
constructor
A new instance of UpdateDeviceShadowRequest.
Constructor Details
#initialize(productid = nil, devicename = nil, state = nil, shadowversion = nil, prefix = nil) ⇒ UpdateDeviceShadowRequest
4487 4488 4489 4490 4491 4492 4493 |
# File 'lib/v20180614/models.rb', line 4487 def initialize(productid=nil, devicename=nil, state=nil, shadowversion=nil, prefix=nil) @ProductId = productid @DeviceName = devicename @State = state @ShadowVersion = shadowversion @Prefix = prefix end |
Instance Attribute Details
#DeviceName ⇒ Object
4485 4486 4487 |
# File 'lib/v20180614/models.rb', line 4485 def DeviceName @DeviceName end |
#Prefix ⇒ Object
4485 4486 4487 |
# File 'lib/v20180614/models.rb', line 4485 def Prefix @Prefix end |
#ProductId ⇒ Object
4485 4486 4487 |
# File 'lib/v20180614/models.rb', line 4485 def ProductId @ProductId end |
#ShadowVersion ⇒ Object
4485 4486 4487 |
# File 'lib/v20180614/models.rb', line 4485 def ShadowVersion @ShadowVersion end |
#State ⇒ Object
4485 4486 4487 |
# File 'lib/v20180614/models.rb', line 4485 def State @State end |
Instance Method Details
#deserialize(params) ⇒ Object
4495 4496 4497 4498 4499 4500 4501 |
# File 'lib/v20180614/models.rb', line 4495 def deserialize(params) @ProductId = params['ProductId'] @DeviceName = params['DeviceName'] @State = params['State'] @ShadowVersion = params['ShadowVersion'] @Prefix = params['Prefix'] end |