Class: TencentCloud::Iotcloud::V20210408::UpdateDevicePSKRequest

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

Overview

UpdateDevicePSK请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(productid = nil, devicename = nil, psk = nil) ⇒ UpdateDevicePSKRequest

Returns a new instance of UpdateDevicePSKRequest.



4458
4459
4460
4461
4462
# File 'lib/v20210408/models.rb', line 4458

def initialize(productid=nil, devicename=nil, psk=nil)
  @ProductId = productid
  @DeviceName = devicename
  @Psk = psk
end

Instance Attribute Details

#DeviceNameObject

Parameters:

  • ProductId:

    产品名

  • DeviceName:

    设备名

  • Psk:

    设备的psk



4456
4457
4458
# File 'lib/v20210408/models.rb', line 4456

def DeviceName
  @DeviceName
end

#ProductIdObject

Parameters:

  • ProductId:

    产品名

  • DeviceName:

    设备名

  • Psk:

    设备的psk



4456
4457
4458
# File 'lib/v20210408/models.rb', line 4456

def ProductId
  @ProductId
end

#PskObject

Parameters:

  • ProductId:

    产品名

  • DeviceName:

    设备名

  • Psk:

    设备的psk



4456
4457
4458
# File 'lib/v20210408/models.rb', line 4456

def Psk
  @Psk
end

Instance Method Details

#deserialize(params) ⇒ Object



4464
4465
4466
4467
4468
# File 'lib/v20210408/models.rb', line 4464

def deserialize(params)
  @ProductId = params['ProductId']
  @DeviceName = params['DeviceName']
  @Psk = params['Psk']
end