lib/v20211111/models.rb in tencentcloud-sdk-tione-3.0.460 vs lib/v20211111/models.rb in tencentcloud-sdk-tione-3.0.461
- old
+ new
@@ -7721,21 +7721,24 @@
# Pending 启动中
# Stopping 停止中
# @type Status: String
# @param StatefulSetCondition: 工作负载的状况信息
# @type StatefulSetCondition: Array
+ # @param Conditions: 工作负载历史的状况信息
+ # @type Conditions: Array
- attr_accessor :Replicas, :UpdatedReplicas, :ReadyReplicas, :AvailableReplicas, :UnavailableReplicas, :Status, :StatefulSetCondition
+ attr_accessor :Replicas, :UpdatedReplicas, :ReadyReplicas, :AvailableReplicas, :UnavailableReplicas, :Status, :StatefulSetCondition, :Conditions
- def initialize(replicas=nil, updatedreplicas=nil, readyreplicas=nil, availablereplicas=nil, unavailablereplicas=nil, status=nil, statefulsetcondition=nil)
+ def initialize(replicas=nil, updatedreplicas=nil, readyreplicas=nil, availablereplicas=nil, unavailablereplicas=nil, status=nil, statefulsetcondition=nil, conditions=nil)
@Replicas = replicas
@UpdatedReplicas = updatedreplicas
@ReadyReplicas = readyreplicas
@AvailableReplicas = availablereplicas
@UnavailableReplicas = unavailablereplicas
@Status = status
@StatefulSetCondition = statefulsetcondition
+ @Conditions = conditions
end
def deserialize(params)
@Replicas = params['Replicas']
@UpdatedReplicas = params['UpdatedReplicas']
@@ -7747,9 +7750,17 @@
@StatefulSetCondition = []
params['StatefulSetCondition'].each do |i|
statefulsetcondition_tmp = StatefulSetCondition.new
statefulsetcondition_tmp.deserialize(i)
@StatefulSetCondition << statefulsetcondition_tmp
+ end
+ end
+ unless params['Conditions'].nil?
+ @Conditions = []
+ params['Conditions'].each do |i|
+ statefulsetcondition_tmp = StatefulSetCondition.new
+ statefulsetcondition_tmp.deserialize(i)
+ @Conditions << statefulsetcondition_tmp
end
end
end
end