Class: Maze::Api::Model::OtelAttributeArrayElement
- Inherits:
-
Object
- Object
- Maze::Api::Model::OtelAttributeArrayElement
- Defined in:
- lib/maze/api/model/otel_attribute.rb
Overview
Element of an OTEL attribute array.
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(type, value) ⇒ OtelAttributeArrayElement
constructor
A new instance of OtelAttributeArrayElement.
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
#type ⇒ Object
Returns the value of attribute type.
9 10 11 |
# File 'lib/maze/api/model/otel_attribute.rb', line 9 def type @type end |
#value ⇒ Object
Returns the value of attribute value.
9 10 11 |
# File 'lib/maze/api/model/otel_attribute.rb', line 9 def value @value end |