Class: TencentCloud::Tdmq::V20200217::RocketMQConsumerConnection

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

Overview

在线消费者情况

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clientid = nil, clientaddr = nil, language = nil, accumulative = nil, version = nil) ⇒ RocketMQConsumerConnection

Returns a new instance of RocketMQConsumerConnection.



11612
11613
11614
11615
11616
11617
11618
# File 'lib/v20200217/models.rb', line 11612

def initialize(clientid=nil, clientaddr=nil, language=nil, accumulative=nil, version=nil)
  @ClientId = clientid
  @ClientAddr = clientaddr
  @Language = language
  @Accumulative = accumulative
  @Version = version
end

Instance Attribute Details

#AccumulativeObject

Parameters:

  • ClientId:

    消费者实例ID

  • ClientAddr:

    消费者实例的地址和端口

  • Language:

    消费者应用的语言版本

  • Accumulative:

    消息堆积量

  • Version:

    消费端版本



11610
11611
11612
# File 'lib/v20200217/models.rb', line 11610

def Accumulative
  @Accumulative
end

#ClientAddrObject

Parameters:

  • ClientId:

    消费者实例ID

  • ClientAddr:

    消费者实例的地址和端口

  • Language:

    消费者应用的语言版本

  • Accumulative:

    消息堆积量

  • Version:

    消费端版本



11610
11611
11612
# File 'lib/v20200217/models.rb', line 11610

def ClientAddr
  @ClientAddr
end

#ClientIdObject

Parameters:

  • ClientId:

    消费者实例ID

  • ClientAddr:

    消费者实例的地址和端口

  • Language:

    消费者应用的语言版本

  • Accumulative:

    消息堆积量

  • Version:

    消费端版本



11610
11611
11612
# File 'lib/v20200217/models.rb', line 11610

def ClientId
  @ClientId
end

#LanguageObject

Parameters:

  • ClientId:

    消费者实例ID

  • ClientAddr:

    消费者实例的地址和端口

  • Language:

    消费者应用的语言版本

  • Accumulative:

    消息堆积量

  • Version:

    消费端版本



11610
11611
11612
# File 'lib/v20200217/models.rb', line 11610

def Language
  @Language
end

#VersionObject

Parameters:

  • ClientId:

    消费者实例ID

  • ClientAddr:

    消费者实例的地址和端口

  • Language:

    消费者应用的语言版本

  • Accumulative:

    消息堆积量

  • Version:

    消费端版本



11610
11611
11612
# File 'lib/v20200217/models.rb', line 11610

def Version
  @Version
end

Instance Method Details

#deserialize(params) ⇒ Object



11620
11621
11622
11623
11624
11625
11626
# File 'lib/v20200217/models.rb', line 11620

def deserialize(params)
  @ClientId = params['ClientId']
  @ClientAddr = params['ClientAddr']
  @Language = params['Language']
  @Accumulative = params['Accumulative']
  @Version = params['Version']
end