Package 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EmailAccount.Builder<T extends EmailAccount.Builder<T>>
-
Constructor Summary
Constructors Modifier Constructor Description protected
EmailAccount(String account, EmailQuota quota, int antispamLevel, GleSYSBoolean antiVirus, GleSYSBoolean autoRespond, String autoRespondMessage, GleSYSBoolean autoRespondSaveEmail, Date created, Date modified)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.MoreObjects.ToStringHelper
string()
EmailAccount.Builder<?>
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
EmailAccount
@ConstructorProperties({"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
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-