Class File
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.container.utility.file.Entity
com.softlayer.api.service.container.network.storage.hub.objectstorage.File
@ApiType("SoftLayer_Container_Network_Storage_Hub_ObjectStorage_File") public class File extends Entity
SoftLayer_Container_Network_Storage_Hub_ObjectStorage_File provides specific details that only apply to files that are sent or received from CloudLayer storage resources.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
File.Mask
-
Field Summary
Fields Modifier and Type Field Description protected String
folder
protected boolean
folderSpecified
protected String
hash
protected boolean
hashSpecified
Fields inherited from class com.softlayer.api.service.container.utility.file.Entity
content, contentSpecified, contentType, contentTypeSpecified, createDate, createDateSpecified, deleteDate, deleteDateSpecified, id, idSpecified, isShared, isSharedSpecified, modifyDate, modifyDateSpecified, name, nameSpecified, owner, ownerSpecified, size, sizeSpecified, type, typeSpecified, version, versionSpecified
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description File()
-
Method Summary
Modifier and Type Method Description String
getFolder()
String
getHash()
boolean
isFolderSpecified()
boolean
isHashSpecified()
void
setFolder(String folder)
void
setHash(String hash)
void
unsetFolder()
void
unsetHash()
Methods inherited from class com.softlayer.api.service.container.utility.file.Entity
getContent, getContentType, getCreateDate, getDeleteDate, getId, getIsShared, getModifyDate, getName, getOwner, getSize, getType, getVersion, isContentSpecified, isContentTypeSpecified, isCreateDateSpecified, isDeleteDateSpecified, isIdSpecified, isIsSharedSpecified, isModifyDateSpecified, isNameSpecified, isOwnerSpecified, isSizeSpecified, isTypeSpecified, isVersionSpecified, setContent, setContentType, setCreateDate, setDeleteDate, setId, setIsShared, setModifyDate, setName, setOwner, setSize, setType, setVersion, unsetContent, unsetContentType, unsetCreateDate, unsetDeleteDate, unsetId, unsetIsShared, unsetModifyDate, unsetName, unsetOwner, unsetSize, unsetType, unsetVersion
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
folder
-
folderSpecified
protected boolean folderSpecified -
hash
-
hashSpecified
protected boolean hashSpecified
-
-
Constructor Details
-
File
public File()
-
-
Method Details
-
getFolder
-
setFolder
-
isFolderSpecified
public boolean isFolderSpecified() -
unsetFolder
public void unsetFolder() -
getHash
-
setHash
-
isHashSpecified
public boolean isHashSpecified() -
unsetHash
public void unsetHash()
-