Class: TencentCloud::Iecp::V20210914::DescribeEdgeNodesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iecp::V20210914::DescribeEdgeNodesResponse
- Defined in:
- lib/v20210914/models.rb
Overview
DescribeEdgeNodes返回参数结构体
Instance Attribute Summary collapse
-
#NodeSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, nodeset = nil, requestid = nil) ⇒ DescribeEdgeNodesResponse
constructor
A new instance of DescribeEdgeNodesResponse.
Constructor Details
#initialize(totalcount = nil, nodeset = nil, requestid = nil) ⇒ DescribeEdgeNodesResponse
Returns a new instance of DescribeEdgeNodesResponse.
2202 2203 2204 2205 2206 |
# File 'lib/v20210914/models.rb', line 2202 def initialize(totalcount=nil, nodeset=nil, requestid=nil) @TotalCount = totalcount @NodeSet = nodeset @RequestId = requestid end |
Instance Attribute Details
#NodeSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2200 2201 2202 |
# File 'lib/v20210914/models.rb', line 2200 def NodeSet @NodeSet end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2200 2201 2202 |
# File 'lib/v20210914/models.rb', line 2200 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2200 2201 2202 |
# File 'lib/v20210914/models.rb', line 2200 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 |
# File 'lib/v20210914/models.rb', line 2208 def deserialize(params) @TotalCount = params['TotalCount'] unless params['NodeSet'].nil? @NodeSet = [] params['NodeSet'].each do |i| edgenodeinfo_tmp = EdgeNodeInfo.new edgenodeinfo_tmp.deserialize(i) @NodeSet << edgenodeinfo_tmp end end @RequestId = params['RequestId'] end |