Class: Telnyx::Models::PortingOrders::AdditionalDocumentListResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/porting_orders/additional_document_list_response.rb

Overview

Defined Under Namespace

Modules: DocumentType

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, 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

Parameters:

  • id (String) (defaults to: nil)

    Uniquely identifies this additional document

  • content_type (String) (defaults to: nil)

    The content type of the related document.

  • created_at (Time) (defaults to: nil)

    ISO 8601 formatted date indicating when the resource was created.

  • document_id (String) (defaults to: nil)

    Identifies the associated document

  • document_type (Symbol, Telnyx::Models::PortingOrders::AdditionalDocumentListResponse::DocumentType) (defaults to: nil)

    Identifies the type of additional document

  • filename (String) (defaults to: nil)

    The filename of the related document.

  • porting_order_id (String) (defaults to: nil)

    Identifies the associated porting order

  • 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.



# File 'lib/telnyx/models/porting_orders/additional_document_list_response.rb', line 65

Instance Attribute Details

#content_typeString?

The content type of the related document.

Returns:

  • (String, nil)


18
# File 'lib/telnyx/models/porting_orders/additional_document_list_response.rb', line 18

optional :content_type, String

#created_atTime?

ISO 8601 formatted date indicating when the resource was created.

Returns:

  • (Time, nil)


24
# File 'lib/telnyx/models/porting_orders/additional_document_list_response.rb', line 24

optional :created_at, Time

#document_idString?

Identifies the associated document

Returns:

  • (String, nil)


30
# File 'lib/telnyx/models/porting_orders/additional_document_list_response.rb', line 30

optional :document_id, String

#document_typeSymbol, ...

Identifies the type of additional document



36
37
# File 'lib/telnyx/models/porting_orders/additional_document_list_response.rb', line 36

optional :document_type,
enum: -> { Telnyx::Models::PortingOrders::AdditionalDocumentListResponse::DocumentType }

#filenameString?

The filename of the related document.

Returns:

  • (String, nil)


43
# File 'lib/telnyx/models/porting_orders/additional_document_list_response.rb', line 43

optional :filename, String

#idString?

Uniquely identifies this additional document

Returns:

  • (String, nil)


12
# File 'lib/telnyx/models/porting_orders/additional_document_list_response.rb', line 12

optional :id, String

#porting_order_idString?

Identifies the associated porting order

Returns:

  • (String, nil)


49
# File 'lib/telnyx/models/porting_orders/additional_document_list_response.rb', line 49

optional :porting_order_id, String

#updated_atTime?

ISO 8601 formatted date indicating when the resource was updated.

Returns:

  • (Time, nil)


55
# File 'lib/telnyx/models/porting_orders/additional_document_list_response.rb', line 55

optional :updated_at, Time