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.
22958 22959 22960 22961 22962 22963 22964 22965 22966 22967 22968 22969 22970 22971 22972 22973 |
# File 'lib/v20210820/models.rb', line 22958 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
22956 22957 22958 |
# File 'lib/v20210820/models.rb', line 22956 def ClusterId @ClusterId end |
#Content ⇒ Object
22956 22957 22958 |
# File 'lib/v20210820/models.rb', line 22956 def Content @Content end |
#Description ⇒ Object
22956 22957 22958 |
# File 'lib/v20210820/models.rb', line 22956 def Description @Description end |
#JobId ⇒ Object
22956 22957 22958 |
# File 'lib/v20210820/models.rb', line 22956 def JobId @JobId end |
#JobType ⇒ Object
22956 22957 22958 |
# File 'lib/v20210820/models.rb', line 22956 def JobType @JobType end |
#Mode ⇒ Object
22956 22957 22958 |
# File 'lib/v20210820/models.rb', line 22956 def Mode @Mode end |
#Parameters ⇒ Object
22956 22957 22958 |
# File 'lib/v20210820/models.rb', line 22956 def Parameters @Parameters end |
#ProjectId ⇒ Object
22956 22957 22958 |
# File 'lib/v20210820/models.rb', line 22956 def ProjectId @ProjectId end |
#Queue ⇒ Object
22956 22957 22958 |
# File 'lib/v20210820/models.rb', line 22956 def Queue @Queue end |
#StageId ⇒ Object
22956 22957 22958 |
# File 'lib/v20210820/models.rb', line 22956 def StageId @StageId end |
#StageName ⇒ Object
22956 22957 22958 |
# File 'lib/v20210820/models.rb', line 22956 def StageName @StageName end |
#Type ⇒ Object
22956 22957 22958 |
# File 'lib/v20210820/models.rb', line 22956 def Type @Type end |
#Version ⇒ Object
22956 22957 22958 |
# File 'lib/v20210820/models.rb', line 22956 def Version @Version end |
#WorkFlowId ⇒ Object
22956 22957 22958 |
# File 'lib/v20210820/models.rb', line 22956 def WorkFlowId @WorkFlowId end |
Instance Method Details
#deserialize(params) ⇒ Object
22975 22976 22977 22978 22979 22980 22981 22982 22983 22984 22985 22986 22987 22988 22989 22990 22991 22992 22993 22994 22995 22996 22997 |
# File 'lib/v20210820/models.rb', line 22975 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 |