com.github.cloudfiles.onedrive.OneDriveConfig
See theOneDriveConfig companion object
case class OneDriveConfig(driveID: String, serverUri: String, optRootPath: Option[String], uploadChunkSize: Int, timeout: Timeout)
A configuration class for the OneDrive ''FileSystem'' implementation.
The properties defined here affect the communication with the OneDrive server. The URIs generated for OneDrive requests are constructed based on these properties. Some behavioral aspects are defined as well, such as timeouts for requests.
Value parameters
- driveID
-
the ID of the drive to access
- optRootPath
-
allows defining an alternative root path; if defined, this path is used as base when resolving relative paths and also as root path; otherwise, root is the drive's root folder
- serverUri
-
the URI of the OneDrive server; the base URI for OneDrive requests is generated from a concatenation of this URI and the ''driveID'' property
- timeout
-
the timeout for server requests
- uploadChunkSize
-
the size (in bytes) for splitting files in uploads
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article