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.
7483 7484 7485 7486 7487 7488 7489 7490 |
# File 'lib/v20180608/models.rb', line 7483 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
7481 7482 7483 |
# File 'lib/v20180608/models.rb', line 7481 def Content @Content end |
#FileName ⇒ Object
7481 7482 7483 |
# File 'lib/v20180608/models.rb', line 7481 def FileName @FileName end |
#Source ⇒ Object
7481 7482 7483 |
# File 'lib/v20180608/models.rb', line 7481 def Source @Source end |
#Timestamp ⇒ Object
7481 7482 7483 |
# File 'lib/v20180608/models.rb', line 7481 def Timestamp @Timestamp end |
#TopicId ⇒ Object
7481 7482 7483 |
# File 'lib/v20180608/models.rb', line 7481 def TopicId @TopicId end |
#TopicName ⇒ Object
7481 7482 7483 |
# File 'lib/v20180608/models.rb', line 7481 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
7492 7493 7494 7495 7496 7497 7498 7499 |
# File 'lib/v20180608/models.rb', line 7492 def deserialize(params) @TopicId = params['TopicId'] @TopicName = params['TopicName'] @Timestamp = params['Timestamp'] @Content = params['Content'] @FileName = params['FileName'] @Source = params['Source'] end |