java.lang.Object |
↳ |
org.mule.modules.dropbox.model.Item |
Class Overview
Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com
The software in this package is published under the terms of the CPAL v1.0
license, a copy of which has been included with this distribution in the
LICENSE.md file.
Summary
Fields |
private
Long |
bytes |
The file size in bytes. |
private
String |
clientMtime |
For files, this is the modification time set by the desktop client when the file was added to Dropbox, in the standard date format. |
private
List<Item> |
contents |
If the requested Item is a folder in Dropbox, return the folder's content
|
private
String |
hash |
A folder's hash is useful for indicating changes to the folder's contents in later calls to /metadata. |
private
String |
icon |
The name of the icon used to illustrate the file type in Dropbox's icon library. |
private
Boolean |
isDeleted |
Whether the given entry is deleted (only included if deleted files are being returned). |
private
Boolean |
isDir |
Whether the given entry is a folder or not. |
private
String |
mimeType |
The file's mime type
|
private
String |
modified |
The last time the file was modified on Dropbox, in the standard date format (not included for the root folder). |
private
String |
path |
Returns the canonical path to the file or directory. |
private
String |
rev |
A unique identifier for the current revision of a file. |
private
Long |
revision |
A deprecated field that semi-uniquely identifies a file. |
private
String |
root |
The root or top-level folder depending on your access level. |
private
String |
size |
A human-readable description of the file size (translated by locale). |
private
Boolean |
thumbExists |
True if the file is an image that can be converted to a thumbnail via the /thumbnails call. |
Public Constructors |
|
Item()
|
[Expand]
Inherited Methods |
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:
-1
(0xffffffffffffffff)
Fields
private
String
clientMtime
For files, this is the modification time set by the desktop client when the file was added to Dropbox, in the standard date format. Since this time is not verified (the Dropbox server stores whatever the desktop client sends up), this should only be used for display purposes (such as sorting) and not, for example, to determine if a file has changed or not.
private
List<Item>
contents
If the requested Item is a folder in Dropbox, return the folder's content
private
String
hash
A folder's hash is useful for indicating changes to the folder's contents in later calls to /metadata. This is roughly the folder equivalent to a file's rev.
private
String
icon
The name of the icon used to illustrate the file type in Dropbox's icon library.
private
Boolean
isDeleted
Whether the given entry is deleted (only included if deleted files are being returned).
private
Boolean
isDir
Whether the given entry is a folder or not.
private
String
modified
The last time the file was modified on Dropbox, in the standard date format (not included for the root folder).
private
String
path
Returns the canonical path to the file or directory.
private
String
rev
A unique identifier for the current revision of a file. This field is the same rev as elsewhere in the API and can be used to detect changes and avoid conflicts.
private
Long
revision
A deprecated field that semi-uniquely identifies a file. Use rev instead.
private
String
root
The root or top-level folder depending on your access level. All paths returned are relative to this root level. Permitted values are either dropbox or app_folder.
private
String
size
A human-readable description of the file size (translated by locale).
private
Boolean
thumbExists
True if the file is an image that can be converted to a thumbnail via the /thumbnails call.
Public Constructors
Public Methods
public
String
getClientMtime
()
public
List<Item>
getContents
()
public
Boolean
getDeleted
()
public
String
getMimeType
()
public
String
getModified
()
public
Long
getRevision
()
public
Boolean
getThumbExists
()
public
void
setBytes
(Long bytes)
public
void
setClientMtime
(String clientMtime)
public
void
setContents
(List<Item> contents)
public
void
setDeleted
(Boolean deleted)
public
void
setDir
(Boolean dir)
public
void
setHash
(String hash)
public
void
setIcon
(String icon)
public
void
setMimeType
(String mimeType)
public
void
setModified
(String modified)
public
void
setPath
(String path)
public
void
setRev
(String rev)
public
void
setRevision
(Long revision)
public
void
setRoot
(String root)
public
void
setSize
(String size)
public
void
setThumbExists
(Boolean thumbExists)