Class: Telnyx::Models::Dir::EmailVerificationStatusWrapped::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Dir::EmailVerificationStatusWrapped::Data
- Defined in:
- lib/telnyx/models/dir/email_verification_status_wrapped.rb,
sig/telnyx/models/dir/email_verification_status_wrapped.rbs
Overview
Defined Under Namespace
Modules: RecordType, Status
Instance Attribute Summary collapse
-
#email_verified ⇒ Boolean
Whether the DIR's authorizer email has been confirmed.
-
#expires_at ⇒ Time?
Returns the value of attribute expires_at.
-
#record_type ⇒ Telnyx::Models::Dir::EmailVerificationStatusWrapped::Data::record_type
Returns the value of attribute record_type.
-
#sends_remaining_today ⇒ Integer?
Returns the value of attribute sends_remaining_today.
-
#status ⇒ Symbol, Telnyx::Models::Dir::EmailVerificationStatusWrapped::Data::Status
sentafter a code is emailed;verifiedafter a successful confirm;unverifiedwhen no verification is in progress.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(email_verified:, record_type:, status:, expires_at: nil, sends_remaining_today: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Data 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(email_verified:, record_type:, status:, expires_at: nil, sends_remaining_today: nil) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::Dir::EmailVerificationStatusWrapped::Data for more details.
Verification state for a DIR's authorizer email.
|
|
# File 'lib/telnyx/models/dir/email_verification_status_wrapped.rb', line 54
|
Instance Attribute Details
#email_verified ⇒ Boolean
Whether the DIR's authorizer email has been confirmed.
23 |
# File 'lib/telnyx/models/dir/email_verification_status_wrapped.rb', line 23 required :email_verified, Telnyx::Internal::Type::Boolean |
#expires_at ⇒ Time?
Returns the value of attribute expires_at.
34 35 36 |
# File 'sig/telnyx/models/dir/email_verification_status_wrapped.rbs', line 34 def expires_at @expires_at end |
#record_type ⇒ Telnyx::Models::Dir::EmailVerificationStatusWrapped::Data::record_type
Returns the value of attribute record_type.
32 33 34 |
# File 'sig/telnyx/models/dir/email_verification_status_wrapped.rbs', line 32 def record_type @record_type end |
#sends_remaining_today ⇒ Integer?
Returns the value of attribute sends_remaining_today.
36 37 38 |
# File 'sig/telnyx/models/dir/email_verification_status_wrapped.rbs', line 36 def sends_remaining_today @sends_remaining_today end |
#status ⇒ Symbol, Telnyx::Models::Dir::EmailVerificationStatusWrapped::Data::Status
sent after a code is emailed; verified after a successful confirm;
unverified when no verification is in progress.
30 |
# File 'lib/telnyx/models/dir/email_verification_status_wrapped.rb', line 30 required :status, enum: -> { Telnyx::Dir::EmailVerificationStatusWrapped::Data::Status } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/dir/email_verification_status_wrapped.rb', line 78
|
Instance Method Details
#to_hash ⇒ {
46 |
# File 'sig/telnyx/models/dir/email_verification_status_wrapped.rbs', line 46
def to_hash: -> {
|