Class Overview
File objects represent that metadata about individual files in Box, with attributes describing who created the file,
when it was last modified, and other information. The actual content of the file itself is accessible through
download operation
Summary
| Fields |
|
private
String |
contentCreatedAt |
When the content of this file was created
|
|
private
String |
contentModifiedAt |
When the content of this file was last modified
|
|
private
String |
createdAt |
When this file was created on Box’s servers
|
|
private
User |
createdBy |
The user who first created file
|
|
private
String |
description |
The description of this file
|
|
private
String |
itemStatus |
Whether this item is deleted or not
|
|
private
String |
modifiedAt |
When this file was last updated on the Box servers
|
|
private
User |
modifiedBy |
The user who last updated this file
|
|
private
User |
ownedBy |
The user who owns this file
|
|
private
Item |
parent |
The folder this file is contained in
|
|
private
Entries |
paths |
The path of folders to this item, starting at the root
|
|
private
String |
purgedAt |
When this file will be permanently deleted
|
|
private
SharedLink |
sharedLink |
|
|
private
Long |
size |
Size of this file in bytes
|
|
private
String |
trashedAt |
When this file was last moved to the trash
|
| Public Constructors |
|
|
File()
|
|
[Expand]
Inherited Methods |
From class
org.mule.modules.box.model.Item
|
From class
org.mule.modules.box.model.Entity
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Constants
private
static
final
long
serialVersionUID
Constant Value:
6127755562219178478
(0x550a2937b47f89ee)
Fields
private
String
contentCreatedAt
When the content of this file was created
private
String
contentModifiedAt
When the content of this file was last modified
private
String
createdAt
When this file was created on Box’s servers
private
User
createdBy
The user who first created file
private
String
description
The description of this file
private
String
itemStatus
Whether this item is deleted or not
private
String
modifiedAt
When this file was last updated on the Box servers
private
User
modifiedBy
The user who last updated this file
private
User
ownedBy
The user who owns this file
private
Item
parent
The folder this file is contained in
The path of folders to this item, starting at the root
private
String
purgedAt
When this file will be permanently deleted
private
Long
size
Size of this file in bytes
private
String
trashedAt
When this file was last moved to the trash
Public Constructors
Public Methods
public
String
getContentCreatedAt
()
public
String
getContentModifiedAt
()
public
String
getCreatedAt
()
public
User
getCreatedBy
()
public
String
getDescription
()
public
String
getItemStatus
()
public
String
getModifiedAt
()
public
User
getModifiedBy
()
public
User
getOwnedBy
()
public
String
getPurgedAt
()
public
String
getTrashedAt
()
public
void
setContentCreatedAt
(String contentCreatedAt)
public
void
setContentModifiedAt
(String contentModifiedAt)
public
void
setCreatedAt
(String createdAt)
public
void
setCreatedBy
(User createdBy)
public
void
setDescription
(String description)
public
void
setItemStatus
(String itemStatus)
public
void
setModifiedAt
(String modifiedAt)
public
void
setModifiedBy
(User modifiedBy)
public
void
setOwnedBy
(User ownedBy)
public
void
setParent
(Item parent)
public
void
setPaths
(Entries paths)
public
void
setPurgedAt
(String purgedAt)
public
void
setSize
(Long size)
public
void
setTrashedAt
(String trashedAt)