Class: TencentCloud::Apm::V20210622::SpanReference

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210622/models.rb

Overview

Span上下游关联关系

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reftype = nil, spanid = nil, traceid = nil) ⇒ SpanReference

Returns a new instance of SpanReference.



4127
4128
4129
4130
4131
# File 'lib/v20210622/models.rb', line 4127

def initialize(reftype=nil, spanid=nil, traceid=nil)
  @RefType = reftype
  @SpanID = spanid
  @TraceID = traceid
end

Instance Attribute Details

#RefTypeObject

Parameters:

  • RefType:

    关联关系类型

  • SpanID:

    Span ID

  • TraceID:

    Trace ID



4125
4126
4127
# File 'lib/v20210622/models.rb', line 4125

def RefType
  @RefType
end

#SpanIDObject

Parameters:

  • RefType:

    关联关系类型

  • SpanID:

    Span ID

  • TraceID:

    Trace ID



4125
4126
4127
# File 'lib/v20210622/models.rb', line 4125

def SpanID
  @SpanID
end

#TraceIDObject

Parameters:

  • RefType:

    关联关系类型

  • SpanID:

    Span ID

  • TraceID:

    Trace ID



4125
4126
4127
# File 'lib/v20210622/models.rb', line 4125

def TraceID
  @TraceID
end

Instance Method Details

#deserialize(params) ⇒ Object



4133
4134
4135
4136
4137
# File 'lib/v20210622/models.rb', line 4133

def deserialize(params)
  @RefType = params['RefType']
  @SpanID = params['SpanID']
  @TraceID = params['TraceID']
end