Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQEnvironmentRolesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRocketMQEnvironmentRolesResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRocketMQEnvironmentRoles返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, environmentrolesets = nil, requestid = nil) ⇒ DescribeRocketMQEnvironmentRolesResponse
constructor
A new instance of DescribeRocketMQEnvironmentRolesResponse.
Constructor Details
#initialize(totalcount = nil, environmentrolesets = nil, requestid = nil) ⇒ DescribeRocketMQEnvironmentRolesResponse
Returns a new instance of DescribeRocketMQEnvironmentRolesResponse.
6158 6159 6160 6161 6162 |
# File 'lib/v20200217/models.rb', line 6158 def initialize(totalcount=nil, environmentrolesets=nil, requestid=nil) @TotalCount = totalcount @EnvironmentRoleSets = environmentrolesets @RequestId = requestid end |
Instance Attribute Details
#EnvironmentRoleSets ⇒ Object
6156 6157 6158 |
# File 'lib/v20200217/models.rb', line 6156 def EnvironmentRoleSets @EnvironmentRoleSets end |
#RequestId ⇒ Object
6156 6157 6158 |
# File 'lib/v20200217/models.rb', line 6156 def RequestId @RequestId end |
#TotalCount ⇒ Object
6156 6157 6158 |
# File 'lib/v20200217/models.rb', line 6156 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 |
# File 'lib/v20200217/models.rb', line 6164 def deserialize(params) @TotalCount = params['TotalCount'] unless params['EnvironmentRoleSets'].nil? @EnvironmentRoleSets = [] params['EnvironmentRoleSets'].each do |i| environmentrole_tmp = EnvironmentRole.new environmentrole_tmp.deserialize(i) @EnvironmentRoleSets << environmentrole_tmp end end @RequestId = params['RequestId'] end |