Class: OpenAI::Models::Conversations::ConversationDeletedResource
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Conversations::ConversationDeletedResource
- Defined in:
- lib/openai/models/conversations/conversation_deleted_resource.rb,
sig/openai/models/conversations/conversation_deleted_resource.rbs
Overview
Instance Attribute Summary collapse
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(id:, deleted:, object: :"conversation.deleted") ⇒ ConversationDeletedResource
constructor
A new instance of ConversationDeletedResource.
- #to_hash ⇒ { id: String, deleted: bool, ?object: :"conversation.deleted" }
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_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, 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(id:, deleted:, object: :"conversation.deleted") ⇒ ConversationDeletedResource
Returns a new instance of ConversationDeletedResource.
|
|
# File 'lib/openai/models/conversations/conversation_deleted_resource.rb', line 23
|
Instance Attribute Details
#deleted ⇒ Boolean
16 |
# File 'lib/openai/models/conversations/conversation_deleted_resource.rb', line 16 required :deleted, OpenAI::Internal::Type::Boolean |
#id ⇒ String
11 |
# File 'lib/openai/models/conversations/conversation_deleted_resource.rb', line 11 required :id, String |
#object ⇒ Symbol, :"conversation.deleted"
21 |
# File 'lib/openai/models/conversations/conversation_deleted_resource.rb', line 21 required :object, const: :"conversation.deleted" |
Instance Method Details
#to_hash ⇒ { id: String, deleted: bool, ?object: :"conversation.deleted" }
20 21 22 23 24 |
# File 'sig/openai/models/conversations/conversation_deleted_resource.rbs', line 20
def to_hash: -> {
id: String,
deleted: bool,
?object: :"conversation.deleted"
}
|