Class: TencentCloud::Weilingwith::V20230427::ModifyDeviceFieldInfo

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

Overview

设备自定义值修改信息入参

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(wid = nil, key = nil, val = nil) ⇒ ModifyDeviceFieldInfo

Returns a new instance of ModifyDeviceFieldInfo.



6009
6010
6011
6012
6013
# File 'lib/v20230427/models.rb', line 6009

def initialize(wid=nil, key=nil, val=nil)
  @WID = wid
  @Key = key
  @Val = val
end

Instance Attribute Details

#KeyObject

Parameters:

  • WID:

    设备id

  • Key:

    自定义字段key

  • Val:

    自定义字段值



6007
6008
6009
# File 'lib/v20230427/models.rb', line 6007

def Key
  @Key
end

#ValObject

Parameters:

  • WID:

    设备id

  • Key:

    自定义字段key

  • Val:

    自定义字段值



6007
6008
6009
# File 'lib/v20230427/models.rb', line 6007

def Val
  @Val
end

#WIDObject

Parameters:

  • WID:

    设备id

  • Key:

    自定义字段key

  • Val:

    自定义字段值



6007
6008
6009
# File 'lib/v20230427/models.rb', line 6007

def WID
  @WID
end

Instance Method Details

#deserialize(params) ⇒ Object



6015
6016
6017
6018
6019
# File 'lib/v20230427/models.rb', line 6015

def deserialize(params)
  @WID = params['WID']
  @Key = params['Key']
  @Val = params['Val']
end