org.jclouds.glesys.domain
Class EmailQuota

java.lang.Object
  extended by org.jclouds.glesys.domain.EmailQuota

public class EmailQuota
extends Object

Information on an Email Account Quota size

Author:
Adam Lowe
See Also:

Nested Class Summary
static class EmailQuota.Builder<T extends EmailQuota.Builder<T>>
           
 
Constructor Summary
protected EmailQuota(int max, String unit)
           
 
Method Summary
static EmailQuota.Builder<?> builder()
           
 boolean equals(Object obj)
           
 int getMax()
           
 String getUnit()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 EmailQuota.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmailQuota

@ConstructorProperties(value={"max","unit"})
protected EmailQuota(int max,
                                                String unit)
Method Detail

builder

public static EmailQuota.Builder<?> builder()

toBuilder

public EmailQuota.Builder<?> toBuilder()

getMax

public int getMax()
Returns:
the maximum size of the mailbox (in units)
See Also:
getUnit()

getUnit

public String getUnit()
Returns:
the quota for this e-mail account

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

string

protected com.google.common.base.Objects.ToStringHelper string()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.