Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQEnvironmentRolesResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200217/models.rb

Overview

DescribeRocketMQEnvironmentRoles返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#EnvironmentRoleSetsObject

Parameters:

  • TotalCount:

    记录数。

  • EnvironmentRoleSets:

    命名空间角色集合。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



6156
6157
6158
# File 'lib/v20200217/models.rb', line 6156

def EnvironmentRoleSets
  @EnvironmentRoleSets
end

#RequestIdObject

Parameters:

  • TotalCount:

    记录数。

  • EnvironmentRoleSets:

    命名空间角色集合。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



6156
6157
6158
# File 'lib/v20200217/models.rb', line 6156

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    记录数。

  • EnvironmentRoleSets:

    命名空间角色集合。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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