private void addPostParams(final Request request) {
        if (phoneNumber != null) {
            request.addPostParam("PhoneNumber", phoneNumber.toString());
        }

        if (apiVersion != null) {
            request.addPostParam("ApiVersion", apiVersion);
        }

        if (friendlyName != null) {
            request.addPostParam("FriendlyName", friendlyName);
        }

        if (smsApplicationSid != null) {
            request.addPostParam("SmsApplicationSid", smsApplicationSid);
        }

        if (smsFallbackMethod != null) {
            request.addPostParam("SmsFallbackMethod", smsFallbackMethod.toString());
        }

        if (smsFallbackUrl != null) {
            request.addPostParam("SmsFallbackUrl", smsFallbackUrl.toString());
        }

        if (smsMethod != null) {
            request.addPostParam("SmsMethod", smsMethod.toString());
        }

        if (smsUrl != null) {
            request.addPostParam("SmsUrl", smsUrl.toString());
        }

        if (statusCallback != null) {
            request.addPostParam("StatusCallback", statusCallback.toString());
        }

        if (statusCallbackMethod != null) {
            request.addPostParam("StatusCallbackMethod", statusCallbackMethod.toString());
        }

        if (voiceApplicationSid != null) {
            request.addPostParam("VoiceApplicationSid", voiceApplicationSid);
        }

        if (voiceCallerIdLookup != null) {
            request.addPostParam("VoiceCallerIdLookup", voiceCallerIdLookup.toString());
        }

        if (voiceFallbackMethod != null) {
            request.addPostParam("VoiceFallbackMethod", voiceFallbackMethod.toString());
        }

        if (voiceFallbackUrl != null) {
            request.addPostParam("VoiceFallbackUrl", voiceFallbackUrl.toString());
        }

        if (voiceMethod != null) {
            request.addPostParam("VoiceMethod", voiceMethod.toString());
        }

        if (voiceUrl != null) {
            request.addPostParam("VoiceUrl", voiceUrl.toString());
        }

        if (identitySid != null) {
            request.addPostParam("IdentitySid", identitySid);
        }

        if (addressSid != null) {
            request.addPostParam("AddressSid", addressSid);
        }
    }
private void addPostParams ( final Request request ) { if ( phoneNumber != null ) { request . addPostParam ( "PhoneNumber" , phoneNumber . toString ( ) ) ; } if ( apiVersion != null ) { request . addPostParam ( "ApiVersion" , apiVersion ) ; } if ( friendlyName != null ) { request . addPostParam ( "FriendlyName" , friendlyName ) ; } if ( smsApplicationSid != null ) { request . addPostParam ( "SmsApplicationSid" , smsApplicationSid ) ; } if ( smsFallbackMethod != null ) { request . addPostParam ( "SmsFallbackMethod" , smsFallbackMethod . toString ( ) ) ; } if ( smsFallbackUrl != null ) { request . addPostParam ( "SmsFallbackUrl" , smsFallbackUrl . toString ( ) ) ; } if ( smsMethod != null ) { request . addPostParam ( "SmsMethod" , smsMethod . toString ( ) ) ; } if ( smsUrl != null ) { request . addPostParam ( "SmsUrl" , smsUrl . toString ( ) ) ; } if ( statusCallback != null ) { request . addPostParam ( "StatusCallback" , statusCallback . toString ( ) ) ; } if ( statusCallbackMethod != null ) { request . addPostParam ( "StatusCallbackMethod" , statusCallbackMethod . toString ( ) ) ; } if ( voiceApplicationSid != null ) { request . addPostParam ( "VoiceApplicationSid" , voiceApplicationSid ) ; } if ( voiceCallerIdLookup != null ) { request . addPostParam ( "VoiceCallerIdLookup" , voiceCallerIdLookup . toString ( ) ) ; } if ( voiceFallbackMethod != null ) { request . addPostParam ( "VoiceFallbackMethod" , voiceFallbackMethod . toString ( ) ) ; } if ( voiceFallbackUrl != null ) { request . addPostParam ( "VoiceFallbackUrl" , voiceFallbackUrl . toString ( ) ) ; } if ( voiceMethod != null ) { request . addPostParam ( "VoiceMethod" , voiceMethod . toString ( ) ) ; } if ( voiceUrl != null ) { request . addPostParam ( "VoiceUrl" , voiceUrl . toString ( ) ) ; } if ( identitySid != null ) { request . addPostParam ( "IdentitySid" , identitySid ) ; } if ( addressSid != null ) { request . addPostParam ( "AddressSid" , addressSid ) ; } }
Add the requested post parameters to the Request.

@param request Request to add post params to