Class: LiterLlm::ResponseObject
- Inherits:
-
Object
- Object
- LiterLlm::ResponseObject
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#created_at ⇒ Integer?
Returns the value of attribute created_at.
-
#error ⇒ json_value?
Returns the value of attribute error.
-
#id ⇒ String?
Returns the value of attribute id.
-
#model ⇒ String?
Returns the value of attribute model.
-
#object ⇒ String?
Returns the value of attribute object.
-
#output ⇒ Array[ResponseOutputItem]?
Returns the value of attribute output.
-
#status ⇒ String?
Returns the value of attribute status.
-
#usage ⇒ ResponseUsage?
Returns the value of attribute usage.
Instance Method Summary collapse
-
#initialize ⇒ ResponseObject
constructor
A new instance of ResponseObject.
Constructor Details
#initialize ⇒ ResponseObject
Returns a new instance of ResponseObject.
651 |
# File 'sig/types.rbs', line 651
def initialize: (?id: String, ?object: String, ?created_at: Integer, ?model: String, ?status: String, ?output: Array[ResponseOutputItem], ?usage: ResponseUsage, ?error: json_value) -> void
|
Instance Attribute Details
#created_at ⇒ Integer?
Returns the value of attribute created_at.
644 645 646 |
# File 'sig/types.rbs', line 644 def created_at @created_at end |
#error ⇒ json_value?
Returns the value of attribute error.
649 650 651 |
# File 'sig/types.rbs', line 649 def error @error end |
#id ⇒ String?
Returns the value of attribute id.
642 643 644 |
# File 'sig/types.rbs', line 642 def id @id end |
#model ⇒ String?
Returns the value of attribute model.
645 646 647 |
# File 'sig/types.rbs', line 645 def model @model end |
#object ⇒ String?
Returns the value of attribute object.
643 644 645 |
# File 'sig/types.rbs', line 643 def object @object end |
#output ⇒ Array[ResponseOutputItem]?
Returns the value of attribute output.
647 648 649 |
# File 'sig/types.rbs', line 647 def output @output end |
#status ⇒ String?
Returns the value of attribute status.
646 647 648 |
# File 'sig/types.rbs', line 646 def status @status end |
#usage ⇒ ResponseUsage?
Returns the value of attribute usage.
648 649 650 |
# File 'sig/types.rbs', line 648 def usage @usage end |