Class: Maze::Api::Model::OtelAttributeArrayElement

Inherits:
Object
  • Object
show all
Defined in:
lib/maze/api/model/otel_attribute.rb

Overview

Element of an OTEL attribute array.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type, value) ⇒ OtelAttributeArrayElement

Returns a new instance of OtelAttributeArrayElement.



11
12
13
14
# File 'lib/maze/api/model/otel_attribute.rb', line 11

def initialize(type, value)
  @type = type
  @value = value
end

Instance Attribute Details

#typeObject

Returns the value of attribute type.



9
10
11
# File 'lib/maze/api/model/otel_attribute.rb', line 9

def type
  @type
end

#valueObject

Returns the value of attribute value.



9
10
11
# File 'lib/maze/api/model/otel_attribute.rb', line 9

def value
  @value
end