Class: TencentCloud::Tke::V20180525::DescribePrometheusInstancesOverviewResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribePrometheusInstancesOverviewResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribePrometheusInstancesOverview返回参数结构体
Instance Attribute Summary collapse
-
#Instances ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instances = nil, total = nil, requestid = nil) ⇒ DescribePrometheusInstancesOverviewResponse
constructor
A new instance of DescribePrometheusInstancesOverviewResponse.
Constructor Details
#initialize(instances = nil, total = nil, requestid = nil) ⇒ DescribePrometheusInstancesOverviewResponse
Returns a new instance of DescribePrometheusInstancesOverviewResponse.
9243 9244 9245 9246 9247 |
# File 'lib/v20180525/models.rb', line 9243 def initialize(instances=nil, total=nil, requestid=nil) @Instances = instances @Total = total @RequestId = requestid end |
Instance Attribute Details
#Instances ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9241 9242 9243 |
# File 'lib/v20180525/models.rb', line 9241 def Instances @Instances end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9241 9242 9243 |
# File 'lib/v20180525/models.rb', line 9241 def RequestId @RequestId end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9241 9242 9243 |
# File 'lib/v20180525/models.rb', line 9241 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 |
# File 'lib/v20180525/models.rb', line 9249 def deserialize(params) unless params['Instances'].nil? @Instances = [] params['Instances'].each do |i| prometheusinstancesoverview_tmp = PrometheusInstancesOverview.new prometheusinstancesoverview_tmp.deserialize(i) @Instances << prometheusinstancesoverview_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |