Class: TencentCloud::Organization::V20210331::UpdateShareUnitRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Organization::V20210331::UpdateShareUnitRequest
- Defined in:
- lib/v20210331/models.rb
Overview
UpdateShareUnit请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(unitid = nil, name = nil, description = nil, sharescope = nil) ⇒ UpdateShareUnitRequest
constructor
A new instance of UpdateShareUnitRequest.
Constructor Details
#initialize(unitid = nil, name = nil, description = nil, sharescope = nil) ⇒ UpdateShareUnitRequest
Returns a new instance of UpdateShareUnitRequest.
8104 8105 8106 8107 8108 8109 |
# File 'lib/v20210331/models.rb', line 8104 def initialize(unitid=nil, name=nil, description=nil, sharescope=nil) @UnitId = unitid @Name = name @Description = description @ShareScope = sharescope end |
Instance Attribute Details
#Description ⇒ Object
8102 8103 8104 |
# File 'lib/v20210331/models.rb', line 8102 def Description @Description end |
#Name ⇒ Object
8102 8103 8104 |
# File 'lib/v20210331/models.rb', line 8102 def Name @Name end |
#ShareScope ⇒ Object
8102 8103 8104 |
# File 'lib/v20210331/models.rb', line 8102 def ShareScope @ShareScope end |
#UnitId ⇒ Object
8102 8103 8104 |
# File 'lib/v20210331/models.rb', line 8102 def UnitId @UnitId end |
Instance Method Details
#deserialize(params) ⇒ Object
8111 8112 8113 8114 8115 8116 |
# File 'lib/v20210331/models.rb', line 8111 def deserialize(params) @UnitId = params['UnitId'] @Name = params['Name'] @Description = params['Description'] @ShareScope = params['ShareScope'] end |