Class: TencentCloud::Apigateway::V20180808::ServicesStatus
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apigateway::V20180808::ServicesStatus
- Defined in:
- lib/v20180808/models.rb
Overview
服务列表展示
Instance Attribute Summary collapse
-
#ServiceSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, serviceset = nil) ⇒ ServicesStatus
constructor
A new instance of ServicesStatus.
Constructor Details
#initialize(totalcount = nil, serviceset = nil) ⇒ ServicesStatus
Returns a new instance of ServicesStatus.
9016 9017 9018 9019 |
# File 'lib/v20180808/models.rb', line 9016 def initialize(totalcount=nil, serviceset=nil) @TotalCount = totalcount @ServiceSet = serviceset end |
Instance Attribute Details
#ServiceSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
9014 9015 9016 |
# File 'lib/v20180808/models.rb', line 9014 def ServiceSet @ServiceSet end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
9014 9015 9016 |
# File 'lib/v20180808/models.rb', line 9014 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 |
# File 'lib/v20180808/models.rb', line 9021 def deserialize(params) @TotalCount = params['TotalCount'] unless params['ServiceSet'].nil? @ServiceSet = [] params['ServiceSet'].each do |i| service_tmp = Service.new service_tmp.deserialize(i) @ServiceSet << service_tmp end end end |