Preparing search index...
The search index is not available
@qbraid-core
@qbraid-core
@qbraid-core/storage
FileStorageClient
Class FileStorageClient
Hierarchy (
View Summary
)
QbraidClient
FileStorageClient
Index
Constructors
constructor
Properties
session
Methods
download
File
get
User
running
In
Lab
upload
File
Constructors
constructor
new
FileStorageClient
(
session
?:
QbraidSession
)
:
FileStorageClient
Parameters
Optional
session
:
QbraidSession
Returns
FileStorageClient
Properties
Protected
session
session
:
QbraidSession
The QbraidSession instance used by this client.
Methods
download
File
downloadFile
(
namespace
:
string
,
objectPath
:
string
,
)
:
Promise
<
DownloadFileResponse
>
Parameters
namespace
:
string
objectPath
:
string
Returns
Promise
<
DownloadFileResponse
>
get
User
getUser
()
:
Promise
<
QbraidUser
>
Returns
Promise
<
QbraidUser
>
running
In
Lab
runningInLab
()
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
upload
File
uploadFile
(
filePath
:
string
,
namespace
:
string
,
objectPath
:
string
,
overwrite
?:
boolean
,
)
:
Promise
<
UploadFileResponse
>
Parameters
filePath
:
string
namespace
:
string
objectPath
:
string
overwrite
:
boolean
= false
Returns
Promise
<
UploadFileResponse
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
session
Methods
download
File
get
User
running
In
Lab
upload
File
@qbraid-core
Loading...
The QbraidSession instance used by this client.