Class: TencentCloud::Dlc::V20210125::DescribeUsersRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dlc::V20210125::DescribeUsersRequest
- Defined in:
- lib/v20210125/models.rb
Overview
DescribeUsers请求参数结构体
Instance Attribute Summary collapse
- #AccountType ⇒ Object
- #Filters ⇒ Object
- #Limit ⇒ Object
- #Offset ⇒ Object
- #SortBy ⇒ Object
- #Sorting ⇒ Object
- #UserId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(userid = nil, offset = nil, limit = nil, sortby = nil, sorting = nil, filters = nil, accounttype = nil) ⇒ DescribeUsersRequest
constructor
A new instance of DescribeUsersRequest.
Constructor Details
#initialize(userid = nil, offset = nil, limit = nil, sortby = nil, sorting = nil, filters = nil, accounttype = nil) ⇒ DescribeUsersRequest
Returns a new instance of DescribeUsersRequest.
10294 10295 10296 10297 10298 10299 10300 10301 10302 |
# File 'lib/v20210125/models.rb', line 10294 def initialize(userid=nil, offset=nil, limit=nil, sortby=nil, sorting=nil, filters=nil, accounttype=nil) @UserId = userid @Offset = offset @Limit = limit @SortBy = sortby @Sorting = sorting @Filters = filters @AccountType = accounttype end |
Instance Attribute Details
#AccountType ⇒ Object
10292 10293 10294 |
# File 'lib/v20210125/models.rb', line 10292 def AccountType @AccountType end |
#Filters ⇒ Object
10292 10293 10294 |
# File 'lib/v20210125/models.rb', line 10292 def Filters @Filters end |
#Limit ⇒ Object
10292 10293 10294 |
# File 'lib/v20210125/models.rb', line 10292 def Limit @Limit end |
#Offset ⇒ Object
10292 10293 10294 |
# File 'lib/v20210125/models.rb', line 10292 def Offset @Offset end |
#SortBy ⇒ Object
10292 10293 10294 |
# File 'lib/v20210125/models.rb', line 10292 def SortBy @SortBy end |
#Sorting ⇒ Object
10292 10293 10294 |
# File 'lib/v20210125/models.rb', line 10292 def Sorting @Sorting end |
#UserId ⇒ Object
10292 10293 10294 |
# File 'lib/v20210125/models.rb', line 10292 def UserId @UserId end |
Instance Method Details
#deserialize(params) ⇒ Object
10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 |
# File 'lib/v20210125/models.rb', line 10304 def deserialize(params) @UserId = params['UserId'] @Offset = params['Offset'] @Limit = params['Limit'] @SortBy = params['SortBy'] @Sorting = params['Sorting'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end @AccountType = params['AccountType'] end |