Class: TencentCloud::Tdmq::V20200217::DescribeRolesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRolesRequest
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRoles请求参数结构体
Instance Attribute Summary collapse
-
#ClusterId ⇒ Object
按照角色名进行过滤,精确查询。 类型:String 必选:否.
-
#Filters ⇒ Object
按照角色名进行过滤,精确查询。 类型:String 必选:否.
-
#Limit ⇒ Object
按照角色名进行过滤,精确查询。 类型:String 必选:否.
-
#Offset ⇒ Object
按照角色名进行过滤,精确查询。 类型:String 必选:否.
-
#RoleName ⇒ Object
按照角色名进行过滤,精确查询。 类型:String 必选:否.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, rolename = nil, offset = nil, limit = nil, filters = nil) ⇒ DescribeRolesRequest
constructor
A new instance of DescribeRolesRequest.
Constructor Details
#initialize(clusterid = nil, rolename = nil, offset = nil, limit = nil, filters = nil) ⇒ DescribeRolesRequest
Returns a new instance of DescribeRolesRequest.
7618 7619 7620 7621 7622 7623 7624 |
# File 'lib/v20200217/models.rb', line 7618 def initialize(clusterid=nil, rolename=nil, offset=nil, limit=nil, filters=nil) @ClusterId = clusterid @RoleName = rolename @Offset = offset @Limit = limit @Filters = filters end |
Instance Attribute Details
#ClusterId ⇒ Object
按照角色名进行过滤,精确查询。 类型:String 必选:否
7616 7617 7618 |
# File 'lib/v20200217/models.rb', line 7616 def ClusterId @ClusterId end |
#Filters ⇒ Object
按照角色名进行过滤,精确查询。 类型:String 必选:否
7616 7617 7618 |
# File 'lib/v20200217/models.rb', line 7616 def Filters @Filters end |
#Limit ⇒ Object
按照角色名进行过滤,精确查询。 类型:String 必选:否
7616 7617 7618 |
# File 'lib/v20200217/models.rb', line 7616 def Limit @Limit end |
#Offset ⇒ Object
按照角色名进行过滤,精确查询。 类型:String 必选:否
7616 7617 7618 |
# File 'lib/v20200217/models.rb', line 7616 def Offset @Offset end |
#RoleName ⇒ Object
按照角色名进行过滤,精确查询。 类型:String 必选:否
7616 7617 7618 |
# File 'lib/v20200217/models.rb', line 7616 def RoleName @RoleName end |
Instance Method Details
#deserialize(params) ⇒ Object
7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 |
# File 'lib/v20200217/models.rb', line 7626 def deserialize(params) @ClusterId = params['ClusterId'] @RoleName = params['RoleName'] @Offset = params['Offset'] @Limit = params['Limit'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end end |