Class: TencentCloud::Apigateway::V20180808::ServiceUsagePlanSet
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apigateway::V20180808::ServiceUsagePlanSet
- Defined in:
- lib/v20180808/models.rb
Overview
服务绑定使用计划列表
Instance Attribute Summary collapse
-
#ServiceUsagePlanList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, serviceusageplanlist = nil) ⇒ ServiceUsagePlanSet
constructor
A new instance of ServiceUsagePlanSet.
Constructor Details
#initialize(totalcount = nil, serviceusageplanlist = nil) ⇒ ServiceUsagePlanSet
Returns a new instance of ServiceUsagePlanSet.
8987 8988 8989 8990 |
# File 'lib/v20180808/models.rb', line 8987 def initialize(totalcount=nil, serviceusageplanlist=nil) @TotalCount = totalcount @ServiceUsagePlanList = serviceusageplanlist end |
Instance Attribute Details
#ServiceUsagePlanList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8985 8986 8987 |
# File 'lib/v20180808/models.rb', line 8985 def ServiceUsagePlanList @ServiceUsagePlanList end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8985 8986 8987 |
# File 'lib/v20180808/models.rb', line 8985 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 |
# File 'lib/v20180808/models.rb', line 8992 def deserialize(params) @TotalCount = params['TotalCount'] unless params['ServiceUsagePlanList'].nil? @ServiceUsagePlanList = [] params['ServiceUsagePlanList'].each do |i| apiusageplan_tmp = ApiUsagePlan.new apiusageplan_tmp.deserialize(i) @ServiceUsagePlanList << apiusageplan_tmp end end end |