Class Entity
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.container.utility.file.Entity
- Direct Known Subclasses:
File
@ApiType("SoftLayer_Container_Utility_File_Entity") public class Entity extends Entity
SoftLayer_Container_Utility_File_Entity data type models a single entity on a storage resource. Entities can include anything within a storage volume including files, folders, directories, and CloudLayer storage projects.
- See Also:
- SoftLayer_Container_Utility_File_Entity
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Entity.Mask
-
Field Summary
Fields Modifier and Type Field Description protected byte[]
content
A file entity's raw content.protected boolean
contentSpecified
protected String
contentType
A file entity's MIME content type.protected boolean
contentTypeSpecified
protected GregorianCalendar
createDate
The date a file entity was created.protected boolean
createDateSpecified
protected GregorianCalendar
deleteDate
The date a CloudLayer storage file entity was moved into the recycle bin.protected boolean
deleteDateSpecified
protected String
id
Unique identifier for the file.protected boolean
idSpecified
protected Long
isShared
Whether a CloudLayer storage file entity is shared with another CloudLayer user.protected boolean
isSharedSpecified
protected GregorianCalendar
modifyDate
The date a file entity was last changed.protected boolean
modifyDateSpecified
protected String
name
A file entity's name.protected boolean
nameSpecified
protected String
owner
The owner is usually the account who first upload or created the file on the resource or the account who is responsible for the file at the moment.protected boolean
ownerSpecified
protected Long
size
The size of a file entity in bytes.protected boolean
sizeSpecified
protected String
type
A CloudLayer storage file entity's type.protected boolean
typeSpecified
protected Long
version
The latest revision of a file on a CloudLayer storage volume.protected boolean
versionSpecified
-
Constructor Summary
Constructors Constructor Description Entity()
-
Method Summary
-
Field Details
-
content
A file entity's raw content. -
contentSpecified
protected boolean contentSpecified -
contentType
A file entity's MIME content type. -
contentTypeSpecified
protected boolean contentTypeSpecified -
createDate
The date a file entity was created. -
createDateSpecified
protected boolean createDateSpecified -
deleteDate
The date a CloudLayer storage file entity was moved into the recycle bin. This field applies to files that are pending deletion in the recycle bin. -
deleteDateSpecified
protected boolean deleteDateSpecified -
id
Unique identifier for the file. This can be either a number or guid. -
idSpecified
protected boolean idSpecified -
isShared
Whether a CloudLayer storage file entity is shared with another CloudLayer user. -
isSharedSpecified
protected boolean isSharedSpecified -
modifyDate
The date a file entity was last changed. -
modifyDateSpecified
protected boolean modifyDateSpecified -
name
A file entity's name. -
nameSpecified
protected boolean nameSpecified -
owner
The owner is usually the account who first upload or created the file on the resource or the account who is responsible for the file at the moment. -
ownerSpecified
protected boolean ownerSpecified -
size
The size of a file entity in bytes. -
sizeSpecified
protected boolean sizeSpecified -
type
A CloudLayer storage file entity's type. Types can include "file", "folder", "dir", and "project". -
typeSpecified
protected boolean typeSpecified -
version
The latest revision of a file on a CloudLayer storage volume. This number increments each time a new revision of the file is uploaded. -
versionSpecified
protected boolean versionSpecified
-
-
Constructor Details
-
Entity
public Entity()
-
-
Method Details
-
getContent
public byte[] getContent() -
setContent
public void setContent(byte[] content) -
isContentSpecified
public boolean isContentSpecified() -
unsetContent
public void unsetContent() -
getContentType
-
setContentType
-
isContentTypeSpecified
public boolean isContentTypeSpecified() -
unsetContentType
public void unsetContentType() -
getCreateDate
-
setCreateDate
-
isCreateDateSpecified
public boolean isCreateDateSpecified() -
unsetCreateDate
public void unsetCreateDate() -
getDeleteDate
-
setDeleteDate
-
isDeleteDateSpecified
public boolean isDeleteDateSpecified() -
unsetDeleteDate
public void unsetDeleteDate() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getIsShared
-
setIsShared
-
isIsSharedSpecified
public boolean isIsSharedSpecified() -
unsetIsShared
public void unsetIsShared() -
getModifyDate
-
setModifyDate
-
isModifyDateSpecified
public boolean isModifyDateSpecified() -
unsetModifyDate
public void unsetModifyDate() -
getName
-
setName
-
isNameSpecified
public boolean isNameSpecified() -
unsetName
public void unsetName() -
getOwner
-
setOwner
-
isOwnerSpecified
public boolean isOwnerSpecified() -
unsetOwner
public void unsetOwner() -
getSize
-
setSize
-
isSizeSpecified
public boolean isSizeSpecified() -
unsetSize
public void unsetSize() -
getType
-
setType
-
isTypeSpecified
public boolean isTypeSpecified() -
unsetType
public void unsetType() -
getVersion
-
setVersion
-
isVersionSpecified
public boolean isVersionSpecified() -
unsetVersion
public void unsetVersion()
-