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



41
42
43
# File 'lib/llm_cost_tracker/billing/components.rb', line 41

def cache_state
  @cache_state
end

#categoryObject (readonly)

Returns the value of attribute category

Returns:

  • (Object)

    the current value of category



41
42
43
# File 'lib/llm_cost_tracker/billing/components.rb', line 41

def category
  @category
end

#cost_keyObject (readonly)

Returns the value of attribute cost_key

Returns:

  • (Object)

    the current value of cost_key



41
42
43
# File 'lib/llm_cost_tracker/billing/components.rb', line 41

def cost_key
  @cost_key
end

#directionObject (readonly)

Returns the value of attribute direction

Returns:

  • (Object)

    the current value of direction



41
42
43
# File 'lib/llm_cost_tracker/billing/components.rb', line 41

def direction
  @direction
end

#keyObject (readonly)

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



41
42
43
# File 'lib/llm_cost_tracker/billing/components.rb', line 41

def key
  @key
end

#kindObject (readonly)

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



41
42
43
# File 'lib/llm_cost_tracker/billing/components.rb', line 41

def kind
  @kind
end

#modalityObject (readonly)

Returns the value of attribute modality

Returns:

  • (Object)

    the current value of modality



41
42
43
# File 'lib/llm_cost_tracker/billing/components.rb', line 41

def modality
  @modality
end

#rate_basisObject (readonly)

Returns the value of attribute rate_basis

Returns:

  • (Object)

    the current value of rate_basis



41
42
43
# File 'lib/llm_cost_tracker/billing/components.rb', line 41

def rate_basis
  @rate_basis
end

#token_keyObject (readonly)

Returns the value of attribute token_key

Returns:

  • (Object)

    the current value of token_key



41
42
43
# File 'lib/llm_cost_tracker/billing/components.rb', line 41

def token_key
  @token_key
end

#unitObject (readonly)

Returns the value of attribute unit

Returns:

  • (Object)

    the current value of unit



41
42
43
# File 'lib/llm_cost_tracker/billing/components.rb', line 41

def unit
  @unit
end