Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQSourceClusterGroupListResponse

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

Overview

DescribeRocketMQSourceClusterGroupList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(groups = nil, totalcount = nil, requestid = nil) ⇒ DescribeRocketMQSourceClusterGroupListResponse

Returns a new instance of DescribeRocketMQSourceClusterGroupListResponse.



7052
7053
7054
7055
7056
# File 'lib/v20200217/models.rb', line 7052

def initialize(groups=nil, totalcount=nil, requestid=nil)
  @Groups = groups
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#GroupsObject

Parameters:

  • Groups:

    group列表

  • TotalCount:

    总条数

  • RequestId:

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



7050
7051
7052
# File 'lib/v20200217/models.rb', line 7050

def Groups
  @Groups
end

#RequestIdObject

Parameters:

  • Groups:

    group列表

  • TotalCount:

    总条数

  • RequestId:

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



7050
7051
7052
# File 'lib/v20200217/models.rb', line 7050

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • Groups:

    group列表

  • TotalCount:

    总条数

  • RequestId:

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



7050
7051
7052
# File 'lib/v20200217/models.rb', line 7050

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
# File 'lib/v20200217/models.rb', line 7058

def deserialize(params)
  unless params['Groups'].nil?
    @Groups = []
    params['Groups'].each do |i|
      rocketmqgroupconfigoutput_tmp = RocketMQGroupConfigOutput.new
      rocketmqgroupconfigoutput_tmp.deserialize(i)
      @Groups << rocketmqgroupconfigoutput_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end