Class: TencentCloud::Trabbit::V20230418::DescribeRabbitMQServerlessConnectionResponse

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

Overview

DescribeRabbitMQServerlessConnection返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, connections = nil, requestid = nil) ⇒ DescribeRabbitMQServerlessConnectionResponse

Returns a new instance of DescribeRabbitMQServerlessConnectionResponse.



778
779
780
781
782
# File 'lib/v20230418/models.rb', line 778

def initialize(totalcount=nil, connections=nil, requestid=nil)
  @TotalCount = totalcount
  @Connections = connections
  @RequestId = requestid
end

Instance Attribute Details

#ConnectionsObject

Parameters:

  • TotalCount:

    返回连接数量

  • Connections:

    连接详情列表

  • RequestId:

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



776
777
778
# File 'lib/v20230418/models.rb', line 776

def Connections
  @Connections
end

#RequestIdObject

Parameters:

  • TotalCount:

    返回连接数量

  • Connections:

    连接详情列表

  • RequestId:

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



776
777
778
# File 'lib/v20230418/models.rb', line 776

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    返回连接数量

  • Connections:

    连接详情列表

  • RequestId:

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



776
777
778
# File 'lib/v20230418/models.rb', line 776

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



784
785
786
787
788
789
790
791
792
793
794
795
# File 'lib/v20230418/models.rb', line 784

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Connections'].nil?
    @Connections = []
    params['Connections'].each do |i|
      rabbitmqconnection_tmp = RabbitMQConnection.new
      rabbitmqconnection_tmp.deserialize(i)
      @Connections << rabbitmqconnection_tmp
    end
  end
  @RequestId = params['RequestId']
end