Class: TencentCloud::Iotcloud::V20180614::UpdateDeviceShadowRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180614/models.rb

Overview

UpdateDeviceShadow请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#DeviceNameObject



4485
4486
4487
# File 'lib/v20180614/models.rb', line 4485

def DeviceName
  @DeviceName
end

#PrefixObject



4485
4486
4487
# File 'lib/v20180614/models.rb', line 4485

def Prefix
  @Prefix
end

#ProductIdObject



4485
4486
4487
# File 'lib/v20180614/models.rb', line 4485

def ProductId
  @ProductId
end

#ShadowVersionObject



4485
4486
4487
# File 'lib/v20180614/models.rb', line 4485

def ShadowVersion
  @ShadowVersion
end

#StateObject



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