Class 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 Detail

      • contentSpecified

        protected boolean contentSpecified
      • contentTypeSpecified

        protected boolean contentTypeSpecified
      • 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
      • idSpecified

        protected boolean idSpecified
      • isSharedSpecified

        protected boolean isSharedSpecified
      • modifyDateSpecified

        protected boolean modifyDateSpecified
      • 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
      • sizeSpecified

        protected boolean sizeSpecified
      • 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 Detail

      • Entity

        public Entity()
    • Method Detail

      • 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()
      • isCreateDateSpecified

        public boolean isCreateDateSpecified()
      • unsetCreateDate

        public void unsetCreateDate()
      • 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()
      • 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()