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.
9308 9309 9310 9311 9312 |
# File 'lib/v20180525/models.rb', line 9308 def initialize(instances=nil, total=nil, requestid=nil) @Instances = instances @Total = total @RequestId = requestid end |
Instance Attribute Details
#Instances ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9306 9307 9308 |
# File 'lib/v20180525/models.rb', line 9306 def Instances @Instances end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9306 9307 9308 |
# File 'lib/v20180525/models.rb', line 9306 def RequestId @RequestId end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9306 9307 9308 |
# File 'lib/v20180525/models.rb', line 9306 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 |
# File 'lib/v20180525/models.rb', line 9314 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 |