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.
10115 10116 10117 10118 10119 |
# File 'lib/v20180525/models.rb', line 10115 def initialize(instances=nil, total=nil, requestid=nil) @Instances = instances @Total = total @RequestId = requestid end |
Instance Attribute Details
#Instances ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10113 10114 10115 |
# File 'lib/v20180525/models.rb', line 10113 def Instances @Instances end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10113 10114 10115 |
# File 'lib/v20180525/models.rb', line 10113 def RequestId @RequestId end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10113 10114 10115 |
# File 'lib/v20180525/models.rb', line 10113 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 |
# File 'lib/v20180525/models.rb', line 10121 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 |