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
  • Field Details

    • content

      @ApiProperty(canBeNullOrNotSet=true) protected byte[] content
      A file entity's raw content.
    • contentSpecified

      protected boolean contentSpecified
    • contentType

      @ApiProperty(canBeNullOrNotSet=true) protected String contentType
      A file entity's MIME content type.
    • contentTypeSpecified

      protected boolean contentTypeSpecified
    • createDate

      @ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar createDate
      The date a file entity was created.
    • createDateSpecified

      protected boolean createDateSpecified
    • deleteDate

      @ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar 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

      @ApiProperty(canBeNullOrNotSet=true) protected Long isShared
      Whether a CloudLayer storage file entity is shared with another CloudLayer user.
    • isSharedSpecified

      protected boolean isSharedSpecified
    • modifyDate

      @ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar modifyDate
      The date a file entity was last changed.
    • modifyDateSpecified

      protected boolean modifyDateSpecified
    • name

      @ApiProperty(canBeNullOrNotSet=true) protected String name
      A file entity's name.
    • nameSpecified

      protected boolean nameSpecified
    • owner

      @ApiProperty(canBeNullOrNotSet=true) 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.
    • ownerSpecified

      protected boolean ownerSpecified
    • size

      @ApiProperty(canBeNullOrNotSet=true) protected Long size
      The size of a file entity in bytes.
    • sizeSpecified

      protected boolean sizeSpecified
    • type

      @ApiProperty(canBeNullOrNotSet=true) protected String type
      A CloudLayer storage file entity's type. Types can include "file", "folder", "dir", and "project".
    • typeSpecified

      protected boolean typeSpecified
    • version

      @ApiProperty(canBeNullOrNotSet=true) protected Long 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

      public String getContentType()
    • setContentType

      public void setContentType​(String contentType)
    • isContentTypeSpecified

      public boolean isContentTypeSpecified()
    • unsetContentType

      public void unsetContentType()
    • getCreateDate

      public GregorianCalendar getCreateDate()
    • setCreateDate

      public void setCreateDate​(GregorianCalendar createDate)
    • isCreateDateSpecified

      public boolean isCreateDateSpecified()
    • unsetCreateDate

      public void unsetCreateDate()
    • getDeleteDate

      public GregorianCalendar getDeleteDate()
    • setDeleteDate

      public void setDeleteDate​(GregorianCalendar deleteDate)
    • isDeleteDateSpecified

      public boolean isDeleteDateSpecified()
    • unsetDeleteDate

      public void unsetDeleteDate()
    • getId

      public String getId()
    • setId

      public void setId​(String id)
    • isIdSpecified

      public boolean isIdSpecified()
    • unsetId

      public void unsetId()
    • getIsShared

      public Long getIsShared()
    • setIsShared

      public void setIsShared​(Long isShared)
    • isIsSharedSpecified

      public boolean isIsSharedSpecified()
    • unsetIsShared

      public void unsetIsShared()
    • getModifyDate

      public GregorianCalendar getModifyDate()
    • setModifyDate

      public void setModifyDate​(GregorianCalendar modifyDate)
    • isModifyDateSpecified

      public boolean isModifyDateSpecified()
    • unsetModifyDate

      public void unsetModifyDate()
    • getName

      public String getName()
    • setName

      public void setName​(String name)
    • isNameSpecified

      public boolean isNameSpecified()
    • unsetName

      public void unsetName()
    • getOwner

      public String getOwner()
    • setOwner

      public void setOwner​(String owner)
    • isOwnerSpecified

      public boolean isOwnerSpecified()
    • unsetOwner

      public void unsetOwner()
    • getSize

      public Long getSize()
    • setSize

      public void setSize​(Long size)
    • isSizeSpecified

      public boolean isSizeSpecified()
    • unsetSize

      public void unsetSize()
    • getType

      public String getType()
    • setType

      public void setType​(String type)
    • isTypeSpecified

      public boolean isTypeSpecified()
    • unsetType

      public void unsetType()
    • getVersion

      public Long getVersion()
    • setVersion

      public void setVersion​(Long version)
    • isVersionSpecified

      public boolean isVersionSpecified()
    • unsetVersion

      public void unsetVersion()