Class: TencentCloud::Tione::V20211111::DescribeTrainingTaskPodsResponse

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

Overview

DescribeTrainingTaskPods返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(podnames = nil, totalcount = nil, podinfolist = nil, requestid = nil) ⇒ DescribeTrainingTaskPodsResponse

Returns a new instance of DescribeTrainingTaskPodsResponse.



4093
4094
4095
4096
4097
4098
# File 'lib/v20211111/models.rb', line 4093

def initialize(podnames=nil, totalcount=nil, podinfolist=nil, requestid=nil)
  @PodNames = podnames
  @TotalCount = totalcount
  @PodInfoList = podinfolist
  @RequestId = requestid
end

Instance Attribute Details

#PodInfoListObject

Parameters:

  • PodNames:

    pod名称列表

  • TotalCount:

    数量

  • PodInfoList:

    pod详细信息

  • RequestId:

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



4091
4092
4093
# File 'lib/v20211111/models.rb', line 4091

def PodInfoList
  @PodInfoList
end

#PodNamesObject

Parameters:

  • PodNames:

    pod名称列表

  • TotalCount:

    数量

  • PodInfoList:

    pod详细信息

  • RequestId:

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



4091
4092
4093
# File 'lib/v20211111/models.rb', line 4091

def PodNames
  @PodNames
end

#RequestIdObject

Parameters:

  • PodNames:

    pod名称列表

  • TotalCount:

    数量

  • PodInfoList:

    pod详细信息

  • RequestId:

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



4091
4092
4093
# File 'lib/v20211111/models.rb', line 4091

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • PodNames:

    pod名称列表

  • TotalCount:

    数量

  • PodInfoList:

    pod详细信息

  • RequestId:

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



4091
4092
4093
# File 'lib/v20211111/models.rb', line 4091

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
# File 'lib/v20211111/models.rb', line 4100

def deserialize(params)
  @PodNames = params['PodNames']
  @TotalCount = params['TotalCount']
  unless params['PodInfoList'].nil?
    @PodInfoList = []
    params['PodInfoList'].each do |i|
      podinfo_tmp = PodInfo.new
      podinfo_tmp.deserialize(i)
      @PodInfoList << podinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end