Class: TencentCloud::Thpc::V20230321::DescribeJobsOverviewResponse

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

Overview

DescribeJobsOverview返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(jobtotal = nil, queuingjobtotal = nil, runningjobtotal = nil, requestid = nil) ⇒ DescribeJobsOverviewResponse

Returns a new instance of DescribeJobsOverviewResponse.



1555
1556
1557
1558
1559
1560
# File 'lib/v20230321/models.rb', line 1555

def initialize(jobtotal=nil, queuingjobtotal=nil, runningjobtotal=nil, requestid=nil)
  @JobTotal = jobtotal
  @QueuingJobTotal = queuingjobtotal
  @RunningJobTotal = runningjobtotal
  @RequestId = requestid
end

Instance Attribute Details

#JobTotalObject

Parameters:

  • 作业任务数量

  • 排队中的作业任务数量

  • 运行中的作业数量

  • 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1553
1554
1555
# File 'lib/v20230321/models.rb', line 1553

def JobTotal
  @JobTotal
end

#QueuingJobTotalObject

Parameters:

  • 作业任务数量

  • 排队中的作业任务数量

  • 运行中的作业数量

  • 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1553
1554
1555
# File 'lib/v20230321/models.rb', line 1553

def QueuingJobTotal
  @QueuingJobTotal
end

#RequestIdObject

Parameters:

  • 作业任务数量

  • 排队中的作业任务数量

  • 运行中的作业数量

  • 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1553
1554
1555
# File 'lib/v20230321/models.rb', line 1553

def RequestId
  @RequestId
end

#RunningJobTotalObject

Parameters:

  • 作业任务数量

  • 排队中的作业任务数量

  • 运行中的作业数量

  • 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1553
1554
1555
# File 'lib/v20230321/models.rb', line 1553

def RunningJobTotal
  @RunningJobTotal
end

Instance Method Details

#deserialize(params) ⇒ Object



1562
1563
1564
1565
1566
1567
# File 'lib/v20230321/models.rb', line 1562

def deserialize(params)
  @JobTotal = params['JobTotal']
  @QueuingJobTotal = params['QueuingJobTotal']
  @RunningJobTotal = params['RunningJobTotal']
  @RequestId = params['RequestId']
end