public ServiceCall < Void > deleteFeedback ( DeleteFeedbackOptions deleteFeedbackOptions ) { Validator . notNull ( deleteFeedbackOptions , "deleteFeedbackOptions cannot be null" ) ; String [ ] pathSegments = { "v1/feedback" } ; String [ ] pathParameters = { deleteFeedbackOptions . feedbackId ( ) } ; RequestBuilder builder = RequestBuilder . delete ( RequestBuilder . constructHttpUrl ( getEndPoint ( ) , pathSegments , pathParameters ) ) ; builder . query ( "version" , versionDate ) ; Map < String , String > sdkHeaders = SdkCommon . getSdkHeaders ( "compare-comply" , "v1" , "deleteFeedback" ) ; for ( Entry < String , String > header : sdkHeaders . entrySet ( ) ) { builder . header ( header . getKey ( ) , header . getValue ( ) ) ; } builder . header ( "Accept" , "application/json" ) ; if ( deleteFeedbackOptions . model ( ) != null ) { builder . query ( "model" , deleteFeedbackOptions . model ( ) ) ; } return createServiceCall ( builder . build ( ) , ResponseConverterUtils . getVoid ( ) ) ; }
Delete a specified feedback entry .