Class: SignwellSDK::Models::V1::DocumentFile
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- SignwellSDK::Models::V1::DocumentFile
- Defined in:
- lib/signwell_sdk/models/v1/document_file.rb
Instance Attribute Summary collapse
-
#file_base64 ⇒ String?
A RFC 4648 base64 string of the file to be uploaded.
-
#file_url ⇒ String?
Publicly available URL of the file to be uploaded.
-
#name ⇒ String
Name of the file that will be uploaded.
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(name:, file_base64: nil, file_url: nil) ⇒ Object
|
|
# File 'lib/signwell_sdk/models/v1/document_file.rb', line 25
|
Instance Attribute Details
#file_base64 ⇒ String?
A RFC 4648 base64 string of the file to be uploaded.
17 |
# File 'lib/signwell_sdk/models/v1/document_file.rb', line 17 optional :file_base64, String |
#file_url ⇒ String?
Publicly available URL of the file to be uploaded.
23 |
# File 'lib/signwell_sdk/models/v1/document_file.rb', line 23 optional :file_url, String |
#name ⇒ String
Name of the file that will be uploaded.
11 |
# File 'lib/signwell_sdk/models/v1/document_file.rb', line 11 required :name, String |