public final class GetUserSettingsResponse extends AutodiscoverResponse
| Constructor and Description |
|---|
GetUserSettingsResponse()
Initializes a new instance of the
GetUserSettingsResponse class. |
| Modifier and Type | Method and Description |
|---|---|
String |
getRedirectTarget()
Gets the redirectionTarget (URL or email address).
|
Map<UserSettingName,Object> |
getSettings()
Gets the requested settings for the user.
|
String |
getSmtpAddress()
Gets the SMTP address this response applies to.
|
Collection<UserSettingError> |
getUserSettingErrors()
Gets error information for settings that could not be returned.
|
void |
loadFromXml(EwsXmlReader reader,
String endElementName)
Loads response from XML.
|
protected void |
loadUserSettingsFromXml(EwsXmlReader reader)
Loads from XML.
|
void |
setRedirectTarget(String value)
Sets the redirectionTarget (URL or email address).
|
void |
setSettings(Map<UserSettingName,Object> settings)
Sets the requested settings for the user.
|
void |
setSmtpAddress(String value)
Sets the smtp address.
|
protected void |
setUserSettingErrors(Collection<UserSettingError> value)
Sets the requested settings for the user.
|
<T> boolean |
tryGetSettingValue(Class<T> cls,
UserSettingName setting,
OutParam<T> value)
Tries the get the user setting value.
|
getErrorCode, getErrorMessage, getRedirectionUrl, setErrorCode, setErrorMessage, setRedirectionUrlpublic GetUserSettingsResponse()
GetUserSettingsResponse class.public <T> boolean tryGetSettingValue(Class<T> cls, UserSettingName setting, OutParam<T> value)
cls - Type of user setting.setting - The setting.value - The setting value.public String getSmtpAddress()
public void setSmtpAddress(String value)
value - the new smtp addresspublic String getRedirectTarget()
public void setRedirectTarget(String value)
value - redirect target valuepublic Map<UserSettingName,Object> getSettings()
public void setSettings(Map<UserSettingName,Object> settings)
settings - settings mappublic Collection<UserSettingError> getUserSettingErrors()
protected void setUserSettingErrors(Collection<UserSettingError> value)
value - user setting errorspublic void loadFromXml(EwsXmlReader reader, String endElementName) throws Exception
loadFromXml in class AutodiscoverResponsereader - The reader.endElementName - End element name.Exception - the exceptionprotected void loadUserSettingsFromXml(EwsXmlReader reader) throws Exception
reader - The reader.Exception - the exceptionCopyright © 2012–2015 Microsoft. All rights reserved.