Class: TencentCloud::Tione::V20211111::DescribeTrainingTaskPodsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tione::V20211111::DescribeTrainingTaskPodsResponse
- Defined in:
- lib/v20211111/models.rb
Overview
DescribeTrainingTaskPods返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(podnames = nil, totalcount = nil, podinfolist = nil, requestid = nil) ⇒ DescribeTrainingTaskPodsResponse
constructor
A new instance of DescribeTrainingTaskPodsResponse.
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
#PodInfoList ⇒ Object
4091 4092 4093 |
# File 'lib/v20211111/models.rb', line 4091 def PodInfoList @PodInfoList end |
#PodNames ⇒ Object
4091 4092 4093 |
# File 'lib/v20211111/models.rb', line 4091 def PodNames @PodNames end |
#RequestId ⇒ Object
4091 4092 4093 |
# File 'lib/v20211111/models.rb', line 4091 def RequestId @RequestId end |
#TotalCount ⇒ Object
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 |