Class: TencentCloud::Wedata::V20210820::StageCloudApiRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::StageCloudApiRequest
- Defined in:
- lib/v20210820/models.rb
Overview
无
Instance Attribute Summary collapse
- #ClusterId ⇒ Object
- #Content ⇒ Object
- #Description ⇒ Object
- #JobId ⇒ Object
- #JobType ⇒ Object
- #Mode ⇒ Object
- #Parameters ⇒ Object
- #ProjectId ⇒ Object
- #Queue ⇒ Object
- #StageId ⇒ Object
- #StageName ⇒ Object
- #Type ⇒ Object
- #Version ⇒ Object
- #WorkFlowId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, stageid = nil, jobid = nil, stagename = nil, type = nil, mode = nil, version = nil, queue = nil, content = nil, parameters = nil, description = nil, projectid = nil, jobtype = nil, workflowid = nil) ⇒ StageCloudApiRequest
constructor
A new instance of StageCloudApiRequest.
Constructor Details
#initialize(clusterid = nil, stageid = nil, jobid = nil, stagename = nil, type = nil, mode = nil, version = nil, queue = nil, content = nil, parameters = nil, description = nil, projectid = nil, jobtype = nil, workflowid = nil) ⇒ StageCloudApiRequest
Returns a new instance of StageCloudApiRequest.
30705 30706 30707 30708 30709 30710 30711 30712 30713 30714 30715 30716 30717 30718 30719 30720 |
# File 'lib/v20210820/models.rb', line 30705 def initialize(clusterid=nil, stageid=nil, jobid=nil, stagename=nil, type=nil, mode=nil, version=nil, queue=nil, content=nil, parameters=nil, description=nil, projectid=nil, jobtype=nil, workflowid=nil) @ClusterId = clusterid @StageId = stageid @JobId = jobid @StageName = stagename @Type = type @Mode = mode @Version = version @Queue = queue @Content = content @Parameters = parameters @Description = description @ProjectId = projectid @JobType = jobtype @WorkFlowId = workflowid end |
Instance Attribute Details
#ClusterId ⇒ Object
30703 30704 30705 |
# File 'lib/v20210820/models.rb', line 30703 def ClusterId @ClusterId end |
#Content ⇒ Object
30703 30704 30705 |
# File 'lib/v20210820/models.rb', line 30703 def Content @Content end |
#Description ⇒ Object
30703 30704 30705 |
# File 'lib/v20210820/models.rb', line 30703 def Description @Description end |
#JobId ⇒ Object
30703 30704 30705 |
# File 'lib/v20210820/models.rb', line 30703 def JobId @JobId end |
#JobType ⇒ Object
30703 30704 30705 |
# File 'lib/v20210820/models.rb', line 30703 def JobType @JobType end |
#Mode ⇒ Object
30703 30704 30705 |
# File 'lib/v20210820/models.rb', line 30703 def Mode @Mode end |
#Parameters ⇒ Object
30703 30704 30705 |
# File 'lib/v20210820/models.rb', line 30703 def Parameters @Parameters end |
#ProjectId ⇒ Object
30703 30704 30705 |
# File 'lib/v20210820/models.rb', line 30703 def ProjectId @ProjectId end |
#Queue ⇒ Object
30703 30704 30705 |
# File 'lib/v20210820/models.rb', line 30703 def Queue @Queue end |
#StageId ⇒ Object
30703 30704 30705 |
# File 'lib/v20210820/models.rb', line 30703 def StageId @StageId end |
#StageName ⇒ Object
30703 30704 30705 |
# File 'lib/v20210820/models.rb', line 30703 def StageName @StageName end |
#Type ⇒ Object
30703 30704 30705 |
# File 'lib/v20210820/models.rb', line 30703 def Type @Type end |
#Version ⇒ Object
30703 30704 30705 |
# File 'lib/v20210820/models.rb', line 30703 def Version @Version end |
#WorkFlowId ⇒ Object
30703 30704 30705 |
# File 'lib/v20210820/models.rb', line 30703 def WorkFlowId @WorkFlowId end |
Instance Method Details
#deserialize(params) ⇒ Object
30722 30723 30724 30725 30726 30727 30728 30729 30730 30731 30732 30733 30734 30735 30736 30737 30738 30739 30740 30741 30742 30743 30744 |
# File 'lib/v20210820/models.rb', line 30722 def deserialize(params) @ClusterId = params['ClusterId'] @StageId = params['StageId'] @JobId = params['JobId'] @StageName = params['StageName'] @Type = params['Type'] @Mode = params['Mode'] @Version = params['Version'] @Queue = params['Queue'] @Content = params['Content'] unless params['Parameters'].nil? @Parameters = [] params['Parameters'].each do |i| property_tmp = Property.new property_tmp.deserialize(i) @Parameters << property_tmp end end @Description = params['Description'] @ProjectId = params['ProjectId'] @JobType = params['JobType'] @WorkFlowId = params['WorkFlowId'] end |