Class: Inttegro::File
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::File
- Defined in:
- lib/inttegro/file/file.rb,
lib/inttegro/file/base.rb,
lib/inttegro/file/page.rb,
lib/inttegro/file/actor.rb,
lib/inttegro/file/media.rb,
lib/inttegro/file/party.rb,
lib/inttegro/file/source.rb,
lib/inttegro/file/status.rb,
lib/inttegro/file/delivery.rb,
lib/inttegro/file/resource.rb,
lib/inttegro/file/response.rb,
lib/inttegro/file/api_error.rb,
lib/inttegro/file/actor_input.rb,
lib/inttegro/file/disposition.rb,
lib/inttegro/file/scan_status.rb,
lib/inttegro/file/source_type.rb,
lib/inttegro/file/latest_error.rb,
lib/inttegro/file/page_request.rb,
lib/inttegro/file/page_response.rb,
lib/inttegro/file/create_request.rb,
lib/inttegro/file/delete_request.rb,
lib/inttegro/file/lookup_request.rb,
lib/inttegro/file/public_storage.rb,
lib/inttegro/file/upload_receipt.rb,
lib/inttegro/file/contents_request.rb,
lib/inttegro/file/storage_encoding.rb,
lib/inttegro/file/contents_delivery_mode.rb,
lib/inttegro/file/service_ready_response.rb,
lib/inttegro/file/service_health_response.rb
Overview
Public file metadata. Storage provider details, object keys, and idempotency internals are not exposed.
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.
Defined Under Namespace
Classes: Actor, ActorInput, ApiError, ContentsDeliveryMode, ContentsRequest, CreateRequest, DeleteRequest, Delivery, Disposition, LatestError, LookupRequest, Media, Page, PageRequest, PageResponse, Party, PublicStorage, Resource, Response, ScanStatus, ServiceHealthResponse, ServiceReadyResponse, Source, SourceType, Status, StorageEncoding, UploadReceipt
Instance Attribute Summary collapse
-
#available_at ⇒ Time?
readonly
Value of the
available_atfield in the Inttegro API payload. -
#checksum_sha256 ⇒ String
readonly
Value of the
checksum_sha256field in the Inttegro API payload. -
#content_type ⇒ String
readonly
Value of the
content_typefield in the Inttegro API payload. -
#created_at ⇒ Time
readonly
Value of the
created_atfield in the Inttegro API payload. -
#created_by ⇒ Inttegro::File::Actor
readonly
Value of the
created_byfield in the Inttegro API payload. -
#custom_data ⇒ Inttegro::CustomData?
readonly
Merchant-defined string values attached to a resource.
-
#delivery ⇒ Inttegro::File::Delivery?
readonly
Purpose-authorized public delivery metadata for browser-rendered assets.
-
#expires_at ⇒ Time?
readonly
Value of the
expires_atfield in the Inttegro API payload. -
#filename ⇒ String?
readonly
Value of the
filenamefield in the Inttegro API payload. -
#id ⇒ String
readonly
Value of the
idfield in the Inttegro API payload. -
#latest_error ⇒ Inttegro::File::LatestError?
readonly
Value of the
latest_errorfield in the Inttegro API payload. -
#media ⇒ Inttegro::File::Media?
readonly
Value of the
mediafield in the Inttegro API payload. -
#metadata ⇒ Hash{String => String}?
readonly
System-managed string metadata attached to a file resource.
-
#name ⇒ String?
readonly
Value of the
namefield in the Inttegro API payload. -
#purpose ⇒ String
readonly
Value of the
purposefield in the Inttegro API payload. -
#scan_status ⇒ Inttegro::File::ScanStatus
readonly
Value of the
scan_statusfield in the Inttegro API payload. -
#size ⇒ Integer
readonly
Original byte size.
-
#source ⇒ Inttegro::File::Source
readonly
Value of the
sourcefield in the Inttegro API payload. -
#status ⇒ Inttegro::File::Status
readonly
Value of the
statusfield in the Inttegro API payload. -
#storage ⇒ Inttegro::File::PublicStorage
readonly
Value of the
storagefield in the Inttegro API payload. -
#updated_at ⇒ Time
readonly
Value of the
updated_atfield in the Inttegro API payload.
Instance Attribute Details
#available_at ⇒ Time? (readonly)
Value of the available_at field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: available_at.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/inttegro/file/file.rb', line 154 class File const :id, String const :purpose, String const :status, Inttegro::File::Status const :scan_status, Inttegro::File::ScanStatus const :name, T.nilable(String), default: nil const :filename, T.nilable(String), default: nil const :content_type, String const :size, Integer const :checksum_sha256, String const :created_by, Inttegro::File::Actor const :source, Inttegro::File::Source const :media, T.nilable(Inttegro::File::Media), default: nil const :storage, Inttegro::File::PublicStorage const :delivery, T.nilable(Inttegro::File::Delivery), default: nil const :latest_error, T.nilable(Inttegro::File::LatestError), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :metadata, T.nilable(T::Hash[String, String]), default: nil const :created_at, Time const :updated_at, Time const :available_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil end |
#checksum_sha256 ⇒ String (readonly)
Value of the checksum_sha256 field in the Inttegro API payload.
Required in the API payload. Wire name: checksum_sha256.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/inttegro/file/file.rb', line 154 class File const :id, String const :purpose, String const :status, Inttegro::File::Status const :scan_status, Inttegro::File::ScanStatus const :name, T.nilable(String), default: nil const :filename, T.nilable(String), default: nil const :content_type, String const :size, Integer const :checksum_sha256, String const :created_by, Inttegro::File::Actor const :source, Inttegro::File::Source const :media, T.nilable(Inttegro::File::Media), default: nil const :storage, Inttegro::File::PublicStorage const :delivery, T.nilable(Inttegro::File::Delivery), default: nil const :latest_error, T.nilable(Inttegro::File::LatestError), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :metadata, T.nilable(T::Hash[String, String]), default: nil const :created_at, Time const :updated_at, Time const :available_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil end |
#content_type ⇒ String (readonly)
Value of the content_type field in the Inttegro API payload.
Required in the API payload. Wire name: content_type.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/inttegro/file/file.rb', line 154 class File const :id, String const :purpose, String const :status, Inttegro::File::Status const :scan_status, Inttegro::File::ScanStatus const :name, T.nilable(String), default: nil const :filename, T.nilable(String), default: nil const :content_type, String const :size, Integer const :checksum_sha256, String const :created_by, Inttegro::File::Actor const :source, Inttegro::File::Source const :media, T.nilable(Inttegro::File::Media), default: nil const :storage, Inttegro::File::PublicStorage const :delivery, T.nilable(Inttegro::File::Delivery), default: nil const :latest_error, T.nilable(Inttegro::File::LatestError), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :metadata, T.nilable(T::Hash[String, String]), default: nil const :created_at, Time const :updated_at, Time const :available_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil end |
#created_at ⇒ Time (readonly)
Value of the created_at field in the Inttegro API payload.
Required in the API payload. Wire name: created_at.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/inttegro/file/file.rb', line 154 class File const :id, String const :purpose, String const :status, Inttegro::File::Status const :scan_status, Inttegro::File::ScanStatus const :name, T.nilable(String), default: nil const :filename, T.nilable(String), default: nil const :content_type, String const :size, Integer const :checksum_sha256, String const :created_by, Inttegro::File::Actor const :source, Inttegro::File::Source const :media, T.nilable(Inttegro::File::Media), default: nil const :storage, Inttegro::File::PublicStorage const :delivery, T.nilable(Inttegro::File::Delivery), default: nil const :latest_error, T.nilable(Inttegro::File::LatestError), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :metadata, T.nilable(T::Hash[String, String]), default: nil const :created_at, Time const :updated_at, Time const :available_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil end |
#created_by ⇒ Inttegro::File::Actor (readonly)
Value of the created_by field in the Inttegro API payload.
Required in the API payload. Wire name: created_by.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/inttegro/file/file.rb', line 154 class File const :id, String const :purpose, String const :status, Inttegro::File::Status const :scan_status, Inttegro::File::ScanStatus const :name, T.nilable(String), default: nil const :filename, T.nilable(String), default: nil const :content_type, String const :size, Integer const :checksum_sha256, String const :created_by, Inttegro::File::Actor const :source, Inttegro::File::Source const :media, T.nilable(Inttegro::File::Media), default: nil const :storage, Inttegro::File::PublicStorage const :delivery, T.nilable(Inttegro::File::Delivery), default: nil const :latest_error, T.nilable(Inttegro::File::LatestError), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :metadata, T.nilable(T::Hash[String, String]), default: nil const :created_at, Time const :updated_at, Time const :available_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil end |
#custom_data ⇒ Inttegro::CustomData? (readonly)
Merchant-defined string values attached to a resource. SDKs expose this as a semantic collection rather than a raw map.
Optional in the API payload; omitted values default to nil. Wire name: custom_data.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/inttegro/file/file.rb', line 154 class File const :id, String const :purpose, String const :status, Inttegro::File::Status const :scan_status, Inttegro::File::ScanStatus const :name, T.nilable(String), default: nil const :filename, T.nilable(String), default: nil const :content_type, String const :size, Integer const :checksum_sha256, String const :created_by, Inttegro::File::Actor const :source, Inttegro::File::Source const :media, T.nilable(Inttegro::File::Media), default: nil const :storage, Inttegro::File::PublicStorage const :delivery, T.nilable(Inttegro::File::Delivery), default: nil const :latest_error, T.nilable(Inttegro::File::LatestError), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :metadata, T.nilable(T::Hash[String, String]), default: nil const :created_at, Time const :updated_at, Time const :available_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil end |
#delivery ⇒ Inttegro::File::Delivery? (readonly)
Purpose-authorized public delivery metadata for browser-rendered assets. Callers should store file IDs as canonical references and treat these URLs as render URLs.
Optional in the API payload; omitted values default to nil. Wire name: delivery.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/inttegro/file/file.rb', line 154 class File const :id, String const :purpose, String const :status, Inttegro::File::Status const :scan_status, Inttegro::File::ScanStatus const :name, T.nilable(String), default: nil const :filename, T.nilable(String), default: nil const :content_type, String const :size, Integer const :checksum_sha256, String const :created_by, Inttegro::File::Actor const :source, Inttegro::File::Source const :media, T.nilable(Inttegro::File::Media), default: nil const :storage, Inttegro::File::PublicStorage const :delivery, T.nilable(Inttegro::File::Delivery), default: nil const :latest_error, T.nilable(Inttegro::File::LatestError), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :metadata, T.nilable(T::Hash[String, String]), default: nil const :created_at, Time const :updated_at, Time const :available_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil end |
#expires_at ⇒ Time? (readonly)
Value of the expires_at field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: expires_at.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/inttegro/file/file.rb', line 154 class File const :id, String const :purpose, String const :status, Inttegro::File::Status const :scan_status, Inttegro::File::ScanStatus const :name, T.nilable(String), default: nil const :filename, T.nilable(String), default: nil const :content_type, String const :size, Integer const :checksum_sha256, String const :created_by, Inttegro::File::Actor const :source, Inttegro::File::Source const :media, T.nilable(Inttegro::File::Media), default: nil const :storage, Inttegro::File::PublicStorage const :delivery, T.nilable(Inttegro::File::Delivery), default: nil const :latest_error, T.nilable(Inttegro::File::LatestError), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :metadata, T.nilable(T::Hash[String, String]), default: nil const :created_at, Time const :updated_at, Time const :available_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil end |
#filename ⇒ String? (readonly)
Value of the filename field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: filename.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/inttegro/file/file.rb', line 154 class File const :id, String const :purpose, String const :status, Inttegro::File::Status const :scan_status, Inttegro::File::ScanStatus const :name, T.nilable(String), default: nil const :filename, T.nilable(String), default: nil const :content_type, String const :size, Integer const :checksum_sha256, String const :created_by, Inttegro::File::Actor const :source, Inttegro::File::Source const :media, T.nilable(Inttegro::File::Media), default: nil const :storage, Inttegro::File::PublicStorage const :delivery, T.nilable(Inttegro::File::Delivery), default: nil const :latest_error, T.nilable(Inttegro::File::LatestError), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :metadata, T.nilable(T::Hash[String, String]), default: nil const :created_at, Time const :updated_at, Time const :available_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil end |
#id ⇒ String (readonly)
Value of the id field in the Inttegro API payload.
Required in the API payload. Wire name: id.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/inttegro/file/file.rb', line 154 class File const :id, String const :purpose, String const :status, Inttegro::File::Status const :scan_status, Inttegro::File::ScanStatus const :name, T.nilable(String), default: nil const :filename, T.nilable(String), default: nil const :content_type, String const :size, Integer const :checksum_sha256, String const :created_by, Inttegro::File::Actor const :source, Inttegro::File::Source const :media, T.nilable(Inttegro::File::Media), default: nil const :storage, Inttegro::File::PublicStorage const :delivery, T.nilable(Inttegro::File::Delivery), default: nil const :latest_error, T.nilable(Inttegro::File::LatestError), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :metadata, T.nilable(T::Hash[String, String]), default: nil const :created_at, Time const :updated_at, Time const :available_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil end |
#latest_error ⇒ Inttegro::File::LatestError? (readonly)
Value of the latest_error field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: latest_error.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/inttegro/file/file.rb', line 154 class File const :id, String const :purpose, String const :status, Inttegro::File::Status const :scan_status, Inttegro::File::ScanStatus const :name, T.nilable(String), default: nil const :filename, T.nilable(String), default: nil const :content_type, String const :size, Integer const :checksum_sha256, String const :created_by, Inttegro::File::Actor const :source, Inttegro::File::Source const :media, T.nilable(Inttegro::File::Media), default: nil const :storage, Inttegro::File::PublicStorage const :delivery, T.nilable(Inttegro::File::Delivery), default: nil const :latest_error, T.nilable(Inttegro::File::LatestError), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :metadata, T.nilable(T::Hash[String, String]), default: nil const :created_at, Time const :updated_at, Time const :available_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil end |
#media ⇒ Inttegro::File::Media? (readonly)
Value of the media field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: media.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/inttegro/file/file.rb', line 154 class File const :id, String const :purpose, String const :status, Inttegro::File::Status const :scan_status, Inttegro::File::ScanStatus const :name, T.nilable(String), default: nil const :filename, T.nilable(String), default: nil const :content_type, String const :size, Integer const :checksum_sha256, String const :created_by, Inttegro::File::Actor const :source, Inttegro::File::Source const :media, T.nilable(Inttegro::File::Media), default: nil const :storage, Inttegro::File::PublicStorage const :delivery, T.nilable(Inttegro::File::Delivery), default: nil const :latest_error, T.nilable(Inttegro::File::LatestError), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :metadata, T.nilable(T::Hash[String, String]), default: nil const :created_at, Time const :updated_at, Time const :available_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil end |
#metadata ⇒ Hash{String => String}? (readonly)
System-managed string metadata attached to a file resource.
Optional in the API payload; omitted values default to nil. Wire name: metadata.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/inttegro/file/file.rb', line 154 class File const :id, String const :purpose, String const :status, Inttegro::File::Status const :scan_status, Inttegro::File::ScanStatus const :name, T.nilable(String), default: nil const :filename, T.nilable(String), default: nil const :content_type, String const :size, Integer const :checksum_sha256, String const :created_by, Inttegro::File::Actor const :source, Inttegro::File::Source const :media, T.nilable(Inttegro::File::Media), default: nil const :storage, Inttegro::File::PublicStorage const :delivery, T.nilable(Inttegro::File::Delivery), default: nil const :latest_error, T.nilable(Inttegro::File::LatestError), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :metadata, T.nilable(T::Hash[String, String]), default: nil const :created_at, Time const :updated_at, Time const :available_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil end |
#name ⇒ String? (readonly)
Value of the name field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: name.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/inttegro/file/file.rb', line 154 class File const :id, String const :purpose, String const :status, Inttegro::File::Status const :scan_status, Inttegro::File::ScanStatus const :name, T.nilable(String), default: nil const :filename, T.nilable(String), default: nil const :content_type, String const :size, Integer const :checksum_sha256, String const :created_by, Inttegro::File::Actor const :source, Inttegro::File::Source const :media, T.nilable(Inttegro::File::Media), default: nil const :storage, Inttegro::File::PublicStorage const :delivery, T.nilable(Inttegro::File::Delivery), default: nil const :latest_error, T.nilable(Inttegro::File::LatestError), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :metadata, T.nilable(T::Hash[String, String]), default: nil const :created_at, Time const :updated_at, Time const :available_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil end |
#purpose ⇒ String (readonly)
Value of the purpose field in the Inttegro API payload.
Required in the API payload. Wire name: purpose.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/inttegro/file/file.rb', line 154 class File const :id, String const :purpose, String const :status, Inttegro::File::Status const :scan_status, Inttegro::File::ScanStatus const :name, T.nilable(String), default: nil const :filename, T.nilable(String), default: nil const :content_type, String const :size, Integer const :checksum_sha256, String const :created_by, Inttegro::File::Actor const :source, Inttegro::File::Source const :media, T.nilable(Inttegro::File::Media), default: nil const :storage, Inttegro::File::PublicStorage const :delivery, T.nilable(Inttegro::File::Delivery), default: nil const :latest_error, T.nilable(Inttegro::File::LatestError), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :metadata, T.nilable(T::Hash[String, String]), default: nil const :created_at, Time const :updated_at, Time const :available_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil end |
#scan_status ⇒ Inttegro::File::ScanStatus (readonly)
Value of the scan_status field in the Inttegro API payload.
Required in the API payload. Wire name: scan_status.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/inttegro/file/file.rb', line 154 class File const :id, String const :purpose, String const :status, Inttegro::File::Status const :scan_status, Inttegro::File::ScanStatus const :name, T.nilable(String), default: nil const :filename, T.nilable(String), default: nil const :content_type, String const :size, Integer const :checksum_sha256, String const :created_by, Inttegro::File::Actor const :source, Inttegro::File::Source const :media, T.nilable(Inttegro::File::Media), default: nil const :storage, Inttegro::File::PublicStorage const :delivery, T.nilable(Inttegro::File::Delivery), default: nil const :latest_error, T.nilable(Inttegro::File::LatestError), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :metadata, T.nilable(T::Hash[String, String]), default: nil const :created_at, Time const :updated_at, Time const :available_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil end |
#size ⇒ Integer (readonly)
Original byte size.
Required in the API payload. Wire name: size.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/inttegro/file/file.rb', line 154 class File const :id, String const :purpose, String const :status, Inttegro::File::Status const :scan_status, Inttegro::File::ScanStatus const :name, T.nilable(String), default: nil const :filename, T.nilable(String), default: nil const :content_type, String const :size, Integer const :checksum_sha256, String const :created_by, Inttegro::File::Actor const :source, Inttegro::File::Source const :media, T.nilable(Inttegro::File::Media), default: nil const :storage, Inttegro::File::PublicStorage const :delivery, T.nilable(Inttegro::File::Delivery), default: nil const :latest_error, T.nilable(Inttegro::File::LatestError), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :metadata, T.nilable(T::Hash[String, String]), default: nil const :created_at, Time const :updated_at, Time const :available_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil end |
#source ⇒ Inttegro::File::Source (readonly)
Value of the source field in the Inttegro API payload.
Required in the API payload. Wire name: source.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/inttegro/file/file.rb', line 154 class File const :id, String const :purpose, String const :status, Inttegro::File::Status const :scan_status, Inttegro::File::ScanStatus const :name, T.nilable(String), default: nil const :filename, T.nilable(String), default: nil const :content_type, String const :size, Integer const :checksum_sha256, String const :created_by, Inttegro::File::Actor const :source, Inttegro::File::Source const :media, T.nilable(Inttegro::File::Media), default: nil const :storage, Inttegro::File::PublicStorage const :delivery, T.nilable(Inttegro::File::Delivery), default: nil const :latest_error, T.nilable(Inttegro::File::LatestError), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :metadata, T.nilable(T::Hash[String, String]), default: nil const :created_at, Time const :updated_at, Time const :available_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil end |
#status ⇒ Inttegro::File::Status (readonly)
Value of the status field in the Inttegro API payload.
Required in the API payload. Wire name: status.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/inttegro/file/file.rb', line 154 class File const :id, String const :purpose, String const :status, Inttegro::File::Status const :scan_status, Inttegro::File::ScanStatus const :name, T.nilable(String), default: nil const :filename, T.nilable(String), default: nil const :content_type, String const :size, Integer const :checksum_sha256, String const :created_by, Inttegro::File::Actor const :source, Inttegro::File::Source const :media, T.nilable(Inttegro::File::Media), default: nil const :storage, Inttegro::File::PublicStorage const :delivery, T.nilable(Inttegro::File::Delivery), default: nil const :latest_error, T.nilable(Inttegro::File::LatestError), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :metadata, T.nilable(T::Hash[String, String]), default: nil const :created_at, Time const :updated_at, Time const :available_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil end |
#storage ⇒ Inttegro::File::PublicStorage (readonly)
Value of the storage field in the Inttegro API payload.
Required in the API payload. Wire name: storage.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/inttegro/file/file.rb', line 154 class File const :id, String const :purpose, String const :status, Inttegro::File::Status const :scan_status, Inttegro::File::ScanStatus const :name, T.nilable(String), default: nil const :filename, T.nilable(String), default: nil const :content_type, String const :size, Integer const :checksum_sha256, String const :created_by, Inttegro::File::Actor const :source, Inttegro::File::Source const :media, T.nilable(Inttegro::File::Media), default: nil const :storage, Inttegro::File::PublicStorage const :delivery, T.nilable(Inttegro::File::Delivery), default: nil const :latest_error, T.nilable(Inttegro::File::LatestError), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :metadata, T.nilable(T::Hash[String, String]), default: nil const :created_at, Time const :updated_at, Time const :available_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil end |
#updated_at ⇒ Time (readonly)
Value of the updated_at field in the Inttegro API payload.
Required in the API payload. Wire name: updated_at.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/inttegro/file/file.rb', line 154 class File const :id, String const :purpose, String const :status, Inttegro::File::Status const :scan_status, Inttegro::File::ScanStatus const :name, T.nilable(String), default: nil const :filename, T.nilable(String), default: nil const :content_type, String const :size, Integer const :checksum_sha256, String const :created_by, Inttegro::File::Actor const :source, Inttegro::File::Source const :media, T.nilable(Inttegro::File::Media), default: nil const :storage, Inttegro::File::PublicStorage const :delivery, T.nilable(Inttegro::File::Delivery), default: nil const :latest_error, T.nilable(Inttegro::File::LatestError), default: nil const :custom_data, T.nilable(Inttegro::CustomData), default: nil const :metadata, T.nilable(T::Hash[String, String]), default: nil const :created_at, Time const :updated_at, Time const :available_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil end |