Class: TencentCloud::Dasb::V20191018::CmdTemplate
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dasb::V20191018::CmdTemplate
- Defined in:
- lib/v20191018/models.rb
Overview
高危命令模板
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, name = nil, cmdlist = nil, type = nil) ⇒ CmdTemplate
constructor
A new instance of CmdTemplate.
Constructor Details
#initialize(id = nil, name = nil, cmdlist = nil, type = nil) ⇒ CmdTemplate
Returns a new instance of CmdTemplate.
657 658 659 660 661 662 |
# File 'lib/v20191018/models.rb', line 657 def initialize(id=nil, name=nil, cmdlist=nil, type=nil) @Id = id @Name = name @CmdList = cmdlist @Type = type end |
Instance Attribute Details
#CmdList ⇒ Object
655 656 657 |
# File 'lib/v20191018/models.rb', line 655 def CmdList @CmdList end |
#Id ⇒ Object
655 656 657 |
# File 'lib/v20191018/models.rb', line 655 def Id @Id end |
#Name ⇒ Object
655 656 657 |
# File 'lib/v20191018/models.rb', line 655 def Name @Name end |
#Type ⇒ Object
655 656 657 |
# File 'lib/v20191018/models.rb', line 655 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
664 665 666 667 668 669 |
# File 'lib/v20191018/models.rb', line 664 def deserialize(params) @Id = params['Id'] @Name = params['Name'] @CmdList = params['CmdList'] @Type = params['Type'] end |