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
All Methods Instance Methods Concrete Methods 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 Detail
-
fileCount
@ApiProperty(canBeNullOrNotSet=true) protected Long 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
@ApiProperty(canBeNullOrNotSet=true) protected String name
The name of a directory or a file within a directory listing.
-
nameSpecified
protected boolean nameSpecified
-
type
@ApiProperty(canBeNullOrNotSet=true) protected String 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
-
-
Method Detail
-
getFileCount
public Long getFileCount()
-
setFileCount
public void setFileCount(Long fileCount)
-
isFileCountSpecified
public boolean isFileCountSpecified()
-
unsetFileCount
public void unsetFileCount()
-
getName
public String getName()
-
setName
public void setName(String name)
-
isNameSpecified
public boolean isNameSpecified()
-
unsetName
public void unsetName()
-
getType
public String getType()
-
setType
public void setType(String type)
-
isTypeSpecified
public boolean isTypeSpecified()
-
unsetType
public void unsetType()
-
-