Class: Telnyx::Models::EmailDmarcPolicy
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::EmailDmarcPolicy
- Defined in:
- lib/telnyx/models/email_dmarc_policy.rb,
sig/telnyx/models/email_dmarc_policy.rbs
Defined Under Namespace
Instance Attribute Summary collapse
-
#p_ ⇒ Symbol, ...
Policy applied to messages that fail alignment.
-
#pct ⇒ Integer?
Percentage of messages the policy applies to.
-
#rua ⇒ String?
URI for aggregate reports.
-
#sp ⇒ Symbol, ...
Policy for subdomains.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(p_: nil, pct: nil, rua: nil, sp: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see EmailDmarcPolicy for more details.
- #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(p_: nil, pct: nil, rua: nil, sp: nil) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::EmailDmarcPolicy for more details.
DMARC policy for a sending domain. Drives the recommended _dmarc.
|
|
# File 'lib/telnyx/models/email_dmarc_policy.rb', line 31
|
Instance Attribute Details
#p_ ⇒ Symbol, ...
Policy applied to messages that fail alignment.
10 |
# File 'lib/telnyx/models/email_dmarc_policy.rb', line 10 optional :p_, enum: -> { Telnyx::EmailDmarcPolicy::P }, api_name: :p |
#pct ⇒ Integer?
Percentage of messages the policy applies to. Omitted from the record when 100.
16 |
# File 'lib/telnyx/models/email_dmarc_policy.rb', line 16 optional :pct, Integer |
#rua ⇒ String?
URI for aggregate reports. Defaults to the Telnyx address when absent; null omits it.
23 |
# File 'lib/telnyx/models/email_dmarc_policy.rb', line 23 optional :rua, String, nil?: true |
#sp ⇒ Symbol, ...
Policy for subdomains. Omitted from the record when null.
29 |
# File 'lib/telnyx/models/email_dmarc_policy.rb', line 29 optional :sp, enum: -> { Telnyx::EmailDmarcPolicy::Sp }, nil?: true |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/email_dmarc_policy.rb', line 58
|
Instance Method Details
#to_hash ⇒ {
33 |
# File 'sig/telnyx/models/email_dmarc_policy.rbs', line 33
def to_hash: -> {
|