Files

class Files[F[_]](val requestSession: RequestSession[F])(implicit evidence$1: Applicative[F]) extends WithRequestSession[F] with PartitionedReadable[File, F] with RetrieveByIdsWithIgnoreUnknownIds[File, F] with RetrieveByExternalIdsWithIgnoreUnknownIds[File, F] with Create[File, FileCreate, F] with DeleteByIds[F, Long] with DeleteByExternalIds[F] with PartitionedFilter[File, FilesFilter, F] with Search[File, FilesQuery, F] with UpdateById[File, FileUpdate, F] with UpdateByExternalId[File, FileUpdate, F]
Companion
object

Value members

Concrete methods

override def createItems(items: Items[FileCreate]): F[Seq[File]]
Definition Classes
override def createOne(item: FileCreate): F[File]
Definition Classes
override def deleteByExternalIds(externalIds: Seq[String]): F[Unit]
Definition Classes
override def deleteByIds(ids: Seq[Long]): F[Unit]
Definition Classes
def download(item: FileDownload, out: OutputStream): F[Unit]
override def retrieveByExternalIds(externalIds: Seq[String], ignoreUnknownIds: Boolean): F[Seq[File]]
override def retrieveByIds(ids: Seq[Long], ignoreUnknownIds: Boolean): F[Seq[File]]
override def search(searchQuery: FilesQuery): F[Seq[File]]
Definition Classes
override def updateByExternalId(items: Map[String, FileUpdate]): F[Seq[File]]
Definition Classes
override def updateById(items: Map[Long, FileUpdate]): F[Seq[File]]
Definition Classes
def upload(file: File): F[File]
def uploadWithName(input: InputStream, name: String): F[File]

Inherited methods

def create(items: Seq[FileCreate]): F[Seq[File]]
Inherited from
Create
def createFromRead(items: Seq[File]): F[Seq[File]]
Inherited from
Create
def createOneFromRead(item: File): F[File]
Inherited from
CreateOne
def deleteByExternalId(externalId: String): F[Unit]
Inherited from
DeleteByExternalIds
def deleteById(id: Long): F[Unit]
Inherited from
DeleteByIds
def filter(filter: FilesFilter, limit: Option[Int]): Stream[F, File]
Inherited from
Filter
def filterConcurrently(filter: FilesFilter, numPartitions: Int, limitPerPartition: Option[Int])(implicit F: Concurrent[F]): Stream[F, File]
Inherited from
PartitionedFilterF
def filterPartitions(filter: FilesFilter, numPartitions: Int, limitPerPartition: Option[Int]): Seq[Stream[F, File]]
Inherited from
PartitionedFilter
override def filterPartitionsF(filter: FilesFilter, numPartitions: Int, limitPerPartition: Option[Int])(implicit F: Applicative[F]): F[Seq[Stream[F, File]]]
Definition Classes
Inherited from
PartitionedFilter
def list(limit: Option[Int]): Stream[F, File]
Inherited from
Readable
def listConcurrently(numPartitions: Int, limitPerPartition: Option[Int])(implicit c: Concurrent[F]): Stream[F, File]
Inherited from
PartitionedReadable
def listPartitions(numPartitions: Int, limitPerPartition: Option[Int]): Seq[Stream[F, File]]
Inherited from
PartitionedReadable
def read(limit: Option[Int]): F[ItemsWithCursor[File]]
Inherited from
Readable
@SuppressWarnings(scala.Array.apply[java.lang.String]("org.wartremover.warts.TraversableOps")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
def retrieveByExternalId(externalId: String): F[File]
Inherited from
RetrieveByExternalIds
@SuppressWarnings(scala.Array.apply[java.lang.String]("org.wartremover.warts.TraversableOps")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
def retrieveById(id: Long): F[File]
Inherited from
RetrieveByIds
override def retrieveByIds(ids: Seq[Long]): F[Seq[File]]
def updateFromRead(items: Seq[File]): F[Seq[File]]
Inherited from
UpdateById
def updateOneByExternalId(id: String, item: FileUpdate): F[File]
Inherited from
UpdateByExternalId
def updateOneById(id: Long, item: FileUpdate): F[File]
Inherited from
UpdateById
def updateOneFromRead(item: File): F[File]
Inherited from
UpdateById

Concrete fields

override val baseUrl: Uri

Implicits

Implicits

implicit val errorOrFileDecoder: Decoder[Either[CdpApiError, File]]