Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQEnvironmentRolesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRocketMQEnvironmentRolesRequest
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRocketMQEnvironmentRoles请求参数结构体
Instance Attribute Summary collapse
- #ClusterId ⇒ Object
- #EnvironmentId ⇒ Object
- #Filters ⇒ Object
- #Limit ⇒ Object
- #Offset ⇒ Object
- #RoleName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, environmentid = nil, offset = nil, limit = nil, rolename = nil, filters = nil) ⇒ DescribeRocketMQEnvironmentRolesRequest
constructor
A new instance of DescribeRocketMQEnvironmentRolesRequest.
Constructor Details
#initialize(clusterid = nil, environmentid = nil, offset = nil, limit = nil, rolename = nil, filters = nil) ⇒ DescribeRocketMQEnvironmentRolesRequest
Returns a new instance of DescribeRocketMQEnvironmentRolesRequest.
6121 6122 6123 6124 6125 6126 6127 6128 |
# File 'lib/v20200217/models.rb', line 6121 def initialize(clusterid=nil, environmentid=nil, offset=nil, limit=nil, rolename=nil, filters=nil) @ClusterId = clusterid @EnvironmentId = environmentid @Offset = offset @Limit = limit @RoleName = rolename @Filters = filters end |
Instance Attribute Details
#ClusterId ⇒ Object
6119 6120 6121 |
# File 'lib/v20200217/models.rb', line 6119 def ClusterId @ClusterId end |
#EnvironmentId ⇒ Object
6119 6120 6121 |
# File 'lib/v20200217/models.rb', line 6119 def EnvironmentId @EnvironmentId end |
#Filters ⇒ Object
6119 6120 6121 |
# File 'lib/v20200217/models.rb', line 6119 def Filters @Filters end |
#Limit ⇒ Object
6119 6120 6121 |
# File 'lib/v20200217/models.rb', line 6119 def Limit @Limit end |
#Offset ⇒ Object
6119 6120 6121 |
# File 'lib/v20200217/models.rb', line 6119 def Offset @Offset end |
#RoleName ⇒ Object
6119 6120 6121 |
# File 'lib/v20200217/models.rb', line 6119 def RoleName @RoleName end |
Instance Method Details
#deserialize(params) ⇒ Object
6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 |
# File 'lib/v20200217/models.rb', line 6130 def deserialize(params) @ClusterId = params['ClusterId'] @EnvironmentId = params['EnvironmentId'] @Offset = params['Offset'] @Limit = params['Limit'] @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 |