Spatio.Model.SpatioFile (spatio_sdk v0.0.2)

A user file. Files belong to one connected file provider account (accountId + provider); native storage uses Spatio's block-store, external providers (Google Drive, Dropbox, etc.) round-trip through Spatio. Schema name is SpatioFile (not File) to avoid the java.io.File collision that breaks the Kotlin SDK generator when the schema is named File.

Summary

Types

t()

@type t() :: %Spatio.Model.SpatioFile{
  accountId: String.t() | nil,
  createdAt: DateTime.t(),
  downloadUrl: Uri | nil,
  folderId: String.t() | nil,
  id: String.t(),
  metadata: %{optional(String.t()) => any()} | nil,
  mimeType: String.t(),
  name: String.t(),
  provider: String.t() | nil,
  size: integer(),
  storageType: String.t(),
  updatedAt: DateTime.t()
}

Functions

decode(value)