Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 1.82 KB

File metadata and controls

72 lines (39 loc) · 1.82 KB

Trace

Properties

Name Type Description Notes
TraceId string The id of the trace
Spans []Span All spans for the trace

Methods

NewTrace

func NewTrace(traceId string, spans []Span, ) *Trace

NewTrace instantiates a new Trace object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewTraceWithDefaults

func NewTraceWithDefaults() *Trace

NewTraceWithDefaults instantiates a new Trace object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetTraceId

func (o *Trace) GetTraceId() string

GetTraceId returns the TraceId field if non-nil, zero value otherwise.

GetTraceIdOk

func (o *Trace) GetTraceIdOk() (*string, bool)

GetTraceIdOk returns a tuple with the TraceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTraceId

func (o *Trace) SetTraceId(v string)

SetTraceId sets TraceId field to given value.

GetSpans

func (o *Trace) GetSpans() []Span

GetSpans returns the Spans field if non-nil, zero value otherwise.

GetSpansOk

func (o *Trace) GetSpansOk() (*[]Span, bool)

GetSpansOk returns a tuple with the Spans field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSpans

func (o *Trace) SetSpans(v []Span)

SetSpans sets Spans field to given value.

[Back to Model list] [Back to API list] [Back to README]