Class: TencentCloud::Organization::V20210331::DescribeShareUnitMembersResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Organization::V20210331::DescribeShareUnitMembersResponse
- Defined in:
- lib/v20210331/models.rb
Overview
DescribeShareUnitMembers返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, items = nil, requestid = nil) ⇒ DescribeShareUnitMembersResponse
constructor
A new instance of DescribeShareUnitMembersResponse.
Constructor Details
#initialize(total = nil, items = nil, requestid = nil) ⇒ DescribeShareUnitMembersResponse
Returns a new instance of DescribeShareUnitMembersResponse.
3228 3229 3230 3231 3232 |
# File 'lib/v20210331/models.rb', line 3228 def initialize(total=nil, items=nil, requestid=nil) @Total = total @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
3226 3227 3228 |
# File 'lib/v20210331/models.rb', line 3226 def Items @Items end |
#RequestId ⇒ Object
3226 3227 3228 |
# File 'lib/v20210331/models.rb', line 3226 def RequestId @RequestId end |
#Total ⇒ Object
3226 3227 3228 |
# File 'lib/v20210331/models.rb', line 3226 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 |
# File 'lib/v20210331/models.rb', line 3234 def deserialize(params) @Total = params['Total'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| shareunitmember_tmp = ShareUnitMember.new shareunitmember_tmp.deserialize(i) @Items << shareunitmember_tmp end end @RequestId = params['RequestId'] end |