Class: TencentCloud::Tcb::V20180608::LogObject
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::LogObject
- Defined in:
- lib/v20180608/models.rb
Overview
CLS日志单条信息
Instance Attribute Summary collapse
- #Content ⇒ Object
- #FileName ⇒ Object
- #Source ⇒ Object
- #Timestamp ⇒ Object
- #TopicId ⇒ Object
- #TopicName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topicid = nil, topicname = nil, timestamp = nil, content = nil, filename = nil, source = nil) ⇒ LogObject
constructor
A new instance of LogObject.
Constructor Details
#initialize(topicid = nil, topicname = nil, timestamp = nil, content = nil, filename = nil, source = nil) ⇒ LogObject
Returns a new instance of LogObject.
6567 6568 6569 6570 6571 6572 6573 6574 |
# File 'lib/v20180608/models.rb', line 6567 def initialize(topicid=nil, topicname=nil, =nil, content=nil, filename=nil, source=nil) @TopicId = topicid @TopicName = topicname @Timestamp = @Content = content @FileName = filename @Source = source end |
Instance Attribute Details
#Content ⇒ Object
6565 6566 6567 |
# File 'lib/v20180608/models.rb', line 6565 def Content @Content end |
#FileName ⇒ Object
6565 6566 6567 |
# File 'lib/v20180608/models.rb', line 6565 def FileName @FileName end |
#Source ⇒ Object
6565 6566 6567 |
# File 'lib/v20180608/models.rb', line 6565 def Source @Source end |
#Timestamp ⇒ Object
6565 6566 6567 |
# File 'lib/v20180608/models.rb', line 6565 def Timestamp @Timestamp end |
#TopicId ⇒ Object
6565 6566 6567 |
# File 'lib/v20180608/models.rb', line 6565 def TopicId @TopicId end |
#TopicName ⇒ Object
6565 6566 6567 |
# File 'lib/v20180608/models.rb', line 6565 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
6576 6577 6578 6579 6580 6581 6582 6583 |
# File 'lib/v20180608/models.rb', line 6576 def deserialize(params) @TopicId = params['TopicId'] @TopicName = params['TopicName'] @Timestamp = params['Timestamp'] @Content = params['Content'] @FileName = params['FileName'] @Source = params['Source'] end |