public class

File

extends Item
java.lang.Object
   ↳ org.mule.modules.box.model.Entity
     ↳ org.mule.modules.box.model.Item
       ↳ org.mule.modules.box.model.File

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

Constants
long serialVersionUID
[Expand]
Inherited Constants
From class org.mule.modules.box.model.Item
From class org.mule.modules.box.model.Entity
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
[Expand]
Inherited Fields
From class org.mule.modules.box.model.Item
From class org.mule.modules.box.model.Entity
Public Constructors
File()
Public Methods
String getContentCreatedAt()
String getContentModifiedAt()
String getCreatedAt()
User getCreatedBy()
String getDescription()
String getItemStatus()
String getModifiedAt()
User getModifiedBy()
User getOwnedBy()
Item getParent()
Entries getPaths()
String getPurgedAt()
SharedLink getSharedLink()
Long getSize()
String getTrashedAt()
void setContentCreatedAt(String contentCreatedAt)
void setContentModifiedAt(String contentModifiedAt)
void setCreatedAt(String createdAt)
void setCreatedBy(User createdBy)
void setDescription(String description)
void setItemStatus(String itemStatus)
void setModifiedAt(String modifiedAt)
void setModifiedBy(User modifiedBy)
void setOwnedBy(User ownedBy)
void setParent(Item parent)
void setPaths(Entries paths)
void setPurgedAt(String purgedAt)
void setSharedLink(SharedLink sharedLink)
void setSize(Long size)
void setTrashedAt(String trashedAt)
[Expand]
Inherited Methods
From class org.mule.modules.box.model.Item
From class org.mule.modules.box.model.Entity
From class java.lang.Object

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

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

public File ()

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 Item getParent ()

public Entries getPaths ()

public String getPurgedAt ()

public SharedLink getSharedLink ()

public Long getSize ()

public String getTrashedAt ()

public void setContentCreatedAt (String contentCreatedAt)

Parameters
contentCreatedAt

public void setContentModifiedAt (String contentModifiedAt)

Parameters
contentModifiedAt

public void setCreatedAt (String createdAt)

Parameters
createdAt

public void setCreatedBy (User createdBy)

Parameters
createdBy

public void setDescription (String description)

Parameters
description

public void setItemStatus (String itemStatus)

Parameters
itemStatus

public void setModifiedAt (String modifiedAt)

Parameters
modifiedAt

public void setModifiedBy (User modifiedBy)

Parameters
modifiedBy

public void setOwnedBy (User ownedBy)

Parameters
ownedBy

public void setParent (Item parent)

Parameters
parent

public void setPaths (Entries paths)

Parameters
paths

public void setPurgedAt (String purgedAt)

Parameters
purgedAt

public void setSharedLink (SharedLink sharedLink)

Parameters
sharedLink

public void setSize (Long size)

Parameters
size

public void setTrashedAt (String trashedAt)

Parameters
trashedAt