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 ⇒ :"chatkit.thread_item"
Type discriminator that is always
chatkit.thread_item. -
#tasks ⇒ ::Array[OpenAI::Beta::ChatKit::ChatKitThreadItemList::Data::ChatKitTaskGroup::Task]
Tasks included in the group.
-
#thread_id ⇒ String
Identifier of the parent thread.
-
#type ⇒ :"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
302 |
# File 'sig/openai/models/beta/chatkit/chatkit_thread_item_list.rbs', line 302
def initialize: (
|
Instance Attribute Details
#created_at ⇒ Integer
Unix timestamp (in seconds) for when the item was created.
303 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread_item_list.rb', line 303 required :created_at, Integer |
#id ⇒ String
Identifier of the thread item.
297 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread_item_list.rb', line 297 required :id, String |
#object ⇒ :"chatkit.thread_item"
Type discriminator that is always chatkit.thread_item.
309 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread_item_list.rb', line 309 required :object, const: :"chatkit.thread_item" |
#tasks ⇒ ::Array[OpenAI::Beta::ChatKit::ChatKitThreadItemList::Data::ChatKitTaskGroup::Task]
Tasks included in the group.
315 316 317 318 319 320 321 322 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread_item_list.rb', line 315 required( :tasks, -> { OpenAI::Internal::Type::ArrayOf[ OpenAI::Beta::ChatKit::ChatKitThreadItemList::Data::ChatKitTaskGroup::Task ] } ) |
#thread_id ⇒ String
Identifier of the parent thread.
328 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread_item_list.rb', line 328 required :thread_id, String |
#type ⇒ :"chatkit.task_group"
Type discriminator that is always chatkit.task_group.
334 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread_item_list.rb', line 334 required :type, const: :"chatkit.task_group" |
Instance Method Details
#to_hash ⇒ {
311 |
# File 'sig/openai/models/beta/chatkit/chatkit_thread_item_list.rbs', line 311
def to_hash: -> {
|