Class: TencentCloud::Apm::V20210622::SpanProcess
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apm::V20210622::SpanProcess
- Defined in:
- lib/v20210622/models.rb
Overview
服务相关信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(servicename = nil, tags = nil) ⇒ SpanProcess
constructor
A new instance of SpanProcess.
Constructor Details
#initialize(servicename = nil, tags = nil) ⇒ SpanProcess
Returns a new instance of SpanProcess.
4098 4099 4100 4101 |
# File 'lib/v20210622/models.rb', line 4098 def initialize(servicename=nil, =nil) @ServiceName = servicename @Tags = end |
Instance Attribute Details
#ServiceName ⇒ Object
4096 4097 4098 |
# File 'lib/v20210622/models.rb', line 4096 def ServiceName @ServiceName end |
#Tags ⇒ Object
4096 4097 4098 |
# File 'lib/v20210622/models.rb', line 4096 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 |
# File 'lib/v20210622/models.rb', line 4103 def deserialize(params) @ServiceName = params['ServiceName'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| spantag_tmp = SpanTag.new spantag_tmp.deserialize(i) @Tags << spantag_tmp end end end |