Package de.dlr.proseo.usermgr.rest.model
Class RestQuota
java.lang.Object
de.dlr.proseo.usermgr.rest.model.RestQuota
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull LongReturns the assigned.@NotNull DateReturns the lastAccessDate.@NotNull LonggetUsed()Returns the used.inthashCode()voidsetAssigned(Long assigned) Set the assigned.voidsetLastAccessDate(Date lastAccessDate) Set the lastAccessDate.voidSet the used.toString()
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
assigned
Monthly data volume allowance in Bytes -
used
Data volume in Bytes used in the last recorded calendar month -
lastAccessDate
Date of last recorded access (defines the calendar month for "used")
-
-
Constructor Details
-
RestQuota
public RestQuota()Creates a new RestQuota. -
RestQuota
Creates a new RestQuota.
-
-
Method Details
-
getAssigned
Returns the assigned.- Returns:
- assigned
-
setAssigned
Set the assigned.- Parameters:
assigned- the new assigned
-
getUsed
Returns the used.- Returns:
- used
-
setUsed
Set the used.- Parameters:
used- the new used
-
getLastAccessDate
Returns the lastAccessDate.- Returns:
- lastAccessDate
-
setLastAccessDate
Set the lastAccessDate.- Parameters:
lastAccessDate- the new lastAccessDate
-
hashCode
public int hashCode() -
equals
-
toString
-