AirLay backend

FileUploadBody
in package

Table of Contents

ALLOWED_SOURCES  = ['DataSetController', 'DataLoaderController', 'GeofinderTask']
$dataSetId  : ObjectId
$dataSetLogId  : ObjectId
$files  : array<string|int, mixed>
$format  : string
$logId  : ObjectId
$source  : string
$updatePropertiesStrategy  : string
__construct()  : mixed
FileUploadBody constructor.
getDataSetId()  : ObjectId
getDataSetLogId()  : ObjectId
getFiles()  : array<string|int, string>
getFormat()  : string
getLogId()  : ObjectId
getSource()  : string
getUpdatePropertiesStrategy()  : string
setFormat()  : self
setSource()  : self

Constants

ALLOWED_SOURCES

protected mixed ALLOWED_SOURCES = ['DataSetController', 'DataLoaderController', 'GeofinderTask']

Properties

$updatePropertiesStrategy

private string $updatePropertiesStrategy

Methods

__construct()

FileUploadBody constructor.

public __construct(array<string|int, string> $files, string $format, string $updatePropertiesStrategy, ObjectId $dataSetId, ObjectId $logId, ObjectId $dataSetLogId[, string $source = self::ALLOWED_SOURCES[0] ]) : mixed
Parameters
$files : array<string|int, string>
$format : string
$updatePropertiesStrategy : string
$dataSetId : ObjectId
$logId : ObjectId
$dataSetLogId : ObjectId
$source : string = self::ALLOWED_SOURCES[0]
Return values
mixed

getDataSetId()

public getDataSetId() : ObjectId
Return values
ObjectId

getDataSetLogId()

public getDataSetLogId() : ObjectId
Return values
ObjectId

getFiles()

public getFiles() : array<string|int, string>
Return values
array<string|int, string>

getFormat()

public getFormat() : string
Return values
string

getLogId()

public getLogId() : ObjectId
Return values
ObjectId

getSource()

public getSource() : string
Return values
string

getUpdatePropertiesStrategy()

public getUpdatePropertiesStrategy() : string
Return values
string

setFormat()

public setFormat(string $format) : self
Parameters
$format : string
Return values
self

setSource()

public setSource(string $source) : self
Parameters
$source : string
Return values
self

Search results