Class: Telnyx::Models::MessagingHostedNumberOrderValidateCodesParams::VerificationCode
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::MessagingHostedNumberOrderValidateCodesParams::VerificationCode
- Defined in:
- lib/telnyx/models/messaging_hosted_number_order_validate_codes_params.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
- #initialize(code:, phone_number:) ⇒ Object constructor
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:, phone_number:) ⇒ Object
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/telnyx/models/messaging_hosted_number_order_validate_codes_params.rb', line 26 class VerificationCode < Telnyx::Internal::Type::BaseModel # @!attribute code # # @return [String] required :code, String # @!attribute phone_number # # @return [String] required :phone_number, String # @!method initialize(code:, phone_number:) # @param code [String] # @param phone_number [String] end |
Instance Attribute Details
#code ⇒ String
30 |
# File 'lib/telnyx/models/messaging_hosted_number_order_validate_codes_params.rb', line 30 required :code, String |
#phone_number ⇒ String
35 |
# File 'lib/telnyx/models/messaging_hosted_number_order_validate_codes_params.rb', line 35 required :phone_number, String |