Package org.jclouds.glesys.domain
Class EmailAccount
java.lang.Object
org.jclouds.glesys.domain.EmailAccount
Detailed information on an Email Account
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
EmailAccount.Builder<T extends EmailAccount.Builder<T>>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
EmailAccount
(String account, EmailQuota quota, int antispamLevel, GleSYSBoolean antiVirus, GleSYSBoolean autoRespond, String autoRespondMessage, GleSYSBoolean autoRespondSaveEmail, Date created, Date modified) -
Method Summary
-
Constructor Details
-
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 Details
-
builder
-
toBuilder
-
getAccount
- Returns:
- the e-mail address for this e-mail account
-
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
- 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
- Returns:
- when this account was created
-
getModified
- Returns:
- when this account was last modified
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-