| Name | Type | Description | Notes |
|---|---|---|---|
| TraceId | string | The id of the trace | |
| Spans | []Span | All spans for the trace | |
| Resources | map[string]map[string]string | Map of resource identifiers to their corresponding resource attributes (key/value pairs). Keys are UUIDs used in the spans’ `resourceId` fields. |
func NewTrace(traceId string, spans []Span, resources map[string]map[string]string, ) *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
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
func (o *Trace) GetTraceId() string
GetTraceId returns the TraceId field if non-nil, zero value otherwise.
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.
func (o *Trace) SetTraceId(v string)
SetTraceId sets TraceId field to given value.
func (o *Trace) GetSpans() []Span
GetSpans returns the Spans field if non-nil, zero value otherwise.
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.
func (o *Trace) SetSpans(v []Span)
SetSpans sets Spans field to given value.
func (o *Trace) GetResources() map[string]map[string]string
GetResources returns the Resources field if non-nil, zero value otherwise.
func (o *Trace) GetResourcesOk() (*map[string]map[string]string, bool)
GetResourcesOk returns a tuple with the Resources field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Trace) SetResources(v map[string]map[string]string)
SetResources sets Resources field to given value.