com.independentsoft.exchange

## Class UserResponse

- java.lang.Object
- - com.independentsoft.exchange.UserResponse

-     public class UserResponse
      extends java.lang.Object

  Represents a response to a GetUserSettings request for an individual user.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UserResponse()` Initializes a new instance of the UserResponse class.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ErrorCode` | `getErrorCode()` Gets an error code that is returned by the Autodiscover service.
    `java.lang.String` | `getErrorMessage()` Gets a message that is associated with an error code that is returned by the Autodiscover service.
    `java.lang.String` | `getRedirectTarget()` Gets a target of the redirection (URL or email address).
    `java.util.List<UserSettingError>` | `getUserSettingErrors()` Gets an error information for settings that could not be returned.
    `UserSettingList` | `getUserSettings()` Gets a settings for the user.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### UserResponse

          public UserResponse()

      Initializes a new instance of the UserResponse class.

  - ### Method Detail

    - #### getErrorCode

          public ErrorCode getErrorCode()

      Gets an error code that is returned by the Autodiscover service.
      Returns:
        the error code

    - #### getErrorMessage

          public java.lang.String getErrorMessage()

      Gets a message that is associated with an error code that is returned by the Autodiscover service.
      Returns:
        the error message

    - #### getRedirectTarget

          public java.lang.String getRedirectTarget()

      Gets a target of the redirection (URL or email address).
      Returns:
        the redirect target

    - #### getUserSettingErrors

          public java.util.List<UserSettingError> getUserSettingErrors()

      Gets an error information for settings that could not be returned.
      Returns:
        the user setting errors

    - #### getUserSettings

          public UserSettingList getUserSettings()

      Gets a settings for the user.
      Returns:
        the user settings