Class: OpenAI::Models::Beta::ChatKit::ChatKitThreadItemList::Data::ChatKitTaskGroup
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::ChatKit::ChatKitThreadItemList::Data::ChatKitTaskGroup
- Defined in:
- lib/openai/models/beta/chatkit/chatkit_thread_item_list.rb,
sig/openai/models/beta/chatkit/chatkit_thread_item_list.rbs
Defined Under Namespace
Classes: Task
Instance Attribute Summary collapse
-
#created_at ⇒ Integer
Unix timestamp (in seconds) for when the item was created.
-
#id ⇒ String
Identifier of the thread item.
-
#object ⇒ Symbol, :"chatkit.thread_item"
Type discriminator that is always
chatkit.thread_item. -
#tasks ⇒ Array<OpenAI::Models::Beta::ChatKit::ChatKitThreadItemList::Data::ChatKitTaskGroup::Task>
Tasks included in the group.
-
#thread_id ⇒ String
Identifier of the parent thread.
-
#type ⇒ Symbol, :"chatkit.task_group"
Type discriminator that is always
chatkit.task_group.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Object
213 |
# File 'sig/openai/models/beta/chatkit/chatkit_thread_item_list.rbs', line 213
def initialize: (
|
Instance Attribute Details
#created_at ⇒ Integer
Unix timestamp (in seconds) for when the item was created.
283 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread_item_list.rb', line 283 required :created_at, Integer |
#id ⇒ String
Identifier of the thread item.
277 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread_item_list.rb', line 277 required :id, String |
#object ⇒ Symbol, :"chatkit.thread_item"
Type discriminator that is always chatkit.thread_item.
289 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread_item_list.rb', line 289 required :object, const: :"chatkit.thread_item" |
#tasks ⇒ Array<OpenAI::Models::Beta::ChatKit::ChatKitThreadItemList::Data::ChatKitTaskGroup::Task>
Tasks included in the group.
295 296 297 298 299 300 301 302 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread_item_list.rb', line 295 required( :tasks, -> { OpenAI::Internal::Type::ArrayOf[ OpenAI::Beta::ChatKit::ChatKitThreadItemList::Data::ChatKitTaskGroup::Task ] } ) |
#thread_id ⇒ String
Identifier of the parent thread.
308 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread_item_list.rb', line 308 required :thread_id, String |
#type ⇒ Symbol, :"chatkit.task_group"
Type discriminator that is always chatkit.task_group.
314 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread_item_list.rb', line 314 required :type, const: :"chatkit.task_group" |
Instance Method Details
#to_hash ⇒ {
222 |
# File 'sig/openai/models/beta/chatkit/chatkit_thread_item_list.rbs', line 222
def to_hash: -> {
|