Class: TencentCloud::Apigateway::V20180808::ApiUsagePlanSet
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apigateway::V20180808::ApiUsagePlanSet
- Defined in:
- lib/v20180808/models.rb
Overview
api绑定使用计划列表
Instance Attribute Summary collapse
-
#ApiUsagePlanList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, apiusageplanlist = nil) ⇒ ApiUsagePlanSet
constructor
A new instance of ApiUsagePlanSet.
Constructor Details
#initialize(totalcount = nil, apiusageplanlist = nil) ⇒ ApiUsagePlanSet
Returns a new instance of ApiUsagePlanSet.
1062 1063 1064 1065 |
# File 'lib/v20180808/models.rb', line 1062 def initialize(totalcount=nil, apiusageplanlist=nil) @TotalCount = totalcount @ApiUsagePlanList = apiusageplanlist end |
Instance Attribute Details
#ApiUsagePlanList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1060 1061 1062 |
# File 'lib/v20180808/models.rb', line 1060 def ApiUsagePlanList @ApiUsagePlanList end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1060 1061 1062 |
# File 'lib/v20180808/models.rb', line 1060 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 |
# File 'lib/v20180808/models.rb', line 1067 def deserialize(params) @TotalCount = params['TotalCount'] unless params['ApiUsagePlanList'].nil? @ApiUsagePlanList = [] params['ApiUsagePlanList'].each do |i| apiusageplan_tmp = ApiUsagePlan.new apiusageplan_tmp.deserialize(i) @ApiUsagePlanList << apiusageplan_tmp end end end |