Class: TencentCloud::Thpc::V20230321::JobView
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20230321::JobView
- Defined in:
- lib/v20230321/models.rb
Overview
作业概览信息
Instance Attribute Summary collapse
-
#ClusterId ⇒ Object
FAILED.
-
#CreateTime ⇒ Object
FAILED.
-
#EndTime ⇒ Object
FAILED.
-
#JobDescription ⇒ Object
FAILED.
-
#JobId ⇒ Object
FAILED.
-
#JobName ⇒ Object
FAILED.
-
#JobState ⇒ Object
FAILED.
-
#OccupyResources ⇒ Object
FAILED.
-
#Priority ⇒ Object
FAILED.
-
#QueueName ⇒ Object
FAILED.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(jobid = nil, jobname = nil, jobdescription = nil, priority = nil, jobstate = nil, clusterid = nil, queuename = nil, occupyresources = nil, createtime = nil, endtime = nil) ⇒ JobView
constructor
A new instance of JobView.
Constructor Details
#initialize(jobid = nil, jobname = nil, jobdescription = nil, priority = nil, jobstate = nil, clusterid = nil, queuename = nil, occupyresources = nil, createtime = nil, endtime = nil) ⇒ JobView
Returns a new instance of JobView.
2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 |
# File 'lib/v20230321/models.rb', line 2297 def initialize(jobid=nil, jobname=nil, jobdescription=nil, priority=nil, jobstate=nil, clusterid=nil, queuename=nil, occupyresources=nil, createtime=nil, endtime=nil) @JobId = jobid @JobName = jobname @JobDescription = jobdescription @Priority = priority @JobState = jobstate @ClusterId = clusterid @QueueName = queuename @OccupyResources = occupyresources @CreateTime = createtime @EndTime = endtime end |
Instance Attribute Details
#ClusterId ⇒ Object
FAILED
2295 2296 2297 |
# File 'lib/v20230321/models.rb', line 2295 def ClusterId @ClusterId end |
#CreateTime ⇒ Object
FAILED
2295 2296 2297 |
# File 'lib/v20230321/models.rb', line 2295 def CreateTime @CreateTime end |
#EndTime ⇒ Object
FAILED
2295 2296 2297 |
# File 'lib/v20230321/models.rb', line 2295 def EndTime @EndTime end |
#JobDescription ⇒ Object
FAILED
2295 2296 2297 |
# File 'lib/v20230321/models.rb', line 2295 def JobDescription @JobDescription end |
#JobId ⇒ Object
FAILED
2295 2296 2297 |
# File 'lib/v20230321/models.rb', line 2295 def JobId @JobId end |
#JobName ⇒ Object
FAILED
2295 2296 2297 |
# File 'lib/v20230321/models.rb', line 2295 def JobName @JobName end |
#JobState ⇒ Object
FAILED
2295 2296 2297 |
# File 'lib/v20230321/models.rb', line 2295 def JobState @JobState end |
#OccupyResources ⇒ Object
FAILED
2295 2296 2297 |
# File 'lib/v20230321/models.rb', line 2295 def OccupyResources @OccupyResources end |
#Priority ⇒ Object
FAILED
2295 2296 2297 |
# File 'lib/v20230321/models.rb', line 2295 def Priority @Priority end |
#QueueName ⇒ Object
FAILED
2295 2296 2297 |
# File 'lib/v20230321/models.rb', line 2295 def QueueName @QueueName end |
Instance Method Details
#deserialize(params) ⇒ Object
2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 |
# File 'lib/v20230321/models.rb', line 2310 def deserialize(params) @JobId = params['JobId'] @JobName = params['JobName'] @JobDescription = params['JobDescription'] @Priority = params['Priority'] @JobState = params['JobState'] @ClusterId = params['ClusterId'] @QueueName = params['QueueName'] @OccupyResources = params['OccupyResources'] @CreateTime = params['CreateTime'] @EndTime = params['EndTime'] end |