Class: Telnyx::Models::Enterprises::DirCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Enterprises::DirCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/telnyx/models/enterprises/dir_create_params.rb
Overview
Defined Under Namespace
Modules: CertifyBrandIsAccurate, CertifyIPOwnership, CertifyNoShaftContent Classes: Document
Instance Attribute Summary collapse
-
#authorizer_email ⇒ String
Contact email of the authorizer.
-
#authorizer_name ⇒ String
Name of the person at your enterprise who is authorizing this DIR registration.
-
#call_reasons ⇒ Array<String>?
1–10 reasons your business calls customers.
-
#certify_brand_is_accurate ⇒ Boolean, Telnyx::Models::Enterprises::DirCreateParams::CertifyBrandIsAccurate
Must be ‘true`.
-
#certify_ip_ownership ⇒ Boolean, Telnyx::Models::Enterprises::DirCreateParams::CertifyIPOwnership
Must be ‘true`.
-
#certify_no_shaft_content ⇒ Boolean, Telnyx::Models::Enterprises::DirCreateParams::CertifyNoShaftContent
Must be ‘true`.
-
#display_name ⇒ String
Name shown to call recipients.
-
#documents ⇒ Array<Telnyx::Models::Enterprises::DirCreateParams::Document>?
Supporting documents.
- #enterprise_id ⇒ String
-
#logo_url ⇒ String?
Publicly accessible HTTPS URL (max 128 chars) to a 256x256 BMP logo (max 1 MB).
-
#reselling ⇒ Boolean?
Set to true if your organization places calls on behalf of other enterprises (BPO/reseller).
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enterprise_id:, authorizer_email:, authorizer_name:, certify_brand_is_accurate:, certify_ip_ownership:, certify_no_shaft_content:, display_name:, call_reasons: nil, documents: nil, logo_url: nil, reselling: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see DirCreateParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(enterprise_id:, authorizer_email:, authorizer_name:, certify_brand_is_accurate:, certify_ip_ownership:, certify_no_shaft_content:, display_name:, call_reasons: nil, documents: nil, logo_url: nil, reselling: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::Enterprises::DirCreateParams for more details.
|
|
# File 'lib/telnyx/models/enterprises/dir_create_params.rb', line 84
|
Instance Attribute Details
#authorizer_email ⇒ String
Contact email of the authorizer. Telnyx may send verification or infringement-notice email here; use a monitored mailbox.
21 |
# File 'lib/telnyx/models/enterprises/dir_create_params.rb', line 21 required :authorizer_email, String |
#authorizer_name ⇒ String
Name of the person at your enterprise who is authorizing this DIR registration. Must be a real individual (used for audit and trademark-claim contests).
28 |
# File 'lib/telnyx/models/enterprises/dir_create_params.rb', line 28 required :authorizer_name, String |
#call_reasons ⇒ Array<String>?
1–10 reasons your business calls customers. Validate phrasing against ‘POST /call_reasons/validate`.
62 |
# File 'lib/telnyx/models/enterprises/dir_create_params.rb', line 62 optional :call_reasons, Telnyx::Internal::Type::ArrayOf[String] |
#certify_brand_is_accurate ⇒ Boolean, Telnyx::Models::Enterprises::DirCreateParams::CertifyBrandIsAccurate
Must be ‘true`.
34 35 |
# File 'lib/telnyx/models/enterprises/dir_create_params.rb', line 34 required :certify_brand_is_accurate, enum: -> { Telnyx::Enterprises::DirCreateParams::CertifyBrandIsAccurate } |
#certify_ip_ownership ⇒ Boolean, Telnyx::Models::Enterprises::DirCreateParams::CertifyIPOwnership
Must be ‘true`. Confirms ownership of any logos/trademarks shown.
41 |
# File 'lib/telnyx/models/enterprises/dir_create_params.rb', line 41 required :certify_ip_ownership, enum: -> { Telnyx::Enterprises::DirCreateParams::CertifyIPOwnership } |
#certify_no_shaft_content ⇒ Boolean, Telnyx::Models::Enterprises::DirCreateParams::CertifyNoShaftContent
Must be ‘true`. Confirms this DIR is not used for SHAFT content (Sex, Hate, Alcohol, Firearms, Tobacco) where prohibited.
48 49 |
# File 'lib/telnyx/models/enterprises/dir_create_params.rb', line 48 required :certify_no_shaft_content, enum: -> { Telnyx::Enterprises::DirCreateParams::CertifyNoShaftContent } |
#display_name ⇒ String
Name shown to call recipients. No emoji; not whitespace-only.
55 |
# File 'lib/telnyx/models/enterprises/dir_create_params.rb', line 55 required :display_name, String |
#documents ⇒ Array<Telnyx::Models::Enterprises::DirCreateParams::Document>?
Supporting documents. Each ‘document_id` may appear at most once on a DIR.
68 69 |
# File 'lib/telnyx/models/enterprises/dir_create_params.rb', line 68 optional :documents, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::Enterprises::DirCreateParams::Document] } |
#enterprise_id ⇒ String
14 |
# File 'lib/telnyx/models/enterprises/dir_create_params.rb', line 14 required :enterprise_id, String |
#logo_url ⇒ String?
Publicly accessible HTTPS URL (max 128 chars) to a 256x256 BMP logo (max 1 MB).
75 |
# File 'lib/telnyx/models/enterprises/dir_create_params.rb', line 75 optional :logo_url, String |
Class Method Details
.values ⇒ Array<Boolean>
|
|
# File 'lib/telnyx/models/enterprises/dir_create_params.rb', line 118
|