Class: Telnyx::Models::PortingOrders::PortingAdditionalDocument
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::PortingOrders::PortingAdditionalDocument
- Defined in:
- lib/telnyx/models/porting_orders/porting_additional_document.rb,
sig/telnyx/models/porting_orders/porting_additional_document.rbs
Overview
Defined Under Namespace
Modules: DocumentType
Instance Attribute Summary collapse
-
#content_type ⇒ String?
The content type of the related document.
-
#created_at ⇒ Time?
ISO 8601 formatted date indicating when the resource was created.
-
#document_id ⇒ String?
Identifies the associated document.
-
#document_type ⇒ Symbol, ...
Identifies the type of additional document.
-
#filename ⇒ String?
The filename of the related document.
-
#id ⇒ String?
Uniquely identifies this additional document.
-
#porting_order_id ⇒ String?
Identifies the associated porting order.
-
#record_type ⇒ String?
readonly
Returns the value of attribute record_type.
-
#updated_at ⇒ Time?
ISO 8601 formatted date indicating when the resource was updated.
Instance Method Summary collapse
- #initialize(id: nil, content_type: nil, created_at: nil, document_id: nil, document_type: nil, filename: nil, porting_order_id: nil, record_type: nil, updated_at: nil) ⇒ Object constructor
- #record_type ⇒ String readonly
- #to_hash ⇒ {
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, content_type: nil, created_at: nil, document_id: nil, document_type: nil, filename: nil, porting_order_id: nil, record_type: nil, updated_at: nil) ⇒ Object
|
|
# File 'lib/telnyx/models/porting_orders/porting_additional_document.rb', line 64
|
Instance Attribute Details
#content_type ⇒ String?
The content type of the related document.
18 |
# File 'lib/telnyx/models/porting_orders/porting_additional_document.rb', line 18 optional :content_type, String |
#created_at ⇒ Time?
ISO 8601 formatted date indicating when the resource was created.
24 |
# File 'lib/telnyx/models/porting_orders/porting_additional_document.rb', line 24 optional :created_at, Time |
#document_id ⇒ String?
Identifies the associated document
30 |
# File 'lib/telnyx/models/porting_orders/porting_additional_document.rb', line 30 optional :document_id, String |
#document_type ⇒ Symbol, ...
Identifies the type of additional document
36 |
# File 'lib/telnyx/models/porting_orders/porting_additional_document.rb', line 36 optional :document_type, enum: -> { Telnyx::PortingOrders::PortingAdditionalDocument::DocumentType } |
#filename ⇒ String?
The filename of the related document.
42 |
# File 'lib/telnyx/models/porting_orders/porting_additional_document.rb', line 42 optional :filename, String |
#id ⇒ String?
Uniquely identifies this additional document
12 |
# File 'lib/telnyx/models/porting_orders/porting_additional_document.rb', line 12 optional :id, String |
#porting_order_id ⇒ String?
Identifies the associated porting order
48 |
# File 'lib/telnyx/models/porting_orders/porting_additional_document.rb', line 48 optional :porting_order_id, String |
#record_type ⇒ String? (readonly)
Returns the value of attribute record_type.
52 53 54 |
# File 'sig/telnyx/models/porting_orders/porting_additional_document.rbs', line 52 def record_type @record_type end |
#updated_at ⇒ Time?
ISO 8601 formatted date indicating when the resource was updated.
54 |
# File 'lib/telnyx/models/porting_orders/porting_additional_document.rb', line 54 optional :updated_at, Time |
Instance Method Details
#record_type= ⇒ String (readonly)
54 |
# File 'sig/telnyx/models/porting_orders/porting_additional_document.rbs', line 54
def record_type=: (String) -> String
|
#to_hash ⇒ {
68 |
# File 'sig/telnyx/models/porting_orders/porting_additional_document.rbs', line 68
def to_hash: -> {
|