code: public ApiResponse<String> attachmentsWithHttpInfo(String mediatype, String id, String documentId) throws ApiException {
          com.squareup.okhttp.Call call = attachmentsValidateBeforeCall(mediatype, id, documentId, null, null);
          Type localVarReturnType = new TypeToken<String>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Get the attachment of the interaction
  Get the attachment of the interaction specified in the documentId path parameter
  @param mediatype media-type of interaction (required)
  @param id id of interaction (required)
  @param documentId id of document to get (required)
  @return ApiResponse&lt;String&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body