public Observable<GetPersonalPreferencesResponseInner> getPersonalPreferencesAsync(String userName, PersonalPreferencesOperationsPayload personalPreferencesOperationsPayload) {
        return getPersonalPreferencesWithServiceResponseAsync(userName, personalPreferencesOperationsPayload).map(new Func1<ServiceResponse<GetPersonalPreferencesResponseInner>, GetPersonalPreferencesResponseInner>() {
            @Override
            public GetPersonalPreferencesResponseInner call(ServiceResponse<GetPersonalPreferencesResponseInner> response) {
                return response.body();
            }
        });
    }
public Observable < GetPersonalPreferencesResponseInner > getPersonalPreferencesAsync ( String userName , PersonalPreferencesOperationsPayload personalPreferencesOperationsPayload ) { return getPersonalPreferencesWithServiceResponseAsync ( userName , personalPreferencesOperationsPayload ) . map ( new Func1 < ServiceResponse < GetPersonalPreferencesResponseInner > , GetPersonalPreferencesResponseInner > ( ) { @ Override public GetPersonalPreferencesResponseInner call ( ServiceResponse < GetPersonalPreferencesResponseInner > response ) { return response . body ( ) ; } } ) ; }
Get personal preferences for a user.

@param userName The name of the user.
@param personalPreferencesOperationsPayload Represents payload for any Environment operations like get, start, stop, connect
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the GetPersonalPreferencesResponseInner object