Class: TencentCloud::Iotvideoindustry::V20201201::CreateDeviceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::CreateDeviceRequest
- Defined in:
- lib/v20201201/models.rb
Overview
CreateDevice请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(nickname = nil, password = nil, devicetype = nil, groupid = nil) ⇒ CreateDeviceRequest
constructor
A new instance of CreateDeviceRequest.
Constructor Details
#initialize(nickname = nil, password = nil, devicetype = nil, groupid = nil) ⇒ CreateDeviceRequest
Returns a new instance of CreateDeviceRequest.
627 628 629 630 631 632 |
# File 'lib/v20201201/models.rb', line 627 def initialize(nickname=nil, password=nil, devicetype=nil, groupid=nil) @NickName = nickname @PassWord = password @DeviceType = devicetype @GroupId = groupid end |
Instance Attribute Details
#DeviceType ⇒ Object
625 626 627 |
# File 'lib/v20201201/models.rb', line 625 def DeviceType @DeviceType end |
#GroupId ⇒ Object
625 626 627 |
# File 'lib/v20201201/models.rb', line 625 def GroupId @GroupId end |
#NickName ⇒ Object
625 626 627 |
# File 'lib/v20201201/models.rb', line 625 def NickName @NickName end |
#PassWord ⇒ Object
625 626 627 |
# File 'lib/v20201201/models.rb', line 625 def PassWord @PassWord end |
Instance Method Details
#deserialize(params) ⇒ Object
634 635 636 637 638 639 |
# File 'lib/v20201201/models.rb', line 634 def deserialize(params) @NickName = params['NickName'] @PassWord = params['PassWord'] @DeviceType = params['DeviceType'] @GroupId = params['GroupId'] end |