Class: TencentCloud::Dasb::V20191018::ModifyCmdTemplateRequest

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

Overview

ModifyCmdTemplate请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, cmdlist = nil, id = nil, encoding = nil, type = nil) ⇒ ModifyCmdTemplateRequest



3649
3650
3651
3652
3653
3654
3655
# File 'lib/v20191018/models.rb', line 3649

def initialize(name=nil, cmdlist=nil, id=nil, encoding=nil, type=nil)
  @Name = name
  @CmdList = cmdlist
  @Id = id
  @Encoding = encoding
  @Type = type
end

Instance Attribute Details

#CmdListObject

0:否,1:是



3647
3648
3649
# File 'lib/v20191018/models.rb', line 3647

def CmdList
  @CmdList
end

#EncodingObject

0:否,1:是



3647
3648
3649
# File 'lib/v20191018/models.rb', line 3647

def Encoding
  @Encoding
end

#IdObject

0:否,1:是



3647
3648
3649
# File 'lib/v20191018/models.rb', line 3647

def Id
  @Id
end

#NameObject

0:否,1:是



3647
3648
3649
# File 'lib/v20191018/models.rb', line 3647

def Name
  @Name
end

#TypeObject

0:否,1:是



3647
3648
3649
# File 'lib/v20191018/models.rb', line 3647

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



3657
3658
3659
3660
3661
3662
3663
# File 'lib/v20191018/models.rb', line 3657

def deserialize(params)
  @Name = params['Name']
  @CmdList = params['CmdList']
  @Id = params['Id']
  @Encoding = params['Encoding']
  @Type = params['Type']
end