Class: TencentCloud::Wedata::V20210820::StageCloudApiRequest

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

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ClusterIdObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



30703
30704
30705
# File 'lib/v20210820/models.rb', line 30703

def ClusterId
  @ClusterId
end

#ContentObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



30703
30704
30705
# File 'lib/v20210820/models.rb', line 30703

def Content
  @Content
end

#DescriptionObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



30703
30704
30705
# File 'lib/v20210820/models.rb', line 30703

def Description
  @Description
end

#JobIdObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



30703
30704
30705
# File 'lib/v20210820/models.rb', line 30703

def JobId
  @JobId
end

#JobTypeObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



30703
30704
30705
# File 'lib/v20210820/models.rb', line 30703

def JobType
  @JobType
end

#ModeObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



30703
30704
30705
# File 'lib/v20210820/models.rb', line 30703

def Mode
  @Mode
end

#ParametersObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



30703
30704
30705
# File 'lib/v20210820/models.rb', line 30703

def Parameters
  @Parameters
end

#ProjectIdObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



30703
30704
30705
# File 'lib/v20210820/models.rb', line 30703

def ProjectId
  @ProjectId
end

#QueueObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



30703
30704
30705
# File 'lib/v20210820/models.rb', line 30703

def Queue
  @Queue
end

#StageIdObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



30703
30704
30705
# File 'lib/v20210820/models.rb', line 30703

def StageId
  @StageId
end

#StageNameObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



30703
30704
30705
# File 'lib/v20210820/models.rb', line 30703

def StageName
  @StageName
end

#TypeObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



30703
30704
30705
# File 'lib/v20210820/models.rb', line 30703

def Type
  @Type
end

#VersionObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



30703
30704
30705
# File 'lib/v20210820/models.rb', line 30703

def Version
  @Version
end

#WorkFlowIdObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



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