Class GetDomainSettingsResponse
- java.lang.Object
-
- microsoft.exchange.webservices.data.autodiscover.response.AutodiscoverResponse
-
- microsoft.exchange.webservices.data.autodiscover.response.GetDomainSettingsResponse
-
public final class GetDomainSettingsResponse extends AutodiscoverResponse
Represents the response to a GetDomainSettings call for an individual domain.
-
-
Constructor Summary
Constructors Constructor Description GetDomainSettingsResponse()Initializes a new instance of theGetDomainSettingsResponseclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDomain()Gets the domain this response applies to.Collection<DomainSettingError>getDomainSettingErrors()Gets error information for settings that could not be returned.StringgetRedirectTarget()Gets the redirectionTarget (URL or email address).Map<DomainSettingName,Object>getSettings()Gets the requested settings for the domain.protected voidloadDomainSettingsFromXml(EwsXmlReader reader)Loads from XML.voidloadFromXml(EwsXmlReader reader, String endElementName)Loads response from XML.voidsetDomain(String value)Sets the domain.-
Methods inherited from class microsoft.exchange.webservices.data.autodiscover.response.AutodiscoverResponse
getErrorCode, getErrorMessage, getRedirectionUrl, setErrorCode, setErrorMessage, setRedirectionUrl
-
-
-
-
Constructor Detail
-
GetDomainSettingsResponse
public GetDomainSettingsResponse()
Initializes a new instance of theGetDomainSettingsResponseclass.
-
-
Method Detail
-
getRedirectTarget
public String getRedirectTarget()
Gets the redirectionTarget (URL or email address).- Returns:
- the redirect target
-
getSettings
public Map<DomainSettingName,Object> getSettings()
Gets the requested settings for the domain.- Returns:
- the settings
-
getDomainSettingErrors
public Collection<DomainSettingError> getDomainSettingErrors()
Gets error information for settings that could not be returned.- Returns:
- the domain setting errors
-
loadFromXml
public void loadFromXml(EwsXmlReader reader, String endElementName) throws Exception
Loads response from XML.- Overrides:
loadFromXmlin classAutodiscoverResponse- Parameters:
reader- The reader.endElementName- End element name.- Throws:
Exception- the exception
-
loadDomainSettingsFromXml
protected void loadDomainSettingsFromXml(EwsXmlReader reader) throws Exception
Loads from XML.- Parameters:
reader- The reader.- Throws:
Exception- the exception
-
-