Class: Telnyx::Models::EmailDomain::Dkim

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/email_domain.rb,
sig/telnyx/models/email_domain.rbs

Overview

See Also:

  • Telnyx::Models::EmailDomain#dkim

Defined Under Namespace

Modules: Algorithm, KeyLength

Instance Attribute Summary collapse

Class Method Summary collapse

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(active:, algorithm:, key_length:, rotated_at:, selector:) ⇒ Object

Parameters:



# File 'lib/telnyx/models/email_domain.rb', line 167

Instance Attribute Details

#activeBoolean

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


145
# File 'lib/telnyx/models/email_domain.rb', line 145

required :active, Telnyx::Internal::Type::Boolean

#algorithmSymbol, ...

Parameters:

  • value (Telnyx::Models::EmailDomain::Dkim::algorithm, nil)

Returns:



150
# File 'lib/telnyx/models/email_domain.rb', line 150

required :algorithm, enum: -> { Telnyx::EmailDomain::Dkim::Algorithm }, nil?: true

#key_lengthInteger, ...

Parameters:

  • value (Telnyx::Models::EmailDomain::Dkim::key_length, nil)

Returns:



155
# File 'lib/telnyx/models/email_domain.rb', line 155

required :key_length, enum: -> { Telnyx::EmailDomain::Dkim::KeyLength }, nil?: true

#rotated_atTime?

Parameters:

  • value (Time, nil)

Returns:

  • (Time, nil)


160
# File 'lib/telnyx/models/email_domain.rb', line 160

required :rotated_at, Time, nil?: true

#selectorString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


165
# File 'lib/telnyx/models/email_domain.rb', line 165

required :selector, String, nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/email_domain.rb', line 180

Instance Method Details

#to_hash{

Returns:

  • ({)


131
# File 'sig/telnyx/models/email_domain.rbs', line 131

def to_hash: -> {