Class: TencentCloud::Organization::V20210331::ListRoleConfigurationsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Organization::V20210331::ListRoleConfigurationsResponse
- Defined in:
- lib/v20210331/models.rb
Overview
ListRoleConfigurations返回参数结构体
Instance Attribute Summary collapse
- #IsTruncated ⇒ Object
- #MaxResults ⇒ Object
- #NextToken ⇒ Object
- #RequestId ⇒ Object
- #RoleConfigurations ⇒ Object
- #TotalCounts ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcounts = nil, maxresults = nil, istruncated = nil, nexttoken = nil, roleconfigurations = nil, requestid = nil) ⇒ ListRoleConfigurationsResponse
constructor
A new instance of ListRoleConfigurationsResponse.
Constructor Details
#initialize(totalcounts = nil, maxresults = nil, istruncated = nil, nexttoken = nil, roleconfigurations = nil, requestid = nil) ⇒ ListRoleConfigurationsResponse
Returns a new instance of ListRoleConfigurationsResponse.
5376 5377 5378 5379 5380 5381 5382 5383 |
# File 'lib/v20210331/models.rb', line 5376 def initialize(totalcounts=nil, maxresults=nil, istruncated=nil, nexttoken=nil, roleconfigurations=nil, requestid=nil) @TotalCounts = totalcounts @MaxResults = maxresults @IsTruncated = istruncated @NextToken = nexttoken @RoleConfigurations = roleconfigurations @RequestId = requestid end |
Instance Attribute Details
#IsTruncated ⇒ Object
5374 5375 5376 |
# File 'lib/v20210331/models.rb', line 5374 def IsTruncated @IsTruncated end |
#MaxResults ⇒ Object
5374 5375 5376 |
# File 'lib/v20210331/models.rb', line 5374 def MaxResults @MaxResults end |
#NextToken ⇒ Object
5374 5375 5376 |
# File 'lib/v20210331/models.rb', line 5374 def NextToken @NextToken end |
#RequestId ⇒ Object
5374 5375 5376 |
# File 'lib/v20210331/models.rb', line 5374 def RequestId @RequestId end |
#RoleConfigurations ⇒ Object
5374 5375 5376 |
# File 'lib/v20210331/models.rb', line 5374 def RoleConfigurations @RoleConfigurations end |
#TotalCounts ⇒ Object
5374 5375 5376 |
# File 'lib/v20210331/models.rb', line 5374 def TotalCounts @TotalCounts end |
Instance Method Details
#deserialize(params) ⇒ Object
5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 |
# File 'lib/v20210331/models.rb', line 5385 def deserialize(params) @TotalCounts = params['TotalCounts'] @MaxResults = params['MaxResults'] @IsTruncated = params['IsTruncated'] @NextToken = params['NextToken'] unless params['RoleConfigurations'].nil? @RoleConfigurations = [] params['RoleConfigurations'].each do |i| roleconfiguration_tmp = RoleConfiguration.new roleconfiguration_tmp.deserialize(i) @RoleConfigurations << roleconfiguration_tmp end end @RequestId = params['RequestId'] end |