Class: Telnyx::Models::Enterprises::Reputation::NumberAssociateResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Enterprises::Reputation::NumberAssociateResponse::Data
- Defined in:
- lib/telnyx/models/enterprises/reputation/number_associate_response.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Time?
When the number was associated.
-
#enterprise_id ⇒ String?
ID of the associated enterprise.
-
#id ⇒ String?
Unique identifier.
-
#phone_number ⇒ String?
Phone number in E.164 format.
-
#updated_at ⇒ Time?
When the record was last updated.
Instance Method Summary collapse
- #initialize(id: nil, created_at: nil, enterprise_id: nil, phone_number: nil, updated_at: nil) ⇒ 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(id: nil, created_at: nil, enterprise_id: nil, phone_number: nil, updated_at: nil) ⇒ Object
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 |
# File 'lib/telnyx/models/enterprises/reputation/number_associate_response.rb', line 24 class Data < Telnyx::Internal::Type::BaseModel # @!attribute id # Unique identifier # # @return [String, nil] optional :id, String # @!attribute created_at # When the number was associated # # @return [Time, nil] optional :created_at, Time # @!attribute enterprise_id # ID of the associated enterprise # # @return [String, nil] optional :enterprise_id, String # @!attribute phone_number # Phone number in E.164 format # # @return [String, nil] optional :phone_number, String # @!attribute updated_at # When the record was last updated # # @return [Time, nil] optional :updated_at, Time # @!method initialize(id: nil, created_at: nil, enterprise_id: nil, phone_number: nil, updated_at: nil) # @param id [String] Unique identifier # # @param created_at [Time] When the number was associated # # @param enterprise_id [String] ID of the associated enterprise # # @param phone_number [String] Phone number in E.164 format # # @param updated_at [Time] When the record was last updated end |
Instance Attribute Details
#created_at ⇒ Time?
When the number was associated
35 |
# File 'lib/telnyx/models/enterprises/reputation/number_associate_response.rb', line 35 optional :created_at, Time |
#enterprise_id ⇒ String?
ID of the associated enterprise
41 |
# File 'lib/telnyx/models/enterprises/reputation/number_associate_response.rb', line 41 optional :enterprise_id, String |
#id ⇒ String?
Unique identifier
29 |
# File 'lib/telnyx/models/enterprises/reputation/number_associate_response.rb', line 29 optional :id, String |
#phone_number ⇒ String?
Phone number in E.164 format
47 |
# File 'lib/telnyx/models/enterprises/reputation/number_associate_response.rb', line 47 optional :phone_number, String |
#updated_at ⇒ Time?
When the record was last updated
53 |
# File 'lib/telnyx/models/enterprises/reputation/number_associate_response.rb', line 53 optional :updated_at, Time |