Class: Telnyx::Models::PhoneNumbers::ActionVerifyOwnershipResponse::Data::Found
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::PhoneNumbers::ActionVerifyOwnershipResponse::Data::Found
- Defined in:
- lib/telnyx/models/phone_numbers/action_verify_ownership_response.rb,
sig/telnyx/models/phone_numbers/action_verify_ownership_response.rbs
Instance Attribute Summary collapse
-
#id ⇒ String?
readonly
Returns the value of attribute id.
-
#number_val_e164 ⇒ String?
The phone number in E.164 format.
Instance Method Summary collapse
- #id ⇒ String readonly
-
#initialize(id: nil, number_val_e164: nil) ⇒ Found
constructor
A new instance of Found.
- #to_hash ⇒ { id: String, :number_val_e164 => String }
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(id: nil, number_val_e164: nil) ⇒ Found
Returns a new instance of Found.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/telnyx/models/phone_numbers/action_verify_ownership_response.rb', line 46 class Found < Telnyx::Internal::Type::BaseModel # @!attribute number_val_e164 # The phone number in E.164 format # # @return [String, nil] optional :number_val_e164, String response_only do # @!attribute id # Identifies the resource. # # @return [String, nil] optional :id, String end # @!method initialize(id: nil, number_val_e164: nil) # @param id [String] Identifies the resource. # # @param number_val_e164 [String] The phone number in E.164 format end |
Instance Attribute Details
#id ⇒ String? (readonly)
Returns the value of attribute id.
65 66 67 |
# File 'sig/telnyx/models/phone_numbers/action_verify_ownership_response.rbs', line 65 def id @id end |
#number_val_e164 ⇒ String?
The phone number in E.164 format
51 |
# File 'lib/telnyx/models/phone_numbers/action_verify_ownership_response.rb', line 51 optional :number_val_e164, String |
Instance Method Details
#id= ⇒ String (readonly)
67 |
# File 'sig/telnyx/models/phone_numbers/action_verify_ownership_response.rbs', line 67
def id=: (String) -> String
|
#to_hash ⇒ { id: String, :number_val_e164 => String }
71 |
# File 'sig/telnyx/models/phone_numbers/action_verify_ownership_response.rbs', line 71
def to_hash: -> { id: String, :number_val_e164 => String }
|