Class: Telnyx::Models::DirAPI
Overview
Defined Under Namespace
Classes: CallReason
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Object
92
|
# File 'sig/telnyx/models/dir.rbs', line 92
def initialize: (
|
Instance Attribute Details
#authorizer_email ⇒ String?
10
|
# File 'lib/telnyx/models/dir.rb', line 10
optional :authorizer_email, String, nil?: true
|
#authorizer_name ⇒ String?
15
|
# File 'lib/telnyx/models/dir.rb', line 15
optional :authorizer_name, String, nil?: true
|
20
|
# File 'lib/telnyx/models/dir.rb', line 20
optional :call_reasons, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::DirAPI::CallReason] }
|
#certify_brand_is_accurate ⇒ Boolean?
25
|
# File 'lib/telnyx/models/dir.rb', line 25
optional :certify_brand_is_accurate, Telnyx::Internal::Type::Boolean
|
#certify_ip_ownership ⇒ Boolean?
30
|
# File 'lib/telnyx/models/dir.rb', line 30
optional :certify_ip_ownership, Telnyx::Internal::Type::Boolean
|
#certify_no_shaft_content ⇒ Boolean?
35
|
# File 'lib/telnyx/models/dir.rb', line 35
optional :certify_no_shaft_content, Telnyx::Internal::Type::Boolean
|
#created_at ⇒ Time?
Returns the value of attribute created_at.
76
77
78
|
# File 'sig/telnyx/models/dir.rbs', line 76
def created_at
@created_at
end
|
#display_name ⇒ String?
40
|
# File 'lib/telnyx/models/dir.rb', line 40
optional :display_name, String
|
45
|
# File 'lib/telnyx/models/dir.rb', line 45
optional :documents, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::Document] }, nil?: true
|
#enterprise_id ⇒ String?
50
|
# File 'lib/telnyx/models/dir.rb', line 50
optional :enterprise_id, String
|
#expiring_at ⇒ Time?
Returns the value of attribute expiring_at.
80
81
82
|
# File 'sig/telnyx/models/dir.rbs', line 80
def expiring_at
@expiring_at
end
|
#id ⇒ String?
Returns the value of attribute id.
72
73
74
|
# File 'sig/telnyx/models/dir.rbs', line 72
def id
@id
end
|
#logo_url ⇒ String?
55
|
# File 'lib/telnyx/models/dir.rb', line 55
optional :logo_url, String, nil?: true
|
#rejected_at ⇒ Time?
Returns the value of attribute rejected_at.
82
83
84
|
# File 'sig/telnyx/models/dir.rbs', line 82
def rejected_at
@rejected_at
end
|
Populated when status is rejected; cleared on /submit or successful
approval.
62
63
64
|
# File 'lib/telnyx/models/dir.rb', line 62
optional :rejection_reasons,
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::Dir::RejectionReason] },
nil?: true
|
#reselling ⇒ Boolean?
69
|
# File 'lib/telnyx/models/dir.rb', line 69
optional :reselling, Telnyx::Internal::Type::Boolean
|
#status ⇒ Symbol, ...
DIR lifecycle status.
draft - newly created; editable; not yet submitted.
submitted / in_review - Telnyx is reviewing.
verified - approved; phone numbers may be attached.
rejected - Telnyx rejected this submission; rejection_reasons is
populated; customer can edit and resubmit.
unsuccessful - system-side error during processing; customer can edit and
resubmit.
suspended - temporarily disabled (e.g. by an active infringement claim).
expired - verification expired; customer must resubmit.
infringement_claimed - a trademark/impersonation claim is open against this
DIR.
permanently_rejected - terminal; cannot be resubmitted.
88
|
# File 'lib/telnyx/models/dir.rb', line 88
optional :status, enum: -> { Telnyx::DirStatus }
|
#submitted_at ⇒ Time?
Returns the value of attribute submitted_at.
84
85
86
|
# File 'sig/telnyx/models/dir.rbs', line 84
def submitted_at
@submitted_at
end
|
#updated_at ⇒ Time?
Returns the value of attribute updated_at.
86
87
88
|
# File 'sig/telnyx/models/dir.rbs', line 86
def updated_at
@updated_at
end
|
#verified_at ⇒ Time?
Returns the value of attribute verified_at.
90
91
92
|
# File 'sig/telnyx/models/dir.rbs', line 90
def verified_at
@verified_at
end
|
Instance Method Details
#created_at= ⇒ Time
78
|
# File 'sig/telnyx/models/dir.rbs', line 78
def created_at=: (Time) -> Time
|
#id= ⇒ String
74
|
# File 'sig/telnyx/models/dir.rbs', line 74
def id=: (String) -> String
|
#to_hash ⇒ {
115
|
# File 'sig/telnyx/models/dir.rbs', line 115
def to_hash: -> {
|
#updated_at= ⇒ Time
88
|
# File 'sig/telnyx/models/dir.rbs', line 88
def updated_at=: (Time) -> Time
|