Class: TencentCloud::Monitor::V20180724::DescribePrometheusInstanceUsageResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::DescribePrometheusInstanceUsageResponse
- Defined in:
- lib/v20180724/models.rb
Overview
DescribePrometheusInstanceUsage返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#UsageSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(usageset = nil, requestid = nil) ⇒ DescribePrometheusInstanceUsageResponse
constructor
A new instance of DescribePrometheusInstanceUsageResponse.
Constructor Details
#initialize(usageset = nil, requestid = nil) ⇒ DescribePrometheusInstanceUsageResponse
Returns a new instance of DescribePrometheusInstanceUsageResponse.
8752 8753 8754 8755 |
# File 'lib/v20180724/models.rb', line 8752 def initialize(usageset=nil, requestid=nil) @UsageSet = usageset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8750 8751 8752 |
# File 'lib/v20180724/models.rb', line 8750 def RequestId @RequestId end |
#UsageSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8750 8751 8752 |
# File 'lib/v20180724/models.rb', line 8750 def UsageSet @UsageSet end |
Instance Method Details
#deserialize(params) ⇒ Object
8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 |
# File 'lib/v20180724/models.rb', line 8757 def deserialize(params) unless params['UsageSet'].nil? @UsageSet = [] params['UsageSet'].each do |i| prometheusinstancetenantusage_tmp = PrometheusInstanceTenantUsage.new prometheusinstancetenantusage_tmp.deserialize(i) @UsageSet << prometheusinstancetenantusage_tmp end end @RequestId = params['RequestId'] end |