Class: Inttegro::UploadRequest::ValidationFailure
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::UploadRequest::ValidationFailure
- Defined in:
- lib/inttegro/upload_request/validation_failure.rb
Overview
Typed representation of the validation failure 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
-
#error ⇒ Inttegro::UploadRequest::ValidationFailureError
readonly
Value of the
errorfield in the Inttegro API payload. -
#upload_request ⇒ Inttegro::UploadRequest::Details
readonly
Public upload request metadata.
Instance Attribute Details
#error ⇒ Inttegro::UploadRequest::ValidationFailureError (readonly)
Value of the error field in the Inttegro API payload.
Required in the API payload. Wire name: error.
31 32 33 34 |
# File 'lib/inttegro/upload_request/validation_failure.rb', line 31 class ValidationFailure < T::Struct const :upload_request, Inttegro::UploadRequest::Details const :error, Inttegro::UploadRequest::ValidationFailureError 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/upload_request/validation_failure.rb', line 31 class ValidationFailure < T::Struct const :upload_request, Inttegro::UploadRequest::Details const :error, Inttegro::UploadRequest::ValidationFailureError end |