Package org.jclouds.glesys.domain
Class Archive
java.lang.Object
org.jclouds.glesys.domain.Archive
Information about an archive
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Archive
(String username, String totalSize, String freeSize, GleSYSBoolean locked) -
Method Summary
-
Constructor Details
-
Archive
@ConstructorProperties({"username","sizetotal","sizefree","locked"}) protected Archive(String username, String totalSize, String freeSize, GleSYSBoolean locked)
-
-
Method Details
-
builder
-
toBuilder
-
getUsername
- Returns:
- the name (username) of the archive
-
getTotalSize
- Returns:
- the total size of the archive, ex. "10 GB"
-
getFreeSize
- Returns:
- the free space left of the archive
-
isLocked
public boolean isLocked()- Returns:
- true if the archive is locked
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-