Class: TencentCloud::Organization::V20210331::DescribeShareUnitsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Organization::V20210331::DescribeShareUnitsResponse
- Defined in:
- lib/v20210331/models.rb
Overview
DescribeShareUnits返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, items = nil, requestid = nil) ⇒ DescribeShareUnitsResponse
constructor
A new instance of DescribeShareUnitsResponse.
Constructor Details
#initialize(total = nil, items = nil, requestid = nil) ⇒ DescribeShareUnitsResponse
Returns a new instance of DescribeShareUnitsResponse.
3492 3493 3494 3495 3496 |
# File 'lib/v20210331/models.rb', line 3492 def initialize(total=nil, items=nil, requestid=nil) @Total = total @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
3490 3491 3492 |
# File 'lib/v20210331/models.rb', line 3490 def Items @Items end |
#RequestId ⇒ Object
3490 3491 3492 |
# File 'lib/v20210331/models.rb', line 3490 def RequestId @RequestId end |
#Total ⇒ Object
3490 3491 3492 |
# File 'lib/v20210331/models.rb', line 3490 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 |
# File 'lib/v20210331/models.rb', line 3498 def deserialize(params) @Total = params['Total'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| managershareunit_tmp = ManagerShareUnit.new managershareunit_tmp.deserialize(i) @Items << managershareunit_tmp end end @RequestId = params['RequestId'] end |