Class: OpenAI::Models::Live::DecisionItemDeleteEvent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Live::DecisionItemDeleteEvent
- Defined in:
- lib/openai/models/live/decision_item_delete_event.rb,
sig/openai/models/live/decision_item_delete_event.rbs
Instance Attribute Summary collapse
-
#event_id ⇒ String?
Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.
- #item_id ⇒ String
- #type ⇒ Symbol, :"decision.item.delete"
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(item_id:, event_id: nil, type: :"decision.item.delete") ⇒ DecisionItemDeleteEvent
constructor
A new instance of DecisionItemDeleteEvent.
- #to_hash ⇒ { item_id: String, ?type: :"decision.item.delete", ?event_id: String? }
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(item_id:, event_id: nil, type: :"decision.item.delete") ⇒ DecisionItemDeleteEvent
Returns a new instance of DecisionItemDeleteEvent.
|
|
# File 'lib/openai/models/live/decision_item_delete_event.rb', line 24
|
Instance Attribute Details
#event_id ⇒ String?
Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.
22 |
# File 'lib/openai/models/live/decision_item_delete_event.rb', line 22 optional :event_id, String, nil?: true |
#item_id ⇒ String
10 |
# File 'lib/openai/models/live/decision_item_delete_event.rb', line 10 required :item_id, String |
#type ⇒ Symbol, :"decision.item.delete"
15 |
# File 'lib/openai/models/live/decision_item_delete_event.rb', line 15 required :type, const: :"decision.item.delete" |
Instance Method Details
#to_hash ⇒ { item_id: String, ?type: :"decision.item.delete", ?event_id: String? }
25 26 27 28 29 |
# File 'sig/openai/models/live/decision_item_delete_event.rbs', line 25
def to_hash: -> {
item_id: String,
?type: :"decision.item.delete",
?event_id: String?
}
|