Class: TencentCloud::Cloudstudio::V20230508::LifeCycleCommand

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

Overview

工作空间生命周期执行指令

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, command = nil) ⇒ LifeCycleCommand

Returns a new instance of LifeCycleCommand.



404
405
406
407
# File 'lib/v20230508/models.rb', line 404

def initialize(name=nil, command=nil)
  @Name = name
  @Command = command
end

Instance Attribute Details

#CommandObject

Parameters:

  • Name:

    指令描述

  • Command:

    具体命令



402
403
404
# File 'lib/v20230508/models.rb', line 402

def Command
  @Command
end

#NameObject

Parameters:

  • Name:

    指令描述

  • Command:

    具体命令



402
403
404
# File 'lib/v20230508/models.rb', line 402

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



409
410
411
412
# File 'lib/v20230508/models.rb', line 409

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