org.jclouds.glesys.domain
Class EmailAccount

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

public class EmailAccount
extends Object

Detailed information on an Email Account

See Also:

Nested Class Summary
static class EmailAccount.Builder<T extends EmailAccount.Builder<T>>
           
 
Constructor Summary
protected EmailAccount(String account, EmailQuota quota, int antispamLevel, GleSYSBoolean antiVirus, GleSYSBoolean autoRespond, String autoRespondMessage, GleSYSBoolean autoRespondSaveEmail, Date created, Date modified)
           
 
Method Summary
static EmailAccount.Builder<?> builder()
           
 boolean equals(Object obj)
           
 String getAccount()
           
 int getAntispamLevel()
           
 String getAutoRespondMessage()
           
 Date getCreated()
           
 Date getModified()
           
 EmailQuota getQuota()
           
 int hashCode()
           
 boolean isAntiVirus()
           
 boolean isAutoRespond()
           
 boolean isAutoRespondSaveEmail()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 EmailAccount.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmailAccount

@ConstructorProperties(value={"emailaccount","quota","antispamlevel","antivirus","autorespond","autorespondmessage","autorespondsaveemail","created","modified"})
protected EmailAccount(String account,
                                                  EmailQuota quota,
                                                  int antispamLevel,
                                                  GleSYSBoolean antiVirus,
                                                  GleSYSBoolean autoRespond,
                                                  @Nullable
                                                  String autoRespondMessage,
                                                  GleSYSBoolean autoRespondSaveEmail,
                                                  Date created,
                                                  @Nullable
                                                  Date modified)
Method Detail

builder

public static EmailAccount.Builder<?> builder()

toBuilder

public EmailAccount.Builder<?> toBuilder()

getAccount

public String getAccount()
Returns:
the e-mail address for this e-mail account

getQuota

public EmailQuota getQuota()
Returns:
the quota for this e-mail account

getAntispamLevel

public int getAntispamLevel()
Returns:
the antispam level of the e-mail account

isAntiVirus

public boolean isAntiVirus()
Returns:
true if antivirus is enabled for this e-mail account

isAutoRespond

public boolean isAutoRespond()
Returns:
true if auto-respond is enabled for this e-mail account

getAutoRespondMessage

@Nullable
public String getAutoRespondMessage()
Returns:
the auto-respond message for this e-mail account

isAutoRespondSaveEmail

public boolean isAutoRespondSaveEmail()
Returns:
true if saving is enabled for auto-respond e-mails

getCreated

public Date getCreated()
Returns:
when this account was created

getModified

@Nullable
public Date getModified()
Returns:
when this account was last modified

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-2014 The Apache Software Foundation. All Rights Reserved.