Class: LiterLlm::ResponseObject
- Inherits:
-
Object
- Object
- LiterLlm::ResponseObject
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#created_at ⇒ Integer
readonly
Returns the value of attribute created_at.
-
#error ⇒ String?
readonly
Returns the value of attribute error.
-
#id ⇒ String
readonly
Returns the value of attribute id.
-
#model ⇒ String
readonly
Returns the value of attribute model.
-
#object ⇒ String
readonly
Returns the value of attribute object.
-
#output ⇒ Array[ResponseOutputItem]
readonly
Returns the value of attribute output.
-
#status ⇒ String
readonly
Returns the value of attribute status.
-
#usage ⇒ ResponseUsage?
readonly
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.
663 |
# File 'sig/types.rbs', line 663
def initialize: (?id: String, ?object: String, ?created_at: Integer, ?model: String, ?status: String, ?output: Array[ResponseOutputItem], ?usage: ResponseUsage, ?error: String) -> void
|
Instance Attribute Details
#created_at ⇒ Integer (readonly)
Returns the value of attribute created_at.
656 657 658 |
# File 'sig/types.rbs', line 656 def created_at @created_at end |
#error ⇒ String? (readonly)
Returns the value of attribute error.
661 662 663 |
# File 'sig/types.rbs', line 661 def error @error end |
#id ⇒ String (readonly)
Returns the value of attribute id.
654 655 656 |
# File 'sig/types.rbs', line 654 def id @id end |
#model ⇒ String (readonly)
Returns the value of attribute model.
657 658 659 |
# File 'sig/types.rbs', line 657 def model @model end |
#object ⇒ String (readonly)
Returns the value of attribute object.
655 656 657 |
# File 'sig/types.rbs', line 655 def object @object end |
#output ⇒ Array[ResponseOutputItem] (readonly)
Returns the value of attribute output.
659 660 661 |
# File 'sig/types.rbs', line 659 def output @output end |
#status ⇒ String (readonly)
Returns the value of attribute status.
658 659 660 |
# File 'sig/types.rbs', line 658 def status @status end |
#usage ⇒ ResponseUsage? (readonly)
Returns the value of attribute usage.
660 661 662 |
# File 'sig/types.rbs', line 660 def usage @usage end |