Class: Telnyx::Models::Portouts::SupportingDocumentListResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Portouts::SupportingDocumentListResponse::Data
- Defined in:
- lib/telnyx/models/portouts/supporting_document_list_response.rb
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#created_at ⇒ String
Supporting document creation timestamp in ISO 8601 format.
-
#document_id ⇒ String
Identifies the associated document.
- #id ⇒ String
-
#updated_at ⇒ String
Supporting document last changed timestamp in ISO 8601 format.
Instance Method Summary collapse
- #initialize(id:, created_at:, document_id:, portout_id:, record_type:, type:, updated_at:) ⇒ 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:, created_at:, document_id:, portout_id:, record_type:, type:, updated_at:) ⇒ Object
17 18 19 20 21 22 23 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 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/telnyx/models/portouts/supporting_document_list_response.rb', line 17 class Data < Telnyx::Internal::Type::BaseModel # @!attribute id # # @return [String] required :id, String # @!attribute created_at # Supporting document creation timestamp in ISO 8601 format # # @return [String] required :created_at, String # @!attribute document_id # Identifies the associated document # # @return [String] required :document_id, String # @!attribute updated_at # Supporting document last changed timestamp in ISO 8601 format # # @return [String] required :updated_at, String response_only do # @!attribute portout_id # Identifies the associated port request # # @return [String] required :portout_id, String # @!attribute record_type # Identifies the type of the resource. # # @return [String] required :record_type, String # @!attribute type # Identifies the type of the document # # @return [Symbol, Telnyx::Models::Portouts::SupportingDocumentListResponse::Data::Type] required :type, enum: -> { Telnyx::Models::Portouts::SupportingDocumentListResponse::Data::Type } end # @!method initialize(id:, created_at:, document_id:, portout_id:, record_type:, type:, updated_at:) # @param id [String] # # @param created_at [String] Supporting document creation timestamp in ISO 8601 format # # @param document_id [String] Identifies the associated document # # @param portout_id [String] Identifies the associated port request # # @param record_type [String] Identifies the type of the resource. # # @param type [Symbol, Telnyx::Models::Portouts::SupportingDocumentListResponse::Data::Type] Identifies the type of the document # # @param updated_at [String] Supporting document last changed timestamp in ISO 8601 format # Identifies the type of the document # # @see Telnyx::Models::Portouts::SupportingDocumentListResponse::Data#type module Type extend Telnyx::Internal::Type::Enum LOA = :loa INVOICE = :invoice # @!method self.values # @return [Array<Symbol>] end end |
Instance Attribute Details
#created_at ⇒ String
Supporting document creation timestamp in ISO 8601 format
27 |
# File 'lib/telnyx/models/portouts/supporting_document_list_response.rb', line 27 required :created_at, String |
#document_id ⇒ String
Identifies the associated document
33 |
# File 'lib/telnyx/models/portouts/supporting_document_list_response.rb', line 33 required :document_id, String |
#id ⇒ String
21 |
# File 'lib/telnyx/models/portouts/supporting_document_list_response.rb', line 21 required :id, String |
#updated_at ⇒ String
Supporting document last changed timestamp in ISO 8601 format
39 |
# File 'lib/telnyx/models/portouts/supporting_document_list_response.rb', line 39 required :updated_at, String |