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.
3354 3355 3356 3357 3358 |
# File 'lib/v20210331/models.rb', line 3354 def initialize(total=nil, items=nil, requestid=nil) @Total = total @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
3352 3353 3354 |
# File 'lib/v20210331/models.rb', line 3352 def Items @Items end |
#RequestId ⇒ Object
3352 3353 3354 |
# File 'lib/v20210331/models.rb', line 3352 def RequestId @RequestId end |
#Total ⇒ Object
3352 3353 3354 |
# File 'lib/v20210331/models.rb', line 3352 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 |
# File 'lib/v20210331/models.rb', line 3360 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 |