Class: Lithic::Models::ClaimDocumentAcceptedWebhookEvent::UploadConstraints
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::ClaimDocumentAcceptedWebhookEvent::UploadConstraints
- Defined in:
- lib/lithic/models/claim_document_accepted_webhook_event.rb
Overview
Instance Attribute Summary collapse
-
#accepted_mime_types ⇒ Array<String>
MIME types accepted for upload.
-
#max_size_bytes ⇒ Integer?
Maximum file size in bytes.
Instance Method Summary collapse
-
#initialize(accepted_mime_types:, max_size_bytes:) ⇒ Object
constructor
Constraints that an uploaded file must satisfy.
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(accepted_mime_types:, max_size_bytes:) ⇒ Object
Constraints that an uploaded file must satisfy.
|
|
# File 'lib/lithic/models/claim_document_accepted_webhook_event.rb', line 166
|
Instance Attribute Details
#accepted_mime_types ⇒ Array<String>
MIME types accepted for upload
158 |
# File 'lib/lithic/models/claim_document_accepted_webhook_event.rb', line 158 required :accepted_mime_types, Lithic::Internal::Type::ArrayOf[String] |
#max_size_bytes ⇒ Integer?
Maximum file size in bytes. Null if there is no enforced size limit
164 |
# File 'lib/lithic/models/claim_document_accepted_webhook_event.rb', line 164 required :max_size_bytes, Integer, nil?: true |