Klasse RestQuota

java.lang.Object
de.dlr.proseo.usermgr.rest.model.RestQuota
Alle implementierten Schnittstellen:
Serializable

public class RestQuota extends Object implements Serializable
Siehe auch:
  • Felddetails

    • serialVersionUID

      static final long serialVersionUID
      Siehe auch:
    • assigned

      protected Long assigned
      Monthly data volume allowance in Bytes
    • used

      protected Long used
      Data volume in Bytes used in the last recorded calendar month
    • lastAccessDate

      protected Date lastAccessDate
      Date of last recorded access (defines the calendar month for "used")
  • Konstruktordetails

    • RestQuota

      public RestQuota()
      Creates a new RestQuota.
    • RestQuota

      public RestQuota(Long assigned, Long used, Date lastAccessDate)
      Creates a new RestQuota.
  • Methodendetails

    • getAssigned

      @NotNull public @NotNull Long getAssigned()
      Returns the assigned.
      Gibt zurück:
      assigned
    • setAssigned

      public void setAssigned(Long assigned)
      Set the assigned.
      Parameter:
      assigned - the new assigned
    • getUsed

      @NotNull public @NotNull Long getUsed()
      Returns the used.
      Gibt zurück:
      used
    • setUsed

      public void setUsed(Long used)
      Set the used.
      Parameter:
      used - the new used
    • getLastAccessDate

      @NotNull public @NotNull Date getLastAccessDate()
      Returns the lastAccessDate.
      Gibt zurück:
      lastAccessDate
    • setLastAccessDate

      public void setLastAccessDate(Date lastAccessDate)
      Set the lastAccessDate.
      Parameter:
      lastAccessDate - the new lastAccessDate
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • equals

      public boolean equals(Object other)
      Setzt außer Kraft:
      equals in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object