Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQRolesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRocketMQRolesResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRocketMQRoles返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, rolesets = nil, requestid = nil) ⇒ DescribeRocketMQRolesResponse
constructor
A new instance of DescribeRocketMQRolesResponse.
Constructor Details
#initialize(totalcount = nil, rolesets = nil, requestid = nil) ⇒ DescribeRocketMQRolesResponse
Returns a new instance of DescribeRocketMQRolesResponse.
6787 6788 6789 6790 6791 |
# File 'lib/v20200217/models.rb', line 6787 def initialize(totalcount=nil, rolesets=nil, requestid=nil) @TotalCount = totalcount @RoleSets = rolesets @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
6785 6786 6787 |
# File 'lib/v20200217/models.rb', line 6785 def RequestId @RequestId end |
#RoleSets ⇒ Object
6785 6786 6787 |
# File 'lib/v20200217/models.rb', line 6785 def RoleSets @RoleSets end |
#TotalCount ⇒ Object
6785 6786 6787 |
# File 'lib/v20200217/models.rb', line 6785 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 |
# File 'lib/v20200217/models.rb', line 6793 def deserialize(params) @TotalCount = params['TotalCount'] unless params['RoleSets'].nil? @RoleSets = [] params['RoleSets'].each do |i| role_tmp = Role.new role_tmp.deserialize(i) @RoleSets << role_tmp end end @RequestId = params['RequestId'] end |