Class: Telnyx::Models::PhoneNumbers::PhoneNumbersJob
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::PhoneNumbers::PhoneNumbersJob
- Defined in:
- lib/telnyx/models/phone_numbers/phone_numbers_job.rb,
sig/telnyx/models/phone_numbers/phone_numbers_job.rbs
Overview
Defined Under Namespace
Modules: Status, Type Classes: FailedOperation, PendingOperation, SuccessfulOperation
Instance Attribute Summary collapse
-
#created_at ⇒ String?
readonly
Returns the value of attribute created_at.
-
#etc ⇒ Time?
readonly
Returns the value of attribute etc.
-
#failed_operations ⇒ ::Array[Telnyx::PhoneNumbers::PhoneNumbersJob::FailedOperation]?
readonly
Returns the value of attribute failed_operations.
-
#id ⇒ String?
readonly
Returns the value of attribute id.
-
#pending_operations ⇒ ::Array[Telnyx::PhoneNumbers::PhoneNumbersJob::PendingOperation]?
readonly
Returns the value of attribute pending_operations.
- #phone_numbers ⇒ Array<Telnyx::Models::PhoneNumbersJobPhoneNumber>?
-
#record_type ⇒ String?
readonly
Returns the value of attribute record_type.
-
#status ⇒ Telnyx::Models::PhoneNumbers::PhoneNumbersJob::status?
readonly
Returns the value of attribute status.
-
#successful_operations ⇒ ::Array[Telnyx::PhoneNumbers::PhoneNumbersJob::SuccessfulOperation]?
readonly
Returns the value of attribute successful_operations.
-
#type ⇒ Telnyx::Models::PhoneNumbers::PhoneNumbersJob::type_?
readonly
Returns the value of attribute type.
-
#updated_at ⇒ String?
readonly
Returns the value of attribute updated_at.
Class Method Summary collapse
Instance Method Summary collapse
- #created_at ⇒ String readonly
- #etc ⇒ Time readonly
- #failed_operations ⇒ Object readonly
- #id ⇒ String readonly
-
#initialize(id: nil, phone_number: nil) ⇒ Object
constructor
The phone numbers successfully updated.
- #pending_operations ⇒ Object readonly
- #record_type ⇒ String readonly
- #status ⇒ Object readonly
- #successful_operations ⇒ Object readonly
- #to_hash ⇒ {
- #type ⇒ Object readonly
- #updated_at ⇒ String readonly
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, phone_number: nil) ⇒ Object
The phone numbers successfully updated.
|
|
# File 'lib/telnyx/models/phone_numbers/phone_numbers_job.rb', line 120
|
Instance Attribute Details
#created_at ⇒ String? (readonly)
Returns the value of attribute created_at.
32 33 34 |
# File 'sig/telnyx/models/phone_numbers/phone_numbers_job.rbs', line 32 def created_at @created_at end |
#etc ⇒ Time? (readonly)
Returns the value of attribute etc.
36 37 38 |
# File 'sig/telnyx/models/phone_numbers/phone_numbers_job.rbs', line 36 def etc @etc end |
#failed_operations ⇒ ::Array[Telnyx::PhoneNumbers::PhoneNumbersJob::FailedOperation]? (readonly)
Returns the value of attribute failed_operations.
40 41 42 |
# File 'sig/telnyx/models/phone_numbers/phone_numbers_job.rbs', line 40 def failed_operations @failed_operations end |
#id ⇒ String? (readonly)
Returns the value of attribute id.
28 29 30 |
# File 'sig/telnyx/models/phone_numbers/phone_numbers_job.rbs', line 28 def id @id end |
#pending_operations ⇒ ::Array[Telnyx::PhoneNumbers::PhoneNumbersJob::PendingOperation]? (readonly)
Returns the value of attribute pending_operations.
46 47 48 |
# File 'sig/telnyx/models/phone_numbers/phone_numbers_job.rbs', line 46 def pending_operations @pending_operations end |
#phone_numbers ⇒ Array<Telnyx::Models::PhoneNumbersJobPhoneNumber>?
11 |
# File 'lib/telnyx/models/phone_numbers/phone_numbers_job.rb', line 11 optional :phone_numbers, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::PhoneNumbersJobPhoneNumber] } |
#record_type ⇒ String? (readonly)
Returns the value of attribute record_type.
52 53 54 |
# File 'sig/telnyx/models/phone_numbers/phone_numbers_job.rbs', line 52 def record_type @record_type end |
#status ⇒ Telnyx::Models::PhoneNumbers::PhoneNumbersJob::status? (readonly)
Returns the value of attribute status.
56 57 58 |
# File 'sig/telnyx/models/phone_numbers/phone_numbers_job.rbs', line 56 def status @status end |
#successful_operations ⇒ ::Array[Telnyx::PhoneNumbers::PhoneNumbersJob::SuccessfulOperation]? (readonly)
Returns the value of attribute successful_operations.
62 63 64 |
# File 'sig/telnyx/models/phone_numbers/phone_numbers_job.rbs', line 62 def successful_operations @successful_operations end |
#type ⇒ Telnyx::Models::PhoneNumbers::PhoneNumbersJob::type_? (readonly)
Returns the value of attribute type.
68 69 70 |
# File 'sig/telnyx/models/phone_numbers/phone_numbers_job.rbs', line 68 def type @type end |
#updated_at ⇒ String? (readonly)
Returns the value of attribute updated_at.
74 75 76 |
# File 'sig/telnyx/models/phone_numbers/phone_numbers_job.rbs', line 74 def updated_at @updated_at end |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/phone_numbers/phone_numbers_job.rb', line 163
|
Instance Method Details
#created_at= ⇒ String (readonly)
34 |
# File 'sig/telnyx/models/phone_numbers/phone_numbers_job.rbs', line 34
def created_at=: (String) -> String
|
#etc= ⇒ Time (readonly)
38 |
# File 'sig/telnyx/models/phone_numbers/phone_numbers_job.rbs', line 38
def etc=: (Time) -> Time
|
#failed_operations= ⇒ Object (readonly)
42 |
# File 'sig/telnyx/models/phone_numbers/phone_numbers_job.rbs', line 42
def failed_operations=: (
|
#id= ⇒ String (readonly)
30 |
# File 'sig/telnyx/models/phone_numbers/phone_numbers_job.rbs', line 30
def id=: (String) -> String
|
#pending_operations= ⇒ Object (readonly)
48 |
# File 'sig/telnyx/models/phone_numbers/phone_numbers_job.rbs', line 48
def pending_operations=: (
|
#record_type= ⇒ String (readonly)
54 |
# File 'sig/telnyx/models/phone_numbers/phone_numbers_job.rbs', line 54
def record_type=: (String) -> String
|
#status= ⇒ Object (readonly)
58 |
# File 'sig/telnyx/models/phone_numbers/phone_numbers_job.rbs', line 58
def status=: (
|
#successful_operations= ⇒ Object (readonly)
64 |
# File 'sig/telnyx/models/phone_numbers/phone_numbers_job.rbs', line 64
def successful_operations=: (
|
#to_hash ⇒ {
92 |
# File 'sig/telnyx/models/phone_numbers/phone_numbers_job.rbs', line 92
def to_hash: -> {
|
#type= ⇒ Object (readonly)
70 |
# File 'sig/telnyx/models/phone_numbers/phone_numbers_job.rbs', line 70
def type=: (
|
#updated_at= ⇒ String (readonly)
76 |
# File 'sig/telnyx/models/phone_numbers/phone_numbers_job.rbs', line 76
def updated_at=: (String) -> String
|