Class: TencentCloud::Thpc::V20230321::CommandItem

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

Overview

任务执行命令脚本。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(command = nil) ⇒ CommandItem

Returns a new instance of CommandItem.



620
621
622
# File 'lib/v20230321/models.rb', line 620

def initialize(command=nil)
  @Command = command
end

Instance Attribute Details

#CommandObject

Parameters:

  • Command:

    脚本命令



618
619
620
# File 'lib/v20230321/models.rb', line 618

def Command
  @Command
end

Instance Method Details

#deserialize(params) ⇒ Object



624
625
626
# File 'lib/v20230321/models.rb', line 624

def deserialize(params)
  @Command = params['Command']
end