Class: TencentCloud::Tdmq::V20200217::DescribeEnvironmentRolesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeEnvironmentRolesRequest
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeEnvironmentRoles请求参数结构体
Instance Attribute Summary collapse
-
#ClusterId ⇒ Object
按照角色名进行过滤,精确查询。 类型:String 必选:否.
-
#EnvironmentId ⇒ Object
按照角色名进行过滤,精确查询。 类型:String 必选:否.
-
#Filters ⇒ Object
按照角色名进行过滤,精确查询。 类型:String 必选:否.
-
#Limit ⇒ Object
按照角色名进行过滤,精确查询。 类型:String 必选:否.
-
#Offset ⇒ Object
按照角色名进行过滤,精确查询。 类型:String 必选:否.
-
#RoleName ⇒ Object
按照角色名进行过滤,精确查询。 类型:String 必选:否.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(environmentid = nil, offset = nil, limit = nil, clusterid = nil, rolename = nil, filters = nil) ⇒ DescribeEnvironmentRolesRequest
constructor
A new instance of DescribeEnvironmentRolesRequest.
Constructor Details
#initialize(environmentid = nil, offset = nil, limit = nil, clusterid = nil, rolename = nil, filters = nil) ⇒ DescribeEnvironmentRolesRequest
Returns a new instance of DescribeEnvironmentRolesRequest.
4183 4184 4185 4186 4187 4188 4189 4190 |
# File 'lib/v20200217/models.rb', line 4183 def initialize(environmentid=nil, offset=nil, limit=nil, clusterid=nil, rolename=nil, filters=nil) @EnvironmentId = environmentid @Offset = offset @Limit = limit @ClusterId = clusterid @RoleName = rolename @Filters = filters end |
Instance Attribute Details
#ClusterId ⇒ Object
按照角色名进行过滤,精确查询。 类型:String 必选:否
4181 4182 4183 |
# File 'lib/v20200217/models.rb', line 4181 def ClusterId @ClusterId end |
#EnvironmentId ⇒ Object
按照角色名进行过滤,精确查询。 类型:String 必选:否
4181 4182 4183 |
# File 'lib/v20200217/models.rb', line 4181 def EnvironmentId @EnvironmentId end |
#Filters ⇒ Object
按照角色名进行过滤,精确查询。 类型:String 必选:否
4181 4182 4183 |
# File 'lib/v20200217/models.rb', line 4181 def Filters @Filters end |
#Limit ⇒ Object
按照角色名进行过滤,精确查询。 类型:String 必选:否
4181 4182 4183 |
# File 'lib/v20200217/models.rb', line 4181 def Limit @Limit end |
#Offset ⇒ Object
按照角色名进行过滤,精确查询。 类型:String 必选:否
4181 4182 4183 |
# File 'lib/v20200217/models.rb', line 4181 def Offset @Offset end |
#RoleName ⇒ Object
按照角色名进行过滤,精确查询。 类型:String 必选:否
4181 4182 4183 |
# File 'lib/v20200217/models.rb', line 4181 def RoleName @RoleName end |
Instance Method Details
#deserialize(params) ⇒ Object
4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 |
# File 'lib/v20200217/models.rb', line 4192 def deserialize(params) @EnvironmentId = params['EnvironmentId'] @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 |