Class: TencentCloud::Organization::V20181225::OrgNode
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Organization::V20181225::OrgNode
- Defined in:
- lib/v20181225/models.rb
Overview
企业组织单元
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(nodeid = nil, name = nil, parentnodeid = nil, membercount = nil) ⇒ OrgNode
constructor
A new instance of OrgNode.
Constructor Details
#initialize(nodeid = nil, name = nil, parentnodeid = nil, membercount = nil) ⇒ OrgNode
Returns a new instance of OrgNode.
774 775 776 777 778 779 |
# File 'lib/v20181225/models.rb', line 774 def initialize(nodeid=nil, name=nil, parentnodeid=nil, membercount=nil) @NodeId = nodeid @Name = name @ParentNodeId = parentnodeid @MemberCount = membercount end |
Instance Attribute Details
#MemberCount ⇒ Object
772 773 774 |
# File 'lib/v20181225/models.rb', line 772 def MemberCount @MemberCount end |
#Name ⇒ Object
772 773 774 |
# File 'lib/v20181225/models.rb', line 772 def Name @Name end |
#NodeId ⇒ Object
772 773 774 |
# File 'lib/v20181225/models.rb', line 772 def NodeId @NodeId end |
#ParentNodeId ⇒ Object
772 773 774 |
# File 'lib/v20181225/models.rb', line 772 def ParentNodeId @ParentNodeId end |
Instance Method Details
#deserialize(params) ⇒ Object
781 782 783 784 785 786 |
# File 'lib/v20181225/models.rb', line 781 def deserialize(params) @NodeId = params['NodeId'] @Name = params['Name'] @ParentNodeId = params['ParentNodeId'] @MemberCount = params['MemberCount'] end |