# granite_storage.models

class granite_storage.models.StoredObjectRef(storage_key: 'str', backend: 'str', location: 'str', size: 'int', checksum: 'str', content_type: 'str | None' = None, original_filename: 'str | None' = None, created_at: 'str | None' = None, extra: 'dict[str, Any] | None' = None)

  Bases: `object`

  __init__(storage_key: str, backend: str, location: str, size: int, checksum: str, content_type: str | None = None, original_filename: str | None = None, created_at: str | None = None, extra: dict[str, Any] | None = None) → None
  backend: str
  checksum: str
  content_type: str | None = None
  created_at: str | None = None
  extra: dict[str, Any] | None = None
  classmethod from_dict(data: dict[str, Any]) → StoredObjectRef
  location: str
  original_filename: str | None = None
  size: int
  storage_key: str
  to_dict() → dict[str, Any]