var filesList = new FilesList
{
Value = new List<StorageFile>
{
new StorageFile
{
Name = "file.ext",
ModifiedDate = DateTime.Today,
Size = 1024,
Path = "/path/to/file/on/storage"
}
}
};
FilesList filesList = Models.filesList()
.value(Arrays.<StorageFile>asList(
Models.storageFile()
.name("file.ext")
.modifiedDate(Calendar.getInstance().getTime())
.size(1024)
.path("/path/to/file/on/storage")
.build()))
.build();
files_list = models.FilesList(
value=[
models.StorageFile(
name='file.ext',
modified_date=datetime.today(),
size=1024,
path='/path/to/file/on/storage')])
files_list = FilesList.new(
value: [
StorageFile.new(
name: 'file.ext',
modified_date: DateTime.now,
size: 1024,
path: '/path/to/file/on/storage')])
let filesList = Models.filesList()
.value([
Models.storageFile()
.name('file.ext')
.modifiedDate(new Date())
.size(1024)
.path('/path/to/file/on/storage')
.build()])
.build();
$filesList = Models::filesList()
->value(array(
Models::storageFile()
->name('file.ext')
->modifiedDate(new DateTime())
->size(1024)
->path('/path/to/file/on/storage')
->build()))
->build();