Class: OpenAI::Models::Admin::Organization::Health::HealthAlertRule::Notifications::Email
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Admin::Organization::Health::HealthAlertRule::Notifications::Email
- Defined in:
- lib/openai/models/admin/organization/health/health_alert_rule.rb,
sig/openai/models/admin/organization/health/health_alert_rule.rbs
Overview
Instance Attribute Summary collapse
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize ⇒ Email
constructor
A new instance of Email.
- #to_hash ⇒ { addresses: ::Array[String], enabled: bool, org_owners: bool, project_owners: bool }
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 ⇒ Email
Returns a new instance of Email.
317 318 319 320 321 322 |
# File 'sig/openai/models/admin/organization/health/health_alert_rule.rbs', line 317
def initialize: (
addresses: ::Array[String],
enabled: bool,
org_owners: bool,
project_owners: bool
) -> void
|
Instance Attribute Details
#addresses ⇒ Array<String>
320 |
# File 'lib/openai/models/admin/organization/health/health_alert_rule.rb', line 320 required :addresses, OpenAI::Internal::Type::ArrayOf[String] |
#enabled ⇒ Boolean
325 |
# File 'lib/openai/models/admin/organization/health/health_alert_rule.rb', line 325 required :enabled, OpenAI::Internal::Type::Boolean |
Instance Method Details
#to_hash ⇒ { addresses: ::Array[String], enabled: bool, org_owners: bool, project_owners: bool }
324 325 326 327 328 329 |
# File 'sig/openai/models/admin/organization/health/health_alert_rule.rbs', line 324
def to_hash: -> {
addresses: ::Array[String],
enabled: bool,
org_owners: bool,
project_owners: bool
}
|