Class: Telnyx::Models::Dir::EmailVerificationStatusWrapped::Data

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

Overview

See Also:

  • Telnyx::Models::Dir::EmailVerificationStatusWrapped#data

Defined Under Namespace

Modules: RecordType, Status

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(email_verified:, record_type:, status:) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::Dir::EmailVerificationStatusWrapped::Data for more details.

Verification state for a DIR's authorizer email.

Parameters:



# File 'lib/telnyx/models/dir/email_verification_status_wrapped.rb', line 40

Instance Attribute Details

#email_verifiedBoolean

Whether the DIR's authorizer email has been confirmed.

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


23
# File 'lib/telnyx/models/dir/email_verification_status_wrapped.rb', line 23

required :email_verified, Telnyx::Internal::Type::Boolean

#record_typeTelnyx::Models::Dir::EmailVerificationStatusWrapped::Data::record_type

Returns the value of attribute record_type.

Returns:

  • (Telnyx::Models::Dir::EmailVerificationStatusWrapped::Data::record_type)


30
31
32
# File 'sig/telnyx/models/dir/email_verification_status_wrapped.rbs', line 30

def record_type
  @record_type
end

#statusSymbol, Telnyx::Models::Dir::EmailVerificationStatusWrapped::Data::Status

sent after a code is emailed; verified after a successful confirm; unverified when no verification is in progress.

Parameters:

  • value (Telnyx::Models::Dir::EmailVerificationStatusWrapped::Data::status)

Returns:



30
# File 'lib/telnyx/models/dir/email_verification_status_wrapped.rb', line 30

required :status, enum: -> { Telnyx::Dir::EmailVerificationStatusWrapped::Data::Status }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/dir/email_verification_status_wrapped.rb', line 60

Instance Method Details

#to_hash{

Returns:

  • ({)


38
# File 'sig/telnyx/models/dir/email_verification_status_wrapped.rbs', line 38

def to_hash: -> {