Class: TencentCloud::Organization::V20181225::ListOrganizationNodesResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20181225/models.rb

Overview

ListOrganizationNodes返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#NodesObject



621
622
623
# File 'lib/v20181225/models.rb', line 621

def Nodes
  @Nodes
end

#RequestIdObject



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