Class: TencentCloud::Organization::V20210331::AddOrganizationNodeRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Organization::V20210331::AddOrganizationNodeRequest
- Defined in:
- lib/v20210331/models.rb
Overview
AddOrganizationNode请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(parentnodeid = nil, name = nil, remark = nil, tags = nil) ⇒ AddOrganizationNodeRequest
constructor
A new instance of AddOrganizationNodeRequest.
Constructor Details
#initialize(parentnodeid = nil, name = nil, remark = nil, tags = nil) ⇒ AddOrganizationNodeRequest
Returns a new instance of AddOrganizationNodeRequest.
153 154 155 156 157 158 |
# File 'lib/v20210331/models.rb', line 153 def initialize(parentnodeid=nil, name=nil, remark=nil, =nil) @ParentNodeId = parentnodeid @Name = name @Remark = remark @Tags = end |
Instance Attribute Details
#Name ⇒ Object
151 152 153 |
# File 'lib/v20210331/models.rb', line 151 def Name @Name end |
#ParentNodeId ⇒ Object
151 152 153 |
# File 'lib/v20210331/models.rb', line 151 def ParentNodeId @ParentNodeId end |
#Remark ⇒ Object
151 152 153 |
# File 'lib/v20210331/models.rb', line 151 def Remark @Remark end |
#Tags ⇒ Object
151 152 153 |
# File 'lib/v20210331/models.rb', line 151 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
160 161 162 163 164 165 166 167 168 169 170 171 172 |
# File 'lib/v20210331/models.rb', line 160 def deserialize(params) @ParentNodeId = params['ParentNodeId'] @Name = params['Name'] @Remark = params['Remark'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end end |