Get Conversations by communicationType throws Exception

Code:

Configuration.getDefaultApiClient().setAccessToken("YOUR_ACCESS_TOKEN");
ConversationsApi conversationsApi = new ConversationsApi();
try {
System.out.println(conversationsApi.getConversations("email"));
} catch (ApiException e) {
e.printStackTrace();
}

Here is the Exception when a conversation is connected:
com.sun.jersey.api.client.ClientHandlerException: com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of com.mypurecloud.sdk.model.Email$StateEnum from String value ("connected"): value not one of declared Enum instance names: [NONE, CONNECTED, DISCONNECTED, ALERTING]

It appears that Java is requiring the enums to be case sensitive and the documentation that the SDK is generated from doesn't match what the API is sending. I currently have an ongoing project to remove all enums from the SDKs and replace with strings. There are several issues like this that are making enums problematic.

As a temporary workaround, you can download the SDK source from github and modify the values as necessary and compile locally using mvn package in the build directory.

Thank you for the response.
Looking forward for the new version.