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.



33996
33997
33998
33999
34000
34001
34002
34003
34004
34005
34006
34007
34008
34009
34010
34011
# File 'lib/v20210820/models.rb', line 33996

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:



33994
33995
33996
# File 'lib/v20210820/models.rb', line 33994

def ClusterId
  @ClusterId
end

#ContentObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



33994
33995
33996
# File 'lib/v20210820/models.rb', line 33994

def Content
  @Content
end

#DescriptionObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



33994
33995
33996
# File 'lib/v20210820/models.rb', line 33994

def Description
  @Description
end

#JobIdObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



33994
33995
33996
# File 'lib/v20210820/models.rb', line 33994

def JobId
  @JobId
end

#JobTypeObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



33994
33995
33996
# File 'lib/v20210820/models.rb', line 33994

def JobType
  @JobType
end

#ModeObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



33994
33995
33996
# File 'lib/v20210820/models.rb', line 33994

def Mode
  @Mode
end

#ParametersObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



33994
33995
33996
# File 'lib/v20210820/models.rb', line 33994

def Parameters
  @Parameters
end

#ProjectIdObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



33994
33995
33996
# File 'lib/v20210820/models.rb', line 33994

def ProjectId
  @ProjectId
end

#QueueObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



33994
33995
33996
# File 'lib/v20210820/models.rb', line 33994

def Queue
  @Queue
end

#StageIdObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



33994
33995
33996
# File 'lib/v20210820/models.rb', line 33994

def StageId
  @StageId
end

#StageNameObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



33994
33995
33996
# File 'lib/v20210820/models.rb', line 33994

def StageName
  @StageName
end

#TypeObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



33994
33995
33996
# File 'lib/v20210820/models.rb', line 33994

def Type
  @Type
end

#VersionObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



33994
33995
33996
# File 'lib/v20210820/models.rb', line 33994

def Version
  @Version
end

#WorkFlowIdObject

Parameters:

  • ClusterId:

  • StageId:

  • JobId:

  • StageName:

  • Type:

  • Mode:

  • Version:

  • Queue:

  • Content:

  • Parameters:

  • Description:

  • ProjectId:

  • JobType:

  • WorkFlowId:



33994
33995
33996
# File 'lib/v20210820/models.rb', line 33994

def WorkFlowId
  @WorkFlowId
end

Instance Method Details

#deserialize(params) ⇒ Object



34013
34014
34015
34016
34017
34018
34019
34020
34021
34022
34023
34024
34025
34026
34027
34028
34029
34030
34031
34032
34033
34034
34035
# File 'lib/v20210820/models.rb', line 34013

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