var fileVersions = new FileVersions
{
Value = new List<FileVersion>
{
new FileVersion
{
VersionId = "d5afd857-8797-4ca0-b806-a03fdfc3831f",
IsLatest = true,
Name = "file.ext",
ModifiedDate = DateTime.Today,
Size = 4096,
Path = "/storage/path/to"
}
}
};
FileVersions fileVersions = Models.fileVersions()
.value(Arrays.<FileVersion>asList(
Models.fileVersion()
.versionId("d5afd857-8797-4ca0-b806-a03fdfc3831f")
.isLatest(true)
.name("file.ext")
.modifiedDate(Calendar.getInstance().getTime())
.size(4096)
.path("/storage/path/to")
.build()))
.build();
file_versions = models.FileVersions(
value=[
models.FileVersion(
version_id='d5afd857-8797-4ca0-b806-a03fdfc3831f',
is_latest=True,
name='file.ext',
modified_date=datetime.today(),
size=4096,
path='/storage/path/to')])
file_versions = FileVersions.new(
value: [
FileVersion.new(
version_id: 'd5afd857-8797-4ca0-b806-a03fdfc3831f',
is_latest: true,
name: 'file.ext',
modified_date: DateTime.now,
size: 4096,
path: '/storage/path/to')])
let fileVersions = Models.fileVersions()
.value([
Models.fileVersion()
.versionId('d5afd857-8797-4ca0-b806-a03fdfc3831f')
.isLatest(true)
.name('file.ext')
.modifiedDate(new Date())
.size(4096)
.path('/storage/path/to')
.build()])
.build();
$fileVersions = Models::fileVersions()
->value(array(
Models::fileVersion()
->versionId('d5afd857-8797-4ca0-b806-a03fdfc3831f')
->isLatest(true)
->name('file.ext')
->modifiedDate(new DateTime())
->size(4096)
->path('/storage/path/to')
->build()))
->build();