Class: TencentCloud::Organization::V20210331::AddShareUnitRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Organization::V20210331::AddShareUnitRequest
- Defined in:
- lib/v20210331/models.rb
Overview
AddShareUnit请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, area = nil, description = nil, sharescope = nil) ⇒ AddShareUnitRequest
constructor
A new instance of AddShareUnitRequest.
Constructor Details
#initialize(name = nil, area = nil, description = nil, sharescope = nil) ⇒ AddShareUnitRequest
Returns a new instance of AddShareUnitRequest.
318 319 320 321 322 323 |
# File 'lib/v20210331/models.rb', line 318 def initialize(name=nil, area=nil, description=nil, sharescope=nil) @Name = name @Area = area @Description = description @ShareScope = sharescope end |
Instance Attribute Details
#Area ⇒ Object
316 317 318 |
# File 'lib/v20210331/models.rb', line 316 def Area @Area end |
#Description ⇒ Object
316 317 318 |
# File 'lib/v20210331/models.rb', line 316 def Description @Description end |
#Name ⇒ Object
316 317 318 |
# File 'lib/v20210331/models.rb', line 316 def Name @Name end |
#ShareScope ⇒ Object
316 317 318 |
# File 'lib/v20210331/models.rb', line 316 def ShareScope @ShareScope end |
Instance Method Details
#deserialize(params) ⇒ Object
325 326 327 328 329 330 |
# File 'lib/v20210331/models.rb', line 325 def deserialize(params) @Name = params['Name'] @Area = params['Area'] @Description = params['Description'] @ShareScope = params['ShareScope'] end |