Class: TencentCloud::Weilingwith::V20230427::AddDeviceInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Weilingwith::V20230427::AddDeviceInfo
- Defined in:
- lib/v20230427/models.rb
Overview
添加设备信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productid = nil, sn = nil, parentwid = nil, keysource = nil) ⇒ AddDeviceInfo
constructor
A new instance of AddDeviceInfo.
Constructor Details
#initialize(productid = nil, sn = nil, parentwid = nil, keysource = nil) ⇒ AddDeviceInfo
Returns a new instance of AddDeviceInfo.
222 223 224 225 226 227 |
# File 'lib/v20230427/models.rb', line 222 def initialize(productid=nil, sn=nil, parentwid=nil, keysource=nil) @ProductId = productid @SN = sn @ParentWID = parentwid @KeySource = keysource end |
Instance Attribute Details
#KeySource ⇒ Object
220 221 222 |
# File 'lib/v20230427/models.rb', line 220 def KeySource @KeySource end |
#ParentWID ⇒ Object
220 221 222 |
# File 'lib/v20230427/models.rb', line 220 def ParentWID @ParentWID end |
#ProductId ⇒ Object
220 221 222 |
# File 'lib/v20230427/models.rb', line 220 def ProductId @ProductId end |
#SN ⇒ Object
220 221 222 |
# File 'lib/v20230427/models.rb', line 220 def SN @SN end |
Instance Method Details
#deserialize(params) ⇒ Object
229 230 231 232 233 234 |
# File 'lib/v20230427/models.rb', line 229 def deserialize(params) @ProductId = params['ProductId'] @SN = params['SN'] @ParentWID = params['ParentWID'] @KeySource = params['KeySource'] end |