Class: Telnyx::Models::Enterprises::DirCreateResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Enterprises::DirCreateResponse::Data
- Defined in:
- lib/telnyx/models/enterprises/dir_create_response.rb
Overview
Defined Under Namespace
Modules: Status Classes: CallReason, Document, RejectionReason
Instance Attribute Summary collapse
- #authorizer_email ⇒ String?
- #authorizer_name ⇒ String?
- #call_reasons ⇒ Array<Telnyx::Models::Enterprises::DirCreateResponse::Data::CallReason>?
- #certify_brand_is_accurate ⇒ Boolean?
- #certify_ip_ownership ⇒ Boolean?
- #certify_no_shaft_content ⇒ Boolean?
- #display_name ⇒ String?
- #documents ⇒ Array<Telnyx::Models::Enterprises::DirCreateResponse::Data::Document>?
- #enterprise_id ⇒ String?
- #logo_url ⇒ String?
-
#rejection_reasons ⇒ Array<Telnyx::Models::Enterprises::DirCreateResponse::Data::RejectionReason>?
Populated when ‘status` is `rejected`; cleared on `/submit` or successful approval.
- #reselling ⇒ Boolean?
-
#status ⇒ Symbol, ...
DIR lifecycle status.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(code: nil, detail: nil, message: nil, title: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see RejectionReason for more details.
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(code: nil, detail: nil, message: nil, title: nil) ⇒ Object
Some parameter documentations has been truncated, see RejectionReason for more details.
|
|
# File 'lib/telnyx/models/enterprises/dir_create_response.rb', line 198
|
Instance Attribute Details
#authorizer_email ⇒ String?
21 |
# File 'lib/telnyx/models/enterprises/dir_create_response.rb', line 21 optional :authorizer_email, String, nil?: true |
#authorizer_name ⇒ String?
26 |
# File 'lib/telnyx/models/enterprises/dir_create_response.rb', line 26 optional :authorizer_name, String, nil?: true |
#call_reasons ⇒ Array<Telnyx::Models::Enterprises::DirCreateResponse::Data::CallReason>?
31 32 |
# File 'lib/telnyx/models/enterprises/dir_create_response.rb', line 31 optional :call_reasons, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::Models::Enterprises::DirCreateResponse::Data::CallReason] } |
#certify_brand_is_accurate ⇒ Boolean?
37 |
# File 'lib/telnyx/models/enterprises/dir_create_response.rb', line 37 optional :certify_brand_is_accurate, Telnyx::Internal::Type::Boolean |
#certify_ip_ownership ⇒ Boolean?
42 |
# File 'lib/telnyx/models/enterprises/dir_create_response.rb', line 42 optional :certify_ip_ownership, Telnyx::Internal::Type::Boolean |
#certify_no_shaft_content ⇒ Boolean?
47 |
# File 'lib/telnyx/models/enterprises/dir_create_response.rb', line 47 optional :certify_no_shaft_content, Telnyx::Internal::Type::Boolean |
#display_name ⇒ String?
52 |
# File 'lib/telnyx/models/enterprises/dir_create_response.rb', line 52 optional :display_name, String |
#documents ⇒ Array<Telnyx::Models::Enterprises::DirCreateResponse::Data::Document>?
57 58 59 |
# File 'lib/telnyx/models/enterprises/dir_create_response.rb', line 57 optional :documents, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::Models::Enterprises::DirCreateResponse::Data::Document] }, nil?: true |
#enterprise_id ⇒ String?
64 |
# File 'lib/telnyx/models/enterprises/dir_create_response.rb', line 64 optional :enterprise_id, String |
#logo_url ⇒ String?
69 |
# File 'lib/telnyx/models/enterprises/dir_create_response.rb', line 69 optional :logo_url, String, nil?: true |
#rejection_reasons ⇒ Array<Telnyx::Models::Enterprises::DirCreateResponse::Data::RejectionReason>?
Populated when ‘status` is `rejected`; cleared on `/submit` or successful approval.
76 77 78 |
# File 'lib/telnyx/models/enterprises/dir_create_response.rb', line 76 optional :rejection_reasons, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::Models::Enterprises::DirCreateResponse::Data::RejectionReason] }, nil?: true |
#reselling ⇒ Boolean?
83 |
# File 'lib/telnyx/models/enterprises/dir_create_response.rb', line 83 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.
102 |
# File 'lib/telnyx/models/enterprises/dir_create_response.rb', line 102 optional :status, enum: -> { Telnyx::Models::Enterprises::DirCreateResponse::Data::Status } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/enterprises/dir_create_response.rb', line 258
|