Class: Telnyx::Models::EmailDomain::Reputation

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#reputation

Instance Attribute 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(band: nil, breakdown: nil, computed_at: nil) ⇒ Object

Sender reputation for this domain (present on all domain responses).

Parameters:

  • band (String) (defaults to: nil)

    Reputation band, e.g. good/warn/poor.

  • breakdown (Hash{Symbol=>Object}) (defaults to: nil)
  • computed_at (Time, nil) (defaults to: nil)


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

Instance Attribute Details

#bandString?

Reputation band, e.g. good/warn/poor.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :band, String

#breakdownHash{Symbol=>Object}?

Parameters:

  • (::Hash[Symbol, top])

Returns:

  • (Hash{Symbol=>Object}, nil)


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

optional :breakdown, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]

#computed_atTime?

Parameters:

  • value (Time, nil)

Returns:

  • (Time, nil)


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

optional :computed_at, Time, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {