Class: TencentCloud::Iotvideoindustry::V20201201::ModifyDeviceDataRequest

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

Overview

ModifyDeviceData请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deviceid = nil, nickname = nil) ⇒ ModifyDeviceDataRequest

Returns a new instance of ModifyDeviceDataRequest.



5362
5363
5364
5365
# File 'lib/v20201201/models.rb', line 5362

def initialize(deviceid=nil, nickname=nil)
  @DeviceId = deviceid
  @NickName = nickname
end

Instance Attribute Details

#DeviceIdObject

Parameters:

  • DeviceId:

    设备唯一标识

  • NickName:

    设备名称



5360
5361
5362
# File 'lib/v20201201/models.rb', line 5360

def DeviceId
  @DeviceId
end

#NickNameObject

Parameters:

  • DeviceId:

    设备唯一标识

  • NickName:

    设备名称



5360
5361
5362
# File 'lib/v20201201/models.rb', line 5360

def NickName
  @NickName
end

Instance Method Details

#deserialize(params) ⇒ Object



5367
5368
5369
5370
# File 'lib/v20201201/models.rb', line 5367

def deserialize(params)
  @DeviceId = params['DeviceId']
  @NickName = params['NickName']
end