Class: Telnyx::Models::EmailBlockCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::EmailBlockCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/telnyx/models/email_block_create_params.rb,
sig/telnyx/models/email_block_create_params.rbs
Overview
Instance Attribute Summary collapse
-
#domain_id ⇒ String?
null⇒ account scope. - #expires_at ⇒ Time?
-
#from ⇒ String?
Sender address (normalized).
-
#to ⇒ String
Recipient address (normalized: trim + lower-case).
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
- #initialize(to:, domain_id: nil, expires_at: nil, from: nil, request_options: {}) ⇒ Object constructor
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(to:, domain_id: nil, expires_at: nil, from: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/telnyx/models/email_block_create_params.rb', line 33
|
Instance Attribute Details
#domain_id ⇒ String?
null ⇒ account scope.
20 |
# File 'lib/telnyx/models/email_block_create_params.rb', line 20 optional :domain_id, String, nil?: true |
#expires_at ⇒ Time?
25 |
# File 'lib/telnyx/models/email_block_create_params.rb', line 25 optional :expires_at, Time, nil?: true |
#from ⇒ String?
Sender address (normalized). null ⇒ account/domain scope.
31 |
# File 'lib/telnyx/models/email_block_create_params.rb', line 31 optional :from, String, nil?: true |
#to ⇒ String
Recipient address (normalized: trim + lower-case).
14 |
# File 'lib/telnyx/models/email_block_create_params.rb', line 14 required :to, String |
Instance Method Details
#to_hash ⇒ {
27 |
# File 'sig/telnyx/models/email_block_create_params.rbs', line 27
def to_hash: -> {
|