Class: TencentCloud::Organization::V20181225::ListOrganizationNodesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Organization::V20181225::ListOrganizationNodesResponse
- Defined in:
- lib/v20181225/models.rb
Overview
ListOrganizationNodes返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(nodes = nil, requestid = nil) ⇒ ListOrganizationNodesResponse
constructor
A new instance of ListOrganizationNodesResponse.
Constructor Details
#initialize(nodes = nil, requestid = nil) ⇒ ListOrganizationNodesResponse
623 624 625 626 |
# File 'lib/v20181225/models.rb', line 623 def initialize(nodes=nil, requestid=nil) @Nodes = nodes @RequestId = requestid end |
Instance Attribute Details
#Nodes ⇒ Object
621 622 623 |
# File 'lib/v20181225/models.rb', line 621 def Nodes @Nodes end |
#RequestId ⇒ Object
621 622 623 |
# File 'lib/v20181225/models.rb', line 621 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
628 629 630 631 632 633 634 635 636 637 638 |
# File 'lib/v20181225/models.rb', line 628 def deserialize(params) unless params['Nodes'].nil? @Nodes = [] params['Nodes'].each do |i| orgnode_tmp = OrgNode.new orgnode_tmp.deserialize(i) @Nodes << orgnode_tmp end end @RequestId = params['RequestId'] end |