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.
745 |
# File 'sig/types.rbs', line 745
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.
738 739 740 |
# File 'sig/types.rbs', line 738 def created_at @created_at end |
#error ⇒ String? (readonly)
Returns the value of attribute error.
743 744 745 |
# File 'sig/types.rbs', line 743 def error @error end |
#id ⇒ String (readonly)
Returns the value of attribute id.
736 737 738 |
# File 'sig/types.rbs', line 736 def id @id end |
#model ⇒ String (readonly)
Returns the value of attribute model.
739 740 741 |
# File 'sig/types.rbs', line 739 def model @model end |
#object ⇒ String (readonly)
Returns the value of attribute object.
737 738 739 |
# File 'sig/types.rbs', line 737 def object @object end |
#output ⇒ Array[ResponseOutputItem] (readonly)
Returns the value of attribute output.
741 742 743 |
# File 'sig/types.rbs', line 741 def output @output end |
#status ⇒ String (readonly)
Returns the value of attribute status.
740 741 742 |
# File 'sig/types.rbs', line 740 def status @status end |
#usage ⇒ ResponseUsage? (readonly)
Returns the value of attribute usage.
742 743 744 |
# File 'sig/types.rbs', line 742 def usage @usage end |