Class: Telnyx::Models::PhoneNumbers::ActionVerifyOwnershipResponse::Data::Found

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/phone_numbers/action_verify_ownership_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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) ⇒ Object

Parameters:

  • id (String) (defaults to: nil)

    Identifies the resource.

  • number_val_e164 (String) (defaults to: nil)

    The phone number in E.164 format



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

#number_val_e164String?

The phone number in E.164 format

Returns:

  • (String, nil)


51
# File 'lib/telnyx/models/phone_numbers/action_verify_ownership_response.rb', line 51

optional :number_val_e164, String