Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQRolesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRocketMQRolesRequest
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRocketMQRoles请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(offset = nil, limit = nil, clusterid = nil, rolename = nil, filters = nil) ⇒ DescribeRocketMQRolesRequest
constructor
A new instance of DescribeRocketMQRolesRequest.
Constructor Details
#initialize(offset = nil, limit = nil, clusterid = nil, rolename = nil, filters = nil) ⇒ DescribeRocketMQRolesRequest
Returns a new instance of DescribeRocketMQRolesRequest.
6752 6753 6754 6755 6756 6757 6758 |
# File 'lib/v20200217/models.rb', line 6752 def initialize(offset=nil, limit=nil, clusterid=nil, rolename=nil, filters=nil) @Offset = offset @Limit = limit @ClusterId = clusterid @RoleName = rolename @Filters = filters end |
Instance Attribute Details
#ClusterId ⇒ Object
6750 6751 6752 |
# File 'lib/v20200217/models.rb', line 6750 def ClusterId @ClusterId end |
#Filters ⇒ Object
6750 6751 6752 |
# File 'lib/v20200217/models.rb', line 6750 def Filters @Filters end |
#Limit ⇒ Object
6750 6751 6752 |
# File 'lib/v20200217/models.rb', line 6750 def Limit @Limit end |
#Offset ⇒ Object
6750 6751 6752 |
# File 'lib/v20200217/models.rb', line 6750 def Offset @Offset end |
#RoleName ⇒ Object
6750 6751 6752 |
# File 'lib/v20200217/models.rb', line 6750 def RoleName @RoleName end |
Instance Method Details
#deserialize(params) ⇒ Object
6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 |
# File 'lib/v20200217/models.rb', line 6760 def deserialize(params) @Offset = params['Offset'] @Limit = params['Limit'] @ClusterId = params['ClusterId'] @RoleName = params['RoleName'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end end |