Class: TencentCloud::Essbasic::V20210526::ChannelDescribeRolesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Essbasic::V20210526::ChannelDescribeRolesResponse
- Defined in:
- lib/v20210526/models.rb
Overview
ChannelDescribeRoles返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(offset = nil, limit = nil, totalcount = nil, channelroles = nil, requestid = nil) ⇒ ChannelDescribeRolesResponse
constructor
A new instance of ChannelDescribeRolesResponse.
Constructor Details
#initialize(offset = nil, limit = nil, totalcount = nil, channelroles = nil, requestid = nil) ⇒ ChannelDescribeRolesResponse
Returns a new instance of ChannelDescribeRolesResponse.
4339 4340 4341 4342 4343 4344 4345 |
# File 'lib/v20210526/models.rb', line 4339 def initialize(offset=nil, limit=nil, totalcount=nil, channelroles=nil, requestid=nil) @Offset = offset @Limit = limit @TotalCount = totalcount @ChannelRoles = channelroles @RequestId = requestid end |
Instance Attribute Details
#ChannelRoles ⇒ Object
4337 4338 4339 |
# File 'lib/v20210526/models.rb', line 4337 def ChannelRoles @ChannelRoles end |
#Limit ⇒ Object
4337 4338 4339 |
# File 'lib/v20210526/models.rb', line 4337 def Limit @Limit end |
#Offset ⇒ Object
4337 4338 4339 |
# File 'lib/v20210526/models.rb', line 4337 def Offset @Offset end |
#RequestId ⇒ Object
4337 4338 4339 |
# File 'lib/v20210526/models.rb', line 4337 def RequestId @RequestId end |
#TotalCount ⇒ Object
4337 4338 4339 |
# File 'lib/v20210526/models.rb', line 4337 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 |
# File 'lib/v20210526/models.rb', line 4347 def deserialize(params) @Offset = params['Offset'] @Limit = params['Limit'] @TotalCount = params['TotalCount'] unless params['ChannelRoles'].nil? @ChannelRoles = [] params['ChannelRoles'].each do |i| channelrole_tmp = ChannelRole.new channelrole_tmp.deserialize(i) @ChannelRoles << channelrole_tmp end end @RequestId = params['RequestId'] end |