Class: TencentCloud::Gse::V20191112::DescribeCcnInstancesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gse::V20191112::DescribeCcnInstancesResponse
- Defined in:
- lib/v20191112/models.rb
Overview
DescribeCcnInstances返回参数结构体
Instance Attribute Summary collapse
-
#CcnInstanceSets ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ccninstancesets = nil, totalcount = nil, requestid = nil) ⇒ DescribeCcnInstancesResponse
constructor
A new instance of DescribeCcnInstancesResponse.
Constructor Details
#initialize(ccninstancesets = nil, totalcount = nil, requestid = nil) ⇒ DescribeCcnInstancesResponse
Returns a new instance of DescribeCcnInstancesResponse.
1410 1411 1412 1413 1414 |
# File 'lib/v20191112/models.rb', line 1410 def initialize(ccninstancesets=nil, totalcount=nil, requestid=nil) @CcnInstanceSets = ccninstancesets @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#CcnInstanceSets ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1408 1409 1410 |
# File 'lib/v20191112/models.rb', line 1408 def CcnInstanceSets @CcnInstanceSets end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1408 1409 1410 |
# File 'lib/v20191112/models.rb', line 1408 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1408 1409 1410 |
# File 'lib/v20191112/models.rb', line 1408 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 |
# File 'lib/v20191112/models.rb', line 1416 def deserialize(params) unless params['CcnInstanceSets'].nil? @CcnInstanceSets = [] params['CcnInstanceSets'].each do |i| ccninstancesets_tmp = CcnInstanceSets.new ccninstancesets_tmp.deserialize(i) @CcnInstanceSets << ccninstancesets_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |