Class: LlmCostTracker::Billing::Components::Component

Inherits:
Data
  • Object
show all
Defined in:
lib/llm_cost_tracker/billing/components.rb

Instance Attribute Summary collapse

Instance Attribute Details

#cache_stateObject (readonly)

Returns the value of attribute cache_state

Returns:

  • (Object)

    the current value of cache_state



10
11
12
# File 'lib/llm_cost_tracker/billing/components.rb', line 10

def cache_state
  @cache_state
end

#categoryObject (readonly)

Returns the value of attribute category

Returns:

  • (Object)

    the current value of category



10
11
12
# File 'lib/llm_cost_tracker/billing/components.rb', line 10

def category
  @category
end

#cost_keyObject (readonly)

Returns the value of attribute cost_key

Returns:

  • (Object)

    the current value of cost_key



10
11
12
# File 'lib/llm_cost_tracker/billing/components.rb', line 10

def cost_key
  @cost_key
end

#directionObject (readonly)

Returns the value of attribute direction

Returns:

  • (Object)

    the current value of direction



10
11
12
# File 'lib/llm_cost_tracker/billing/components.rb', line 10

def direction
  @direction
end

#keyObject (readonly)

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



10
11
12
# File 'lib/llm_cost_tracker/billing/components.rb', line 10

def key
  @key
end

#kindObject (readonly)

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



10
11
12
# File 'lib/llm_cost_tracker/billing/components.rb', line 10

def kind
  @kind
end

#modalityObject (readonly)

Returns the value of attribute modality

Returns:

  • (Object)

    the current value of modality



10
11
12
# File 'lib/llm_cost_tracker/billing/components.rb', line 10

def modality
  @modality
end

#token_keyObject (readonly)

Returns the value of attribute token_key

Returns:

  • (Object)

    the current value of token_key



10
11
12
# File 'lib/llm_cost_tracker/billing/components.rb', line 10

def token_key
  @token_key
end

#unitObject (readonly)

Returns the value of attribute unit

Returns:

  • (Object)

    the current value of unit



10
11
12
# File 'lib/llm_cost_tracker/billing/components.rb', line 10

def unit
  @unit
end