org.jclouds.glesys.domain
Class EmailAccount
java.lang.Object
org.jclouds.glesys.domain.EmailAccount
public class EmailAccount
- extends Object
Detailed information on an Email Account
- Author:
- Adam Lowe
- See Also:
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)
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.