Class: Telnyx::Models::TelephonyCredential
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::TelephonyCredential
- Defined in:
- lib/telnyx/models/telephony_credential.rb
Overview
Instance Attribute Summary collapse
-
#created_at ⇒ String?
ISO-8601 formatted date indicating when the resource was created.
-
#expired ⇒ Boolean?
Defaults to false.
-
#expires_at ⇒ String?
ISO-8601 formatted date indicating when the resource will expire.
-
#id ⇒ String?
Identifies the resource.
- #name ⇒ String?
-
#record_type ⇒ String?
Identifies the type of the resource.
-
#resource_id ⇒ String?
Identifies the resource this credential is associated with.
-
#sip_password ⇒ String?
The randomly generated SIP password for the credential.
-
#sip_username ⇒ String?
The randomly generated SIP username for the credential.
-
#updated_at ⇒ String?
ISO-8601 formatted date indicating when the resource was updated.
-
#user_id ⇒ String?
Identifies the user this credential is associated with.
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, expired: nil, expires_at: nil, name: nil, record_type: nil, resource_id: nil, sip_password: nil, sip_username: nil, updated_at: nil, user_id: nil) ⇒ Object
|
|
# File 'lib/telnyx/models/telephony_credential.rb', line 72
|
Instance Attribute Details
#created_at ⇒ String?
ISO-8601 formatted date indicating when the resource was created.
17 |
# File 'lib/telnyx/models/telephony_credential.rb', line 17 optional :created_at, String |
#expired ⇒ Boolean?
Defaults to false
23 |
# File 'lib/telnyx/models/telephony_credential.rb', line 23 optional :expired, Telnyx::Internal::Type::Boolean |
#expires_at ⇒ String?
ISO-8601 formatted date indicating when the resource will expire.
29 |
# File 'lib/telnyx/models/telephony_credential.rb', line 29 optional :expires_at, String |
#id ⇒ String?
Identifies the resource.
11 |
# File 'lib/telnyx/models/telephony_credential.rb', line 11 optional :id, String |
#name ⇒ String?
34 |
# File 'lib/telnyx/models/telephony_credential.rb', line 34 optional :name, String |
#record_type ⇒ String?
Identifies the type of the resource.
40 |
# File 'lib/telnyx/models/telephony_credential.rb', line 40 optional :record_type, String |
#resource_id ⇒ String?
Identifies the resource this credential is associated with.
46 |
# File 'lib/telnyx/models/telephony_credential.rb', line 46 optional :resource_id, String |
#sip_password ⇒ String?
The randomly generated SIP password for the credential.
52 |
# File 'lib/telnyx/models/telephony_credential.rb', line 52 optional :sip_password, String |
#sip_username ⇒ String?
The randomly generated SIP username for the credential.
58 |
# File 'lib/telnyx/models/telephony_credential.rb', line 58 optional :sip_username, String |
#updated_at ⇒ String?
ISO-8601 formatted date indicating when the resource was updated.
64 |
# File 'lib/telnyx/models/telephony_credential.rb', line 64 optional :updated_at, String |
#user_id ⇒ String?
Identifies the user this credential is associated with.
70 |
# File 'lib/telnyx/models/telephony_credential.rb', line 70 optional :user_id, String |