Class: TencentCloud::Tdmq::V20200217::ConsumerLog
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::ConsumerLog
- Defined in:
- lib/v20200217/models.rb
Overview
消费日志
Instance Attribute Summary collapse
- #ConsumerAddr ⇒ Object
- #ConsumerGroup ⇒ Object
- #ConsumerName ⇒ Object
- #ConsumeTime ⇒ Object
- #ConsumeUseTime ⇒ Object
- #MsgId ⇒ Object
- #Status ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(msgid = nil, consumergroup = nil, consumername = nil, consumetime = nil, consumeraddr = nil, consumeusetime = nil, status = nil) ⇒ ConsumerLog
constructor
A new instance of ConsumerLog.
Constructor Details
#initialize(msgid = nil, consumergroup = nil, consumername = nil, consumetime = nil, consumeraddr = nil, consumeusetime = nil, status = nil) ⇒ ConsumerLog
Returns a new instance of ConsumerLog.
976 977 978 979 980 981 982 983 984 |
# File 'lib/v20200217/models.rb', line 976 def initialize(msgid=nil, consumergroup=nil, consumername=nil, consumetime=nil, consumeraddr=nil, consumeusetime=nil, status=nil) @MsgId = msgid @ConsumerGroup = consumergroup @ConsumerName = consumername @ConsumeTime = consumetime @ConsumerAddr = consumeraddr @ConsumeUseTime = consumeusetime @Status = status end |
Instance Attribute Details
#ConsumerAddr ⇒ Object
974 975 976 |
# File 'lib/v20200217/models.rb', line 974 def ConsumerAddr @ConsumerAddr end |
#ConsumerGroup ⇒ Object
974 975 976 |
# File 'lib/v20200217/models.rb', line 974 def ConsumerGroup @ConsumerGroup end |
#ConsumerName ⇒ Object
974 975 976 |
# File 'lib/v20200217/models.rb', line 974 def ConsumerName @ConsumerName end |
#ConsumeTime ⇒ Object
974 975 976 |
# File 'lib/v20200217/models.rb', line 974 def ConsumeTime @ConsumeTime end |
#ConsumeUseTime ⇒ Object
974 975 976 |
# File 'lib/v20200217/models.rb', line 974 def ConsumeUseTime @ConsumeUseTime end |
#MsgId ⇒ Object
974 975 976 |
# File 'lib/v20200217/models.rb', line 974 def MsgId @MsgId end |
#Status ⇒ Object
974 975 976 |
# File 'lib/v20200217/models.rb', line 974 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
986 987 988 989 990 991 992 993 994 |
# File 'lib/v20200217/models.rb', line 986 def deserialize(params) @MsgId = params['MsgId'] @ConsumerGroup = params['ConsumerGroup'] @ConsumerName = params['ConsumerName'] @ConsumeTime = params['ConsumeTime'] @ConsumerAddr = params['ConsumerAddr'] @ConsumeUseTime = params['ConsumeUseTime'] @Status = params['Status'] end |