Class: TencentCloud::Apigateway::V20180808::UsagePlansStatus
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apigateway::V20180808::UsagePlansStatus
- Defined in:
- lib/v20180808/models.rb
Overview
使用计划列表
Instance Attribute Summary collapse
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UsagePlanStatusSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, usageplanstatusset = nil) ⇒ UsagePlansStatus
constructor
A new instance of UsagePlansStatus.
Constructor Details
#initialize(totalcount = nil, usageplanstatusset = nil) ⇒ UsagePlansStatus
Returns a new instance of UsagePlansStatus.
10147 10148 10149 10150 |
# File 'lib/v20180808/models.rb', line 10147 def initialize(totalcount=nil, usageplanstatusset=nil) @TotalCount = totalcount @UsagePlanStatusSet = usageplanstatusset end |
Instance Attribute Details
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
10145 10146 10147 |
# File 'lib/v20180808/models.rb', line 10145 def TotalCount @TotalCount end |
#UsagePlanStatusSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
10145 10146 10147 |
# File 'lib/v20180808/models.rb', line 10145 def UsagePlanStatusSet @UsagePlanStatusSet end |
Instance Method Details
#deserialize(params) ⇒ Object
10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 |
# File 'lib/v20180808/models.rb', line 10152 def deserialize(params) @TotalCount = params['TotalCount'] unless params['UsagePlanStatusSet'].nil? @UsagePlanStatusSet = [] params['UsagePlanStatusSet'].each do |i| usageplanstatusinfo_tmp = UsagePlanStatusInfo.new usageplanstatusinfo_tmp.deserialize(i) @UsagePlanStatusSet << usageplanstatusinfo_tmp end end end |