Class: Telnyx::Models::SuppressedRecipient
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::SuppressedRecipient
- Defined in:
- lib/telnyx/models/suppressed_recipient.rb,
sig/telnyx/models/suppressed_recipient.rbs
Instance Attribute Summary collapse
-
#override_allowed ⇒ Boolean
Whether an authorized send may override this suppression.
-
#reason ⇒ String
Suppression reason returned by the recipient suppression service.
-
#scope ⇒ String
Scope at which the suppression applies.
-
#to ⇒ String
Suppressed recipient email address.
Instance Method Summary collapse
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(override_allowed:, reason:, scope:, to:) ⇒ Object
|
|
# File 'lib/telnyx/models/suppressed_recipient.rb', line 30
|
Instance Attribute Details
#override_allowed ⇒ Boolean
Whether an authorized send may override this suppression.
10 |
# File 'lib/telnyx/models/suppressed_recipient.rb', line 10 required :override_allowed, Telnyx::Internal::Type::Boolean |
#reason ⇒ String
Suppression reason returned by the recipient suppression service.
16 |
# File 'lib/telnyx/models/suppressed_recipient.rb', line 16 required :reason, String |
#scope ⇒ String
Scope at which the suppression applies.
22 |
# File 'lib/telnyx/models/suppressed_recipient.rb', line 22 required :scope, String |
#to ⇒ String
Suppressed recipient email address.
28 |
# File 'lib/telnyx/models/suppressed_recipient.rb', line 28 required :to, String |
Instance Method Details
#to_hash ⇒ {
22 |
# File 'sig/telnyx/models/suppressed_recipient.rbs', line 22
def to_hash: -> {
|