Class: TencentCloud::Tke::V20180525::DescribePrometheusOverviewsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribePrometheusOverviewsResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribePrometheusOverviews返回参数结构体
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) ⇒ DescribePrometheusOverviewsResponse
constructor
A new instance of DescribePrometheusOverviewsResponse.
Constructor Details
#initialize(instances = nil, total = nil, requestid = nil) ⇒ DescribePrometheusOverviewsResponse
Returns a new instance of DescribePrometheusOverviewsResponse.
9330 9331 9332 9333 9334 |
# File 'lib/v20180525/models.rb', line 9330 def initialize(instances=nil, total=nil, requestid=nil) @Instances = instances @Total = total @RequestId = requestid end |
Instance Attribute Details
#Instances ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9328 9329 9330 |
# File 'lib/v20180525/models.rb', line 9328 def Instances @Instances end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9328 9329 9330 |
# File 'lib/v20180525/models.rb', line 9328 def RequestId @RequestId end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9328 9329 9330 |
# File 'lib/v20180525/models.rb', line 9328 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 |
# File 'lib/v20180525/models.rb', line 9336 def deserialize(params) unless params['Instances'].nil? @Instances = [] params['Instances'].each do |i| prometheusinstanceoverview_tmp = PrometheusInstanceOverview.new prometheusinstanceoverview_tmp.deserialize(i) @Instances << prometheusinstanceoverview_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |