Class: TencentCloud::Oceanus::V20190422::StopJobDescription

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

Overview

停止作业的描述信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(jobid = nil, stoptype = nil) ⇒ StopJobDescription

Returns a new instance of StopJobDescription.



5659
5660
5661
5662
# File 'lib/v20190422/models.rb', line 5659

def initialize(jobid=nil, stoptype=nil)
  @JobId = jobid
  @StopType = stoptype
end

Instance Attribute Details

#JobIdObject

Parameters:

  • JobId:

    作业Id

  • StopType:

    停止类型,1 停止 2 暂停



5657
5658
5659
# File 'lib/v20190422/models.rb', line 5657

def JobId
  @JobId
end

#StopTypeObject

Parameters:

  • JobId:

    作业Id

  • StopType:

    停止类型,1 停止 2 暂停



5657
5658
5659
# File 'lib/v20190422/models.rb', line 5657

def StopType
  @StopType
end

Instance Method Details

#deserialize(params) ⇒ Object



5664
5665
5666
5667
# File 'lib/v20190422/models.rb', line 5664

def deserialize(params)
  @JobId = params['JobId']
  @StopType = params['StopType']
end