Class: OpenAI::Models::Admin::Organization::OrganizationSpendAlertDeleted
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Admin::Organization::OrganizationSpendAlertDeleted
- Defined in:
- lib/openai/models/admin/organization/organization_spend_alert_deleted.rb,
sig/openai/models/admin/organization/organization_spend_alert_deleted.rbs
Overview
Instance Attribute Summary collapse
-
#deleted ⇒ Boolean
Whether the spend alert was deleted.
-
#id ⇒ String
The deleted spend alert ID.
-
#object ⇒ Symbol, :"organization.spend_alert.deleted"
Always
organization.spend_alert.deleted.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, 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, #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
21 |
# File 'sig/openai/models/admin/organization/organization_spend_alert_deleted.rbs', line 21
def initialize: (
|
Instance Attribute Details
#deleted ⇒ Boolean
Whether the spend alert was deleted.
19 |
# File 'lib/openai/models/admin/organization/organization_spend_alert_deleted.rb', line 19 required :deleted, OpenAI::Internal::Type::Boolean |
#id ⇒ String
The deleted spend alert ID.
13 |
# File 'lib/openai/models/admin/organization/organization_spend_alert_deleted.rb', line 13 required :id, String |
#object ⇒ Symbol, :"organization.spend_alert.deleted"
Always organization.spend_alert.deleted.
25 |
# File 'lib/openai/models/admin/organization/organization_spend_alert_deleted.rb', line 25 required :object, const: :"organization.spend_alert.deleted" |
Instance Method Details
#to_hash ⇒ {
27 |
# File 'sig/openai/models/admin/organization/organization_spend_alert_deleted.rbs', line 27
def to_hash: -> {
|