Class: OpenAI::Models::Webhooks::DeletedWebhookEndpoint
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Webhooks::DeletedWebhookEndpoint
- Defined in:
- lib/openai/models/webhooks/deleted_webhook_endpoint.rb,
sig/openai/models/webhooks/deleted_webhook_endpoint.rbs
Overview
Instance Attribute Summary collapse
-
#deleted ⇒ Boolean
Whether the endpoint was deleted.
-
#id ⇒ String
The ID of the deleted webhook endpoint.
-
#object ⇒ :"webhook_endpoint.deleted"
The object type, which is always webhook_endpoint.deleted.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(id:, deleted:, object: :"webhook_endpoint.deleted") ⇒ DeletedWebhookEndpoint
constructor
A new instance of DeletedWebhookEndpoint.
- #to_hash ⇒ { id: String, deleted: bool, ?object: :"webhook_endpoint.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: :"webhook_endpoint.deleted") ⇒ DeletedWebhookEndpoint
Returns a new instance of DeletedWebhookEndpoint.
|
|
# File 'lib/openai/models/webhooks/deleted_webhook_endpoint.rb', line 26
|
Instance Attribute Details
#deleted ⇒ Boolean
Whether the endpoint was deleted.
18 |
# File 'lib/openai/models/webhooks/deleted_webhook_endpoint.rb', line 18 required :deleted, OpenAI::Internal::Type::Boolean |
#id ⇒ String
The ID of the deleted webhook endpoint.
12 |
# File 'lib/openai/models/webhooks/deleted_webhook_endpoint.rb', line 12 required :id, String |
#object ⇒ :"webhook_endpoint.deleted"
The object type, which is always webhook_endpoint.deleted.
24 |
# File 'lib/openai/models/webhooks/deleted_webhook_endpoint.rb', line 24 required :object, const: :"webhook_endpoint.deleted" |
Instance Method Details
#to_hash ⇒ { id: String, deleted: bool, ?object: :"webhook_endpoint.deleted" }
29 30 31 32 33 |
# File 'sig/openai/models/webhooks/deleted_webhook_endpoint.rbs', line 29
def to_hash: -> {
id: String,
deleted: bool,
?object: :"webhook_endpoint.deleted"
}
|