Class: TencentCloud::Tdmq::V20200217::DescribeEnvironmentRolesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeEnvironmentRolesResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeEnvironmentRoles返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, environmentrolesets = nil, requestid = nil) ⇒ DescribeEnvironmentRolesResponse
constructor
A new instance of DescribeEnvironmentRolesResponse.
Constructor Details
#initialize(totalcount = nil, environmentrolesets = nil, requestid = nil) ⇒ DescribeEnvironmentRolesResponse
Returns a new instance of DescribeEnvironmentRolesResponse.
4220 4221 4222 4223 4224 |
# File 'lib/v20200217/models.rb', line 4220 def initialize(totalcount=nil, environmentrolesets=nil, requestid=nil) @TotalCount = totalcount @EnvironmentRoleSets = environmentrolesets @RequestId = requestid end |
Instance Attribute Details
#EnvironmentRoleSets ⇒ Object
4218 4219 4220 |
# File 'lib/v20200217/models.rb', line 4218 def EnvironmentRoleSets @EnvironmentRoleSets end |
#RequestId ⇒ Object
4218 4219 4220 |
# File 'lib/v20200217/models.rb', line 4218 def RequestId @RequestId end |
#TotalCount ⇒ Object
4218 4219 4220 |
# File 'lib/v20200217/models.rb', line 4218 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 |
# File 'lib/v20200217/models.rb', line 4226 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 |