OneDriveConfig

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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product