Class: Inttegro::Shared::UploadFulfillment
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Shared::UploadFulfillment
- Defined in:
- lib/inttegro/shared/upload_fulfillment.rb
Overview
Typed representation of the upload fulfillment object in the Inttegro API.
This generated model is immutable. Construct it with .new, or decode a string-keyed API
payload with .from_hash. #serialize produces a string-keyed hash using the original wire
field names and serialized enum values.
Instance Attribute Summary collapse
-
#file ⇒ Inttegro::File::UploadReceipt
readonly
Value of the
filefield in the Inttegro API payload. -
#upload_request ⇒ Inttegro::UploadRequest::Details
readonly
Public upload request metadata.
Instance Attribute Details
#file ⇒ Inttegro::File::UploadReceipt (readonly)
Value of the file field in the Inttegro API payload.
Required in the API payload. Wire name: file.
31 32 33 34 |
# File 'lib/inttegro/shared/upload_fulfillment.rb', line 31 class UploadFulfillment < T::Struct const :upload_request, Inttegro::UploadRequest::Details const :file, Inttegro::File::UploadReceipt end |
#upload_request ⇒ Inttegro::UploadRequest::Details (readonly)
Public upload request metadata. Token hashes are not exposed.
Required in the API payload. Wire name: upload_request.
31 32 33 34 |
# File 'lib/inttegro/shared/upload_fulfillment.rb', line 31 class UploadFulfillment < T::Struct const :upload_request, Inttegro::UploadRequest::Details const :file, Inttegro::File::UploadReceipt end |