Class Listing
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.container.network.directory.Listing
@ApiType("SoftLayer_Container_Network_Directory_Listing") public class Listing extends Entity
SoftLayer_Container_Network_Directory_Listing represents a single entry in a listing of files within a remote directory. API methods that return remote directory listings typically return arrays of SoftLayer_Container_Network_Directory_Listing objects.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Listing.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Long
fileCount
If the file in a directory listing is a directory itself then fileCount is the number of files within the directory.protected boolean
fileCountSpecified
protected String
name
The name of a directory or a file within a directory listing.protected boolean
nameSpecified
protected String
type
The type of file in a directory listing.protected boolean
typeSpecified
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description Listing()
-
Method Summary
Modifier and Type Method Description Long
getFileCount()
String
getName()
String
getType()
boolean
isFileCountSpecified()
boolean
isNameSpecified()
boolean
isTypeSpecified()
void
setFileCount(Long fileCount)
void
setName(String name)
void
setType(String type)
void
unsetFileCount()
void
unsetName()
void
unsetType()
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
fileCount
If the file in a directory listing is a directory itself then fileCount is the number of files within the directory. -
fileCountSpecified
protected boolean fileCountSpecified -
name
The name of a directory or a file within a directory listing. -
nameSpecified
protected boolean nameSpecified -
type
The type of file in a directory listing. If a directory listing entry is a directory itself then type is set to "directory". Otherwise, type is a blank string. -
typeSpecified
protected boolean typeSpecified
-
-
Constructor Details
-
Listing
public Listing()
-
-
Method Details
-
getFileCount
-
setFileCount
-
isFileCountSpecified
public boolean isFileCountSpecified() -
unsetFileCount
public void unsetFileCount() -
getName
-
setName
-
isNameSpecified
public boolean isNameSpecified() -
unsetName
public void unsetName() -
getType
-
setType
-
isTypeSpecified
public boolean isTypeSpecified() -
unsetType
public void unsetType()
-