lib/v20211111/models.rb in tencentcloud-sdk-tione-3.0.586 vs lib/v20211111/models.rb in tencentcloud-sdk-tione-3.0.587

- old
+ new

@@ -4175,24 +4175,31 @@ class DescribeTrainingTaskPodsResponse < TencentCloud::Common::AbstractModel # @param PodNames: pod名称列表 # @type PodNames: Array # @param TotalCount: 数量 # @type TotalCount: Integer + # @param PodInfoList: pod详细信息 + # @type PodInfoList: :class:`Tencentcloud::Tione.v20211111.models.PodInfo` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String - attr_accessor :PodNames, :TotalCount, :RequestId + attr_accessor :PodNames, :TotalCount, :PodInfoList, :RequestId - def initialize(podnames=nil, totalcount=nil, requestid=nil) + def initialize(podnames=nil, totalcount=nil, podinfolist=nil, requestid=nil) @PodNames = podnames @TotalCount = totalcount + @PodInfoList = podinfolist @RequestId = requestid end def deserialize(params) @PodNames = params['PodNames'] @TotalCount = params['TotalCount'] + unless params['PodInfoList'].nil? + @PodInfoList = PodInfo.new + @PodInfoList.deserialize(params['PodInfoList']) + end @RequestId = params['RequestId'] end end # DescribeTrainingTask请求参数结构体 @@ -5800,9 +5807,31 @@ container_tmp = Container.new container_tmp.deserialize(i) @ContainerInfos << container_tmp end end + end + end + + # 任务建模Pod信息 + class PodInfo < TencentCloud::Common::AbstractModel + # @param Name: pod名 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type Name: String + # @param IP: pod的IP + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type IP: String + + attr_accessor :Name, :IP + + def initialize(name=nil, ip=nil) + @Name = name + @IP = ip + end + + def deserialize(params) + @Name = params['Name'] + @IP = params['IP'] end end # 点信息描述 class PointInfo < TencentCloud::Common::AbstractModel