Class: TencentCloud::Apm::V20210622::SpanLog
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apm::V20210622::SpanLog
- Defined in:
- lib/v20210622/models.rb
Overview
Span日志部分
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(timestamp = nil, fields = nil) ⇒ SpanLog
constructor
A new instance of SpanLog.
Constructor Details
#initialize(timestamp = nil, fields = nil) ⇒ SpanLog
Returns a new instance of SpanLog.
4071 4072 4073 4074 |
# File 'lib/v20210622/models.rb', line 4071 def initialize(=nil, fields=nil) @Timestamp = @Fields = fields end |
Instance Attribute Details
#Fields ⇒ Object
4069 4070 4071 |
# File 'lib/v20210622/models.rb', line 4069 def Fields @Fields end |
#Timestamp ⇒ Object
4069 4070 4071 |
# File 'lib/v20210622/models.rb', line 4069 def Timestamp @Timestamp end |
Instance Method Details
#deserialize(params) ⇒ Object
4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 |
# File 'lib/v20210622/models.rb', line 4076 def deserialize(params) @Timestamp = params['Timestamp'] unless params['Fields'].nil? @Fields = [] params['Fields'].each do |i| spantag_tmp = SpanTag.new spantag_tmp.deserialize(i) @Fields << spantag_tmp end end end |