Class: Telnyx::Models::PortingOrders::PhoneNumberConfigurationCreateResponse::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/porting_orders/phone_number_configuration_create_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, created_at: nil, porting_phone_number_id: nil, record_type: nil, updated_at: nil, user_bundle_id: nil) ⇒ Object

Parameters:

  • id (String) (defaults to: nil)

    Uniquely identifies this phone number configuration

  • created_at (Time) (defaults to: nil)

    ISO 8601 formatted date indicating when the resource was created.

  • porting_phone_number_id (String) (defaults to: nil)

    Identifies the associated porting phone number

  • record_type (String) (defaults to: nil)

    Identifies the type of the resource.

  • updated_at (Time) (defaults to: nil)

    ISO 8601 formatted date indicating when the resource was updated.

  • user_bundle_id (String) (defaults to: nil)

    Identifies the associated user bundle



17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'lib/telnyx/models/porting_orders/phone_number_configuration_create_response.rb', line 17

class Data < Telnyx::Internal::Type::BaseModel
  # @!attribute id
  #   Uniquely identifies this phone number configuration
  #
  #   @return [String, nil]
  optional :id, String

  # @!attribute created_at
  #   ISO 8601 formatted date indicating when the resource was created.
  #
  #   @return [Time, nil]
  optional :created_at, Time

  # @!attribute porting_phone_number_id
  #   Identifies the associated porting phone number
  #
  #   @return [String, nil]
  optional :porting_phone_number_id, String

  # @!attribute updated_at
  #   ISO 8601 formatted date indicating when the resource was updated.
  #
  #   @return [Time, nil]
  optional :updated_at, Time

  # @!attribute user_bundle_id
  #   Identifies the associated user bundle
  #
  #   @return [String, nil]
  optional :user_bundle_id, String

  response_only do
    # @!attribute record_type
    #   Identifies the type of the resource.
    #
    #   @return [String, nil]
    optional :record_type, String
  end

  # @!method initialize(id: nil, created_at: nil, porting_phone_number_id: nil, record_type: nil, updated_at: nil, user_bundle_id: nil)
  #   @param id [String] Uniquely identifies this phone number configuration
  #
  #   @param created_at [Time] ISO 8601 formatted date indicating when the resource was created.
  #
  #   @param porting_phone_number_id [String] Identifies the associated porting phone number
  #
  #   @param record_type [String] Identifies the type of the resource.
  #
  #   @param updated_at [Time] ISO 8601 formatted date indicating when the resource was updated.
  #
  #   @param user_bundle_id [String] Identifies the associated user bundle
end

Instance Attribute Details

#created_atTime?

ISO 8601 formatted date indicating when the resource was created.

Returns:

  • (Time, nil)


28
# File 'lib/telnyx/models/porting_orders/phone_number_configuration_create_response.rb', line 28

optional :created_at, Time

#idString?

Uniquely identifies this phone number configuration

Returns:

  • (String, nil)


22
# File 'lib/telnyx/models/porting_orders/phone_number_configuration_create_response.rb', line 22

optional :id, String

#porting_phone_number_idString?

Identifies the associated porting phone number

Returns:

  • (String, nil)


34
# File 'lib/telnyx/models/porting_orders/phone_number_configuration_create_response.rb', line 34

optional :porting_phone_number_id, String

#updated_atTime?

ISO 8601 formatted date indicating when the resource was updated.

Returns:

  • (Time, nil)


40
# File 'lib/telnyx/models/porting_orders/phone_number_configuration_create_response.rb', line 40

optional :updated_at, Time

#user_bundle_idString?

Identifies the associated user bundle

Returns:

  • (String, nil)


46
# File 'lib/telnyx/models/porting_orders/phone_number_configuration_create_response.rb', line 46

optional :user_bundle_id, String