Class: Zavudev::Models::PhoneNumberSearchAvailableParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Zavudev::Models::PhoneNumberSearchAvailableParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/zavudev/models/phone_number_search_available_params.rb,
sig/zavudev/models/phone_number_search_available_params.rbs
Overview
Instance Attribute Summary collapse
-
#capabilities ⇒ String?
Comma-separated capabilities the number must have:
sms,voice,mms. -
#contains ⇒ String?
Search for numbers containing this string.
-
#country_code ⇒ String
Two-letter ISO country code.
-
#limit ⇒ Integer?
Maximum number of results to return.
-
#type ⇒ Symbol, ...
Type of phone number to search for.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(country_code:, capabilities: nil, contains: nil, limit: nil, type: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see PhoneNumberSearchAvailableParams for more details.
- #to_hash ⇒ {
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(country_code:, capabilities: nil, contains: nil, limit: nil, type: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Zavudev::Models::PhoneNumberSearchAvailableParams for more details.
|
|
# File 'lib/zavudev/models/phone_number_search_available_params.rb', line 41
|
Instance Attribute Details
#capabilities ⇒ String?
Comma-separated capabilities the number must have: sms, voice, mms.
Numbers missing any of them are dropped.
21 |
# File 'lib/zavudev/models/phone_number_search_available_params.rb', line 21 optional :capabilities, String |
#contains ⇒ String?
Search for numbers containing this string.
27 |
# File 'lib/zavudev/models/phone_number_search_available_params.rb', line 27 optional :contains, String |
#country_code ⇒ String
Two-letter ISO country code.
14 |
# File 'lib/zavudev/models/phone_number_search_available_params.rb', line 14 required :country_code, String |
#limit ⇒ Integer?
Maximum number of results to return.
33 |
# File 'lib/zavudev/models/phone_number_search_available_params.rb', line 33 optional :limit, Integer |
#type ⇒ Symbol, ...
Type of phone number to search for.
39 |
# File 'lib/zavudev/models/phone_number_search_available_params.rb', line 39 optional :type, enum: -> { Zavudev::PhoneNumberType } |
Instance Method Details
#to_hash ⇒ {
46 |
# File 'sig/zavudev/models/phone_number_search_available_params.rbs', line 46
def to_hash: -> {
|