src/main/java/com/xero/api/client/BankFeedsApi.java
public FeedConnections createFeedConnections(FeedConnections feedConnections) throws IOException {
        try {
            String strBody = null;
            Map<String, String> params = null;
            String correctPath = "/FeedConnections";
            UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + correctPath);
            String url = uriBuilder.build().toString();

            
            strBody = apiClient.getObjectMapper().writeValueAsString(feedConnections);

            String response = this.DATA(url, strBody, params, "POST");
            TypeReference<FeedConnections> typeRef = new TypeReference<FeedConnections>() {};
            return apiClient.getObjectMapper().readValue(response, typeRef);

        } catch (IOException e) {
            throw xeroExceptionHandler.handleBadRequest(e.getMessage());
        } catch (XeroApiException e) {
            throw xeroExceptionHandler.handleBadRequest(e.getMessage(), e.getResponseCode(),JSONUtils.isJSONValid(e.getMessage()));
        }
    }
/**
    * create one or more new feed connection
    * By passing in the appropriate body, you can create one or more new feed connections in the system 
    * <p><b>201</b> - feed connection created
    * <p><b>400</b> - invalid input, object invalid
    * @param feedConnections Feed Connection(s) to add
    * @return FeedConnections
    * @throws IOException if an error occurs while attempting to invoke the API
    **/
create one or more new feed connection
By passing in the appropriate body, you can create one or more new feed connections in the system
201 - feed connection created
400 - invalid input, object invalid
@param feedConnections Feed Connection(s) to add
@return FeedConnections
@throws IOException if an error occurs while attempting to invoke the API
create one or more new feed connection By passing in the appropriate body you can create one or more new feed connections in the system 201 - feed connection created 400 - invalid input object invalid @param feedConnections Feed Connection ( s ) to add @return FeedConnections @throws IOException if an error occurs while attempting to invoke the API
public FeedConnections createFeedConnections(FeedConnections feedConnections) throws IOException {
        try {
            String strBody = null;
            Map<String, String> params = null;
            String correctPath = "/FeedConnections";
            UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + correctPath);
            String url = uriBuilder.build().toString();
            strBody = apiClient.getObjectMapper().writeValueAsString(feedConnections);
            String response = this.DATA(url, strBody, params, "POST");
            TypeReference<FeedConnections> typeRef = new TypeReference<FeedConnections>() {};
            return apiClient.getObjectMapper().readValue(response, typeRef);
        } catch (IOException e) {
            throw xeroExceptionHandler.handleBadRequest(e.getMessage());
        } catch (XeroApiException e) {
            throw xeroExceptionHandler.handleBadRequest(e.getMessage(), e.getResponseCode(),JSONUtils.isJSONValid(e.getMessage()));
        }
    }
public FeedConnections createFeedConnections ( FeedConnections feedConnections ) throws IOException { try { String strBody = null ; Map < String , String > params = null ; String correctPath = "/FeedConnections" ; UriBuilder uriBuilder = UriBuilder . fromUri ( apiClient . getBasePath ( ) + correctPath ) ; String url = uriBuilder . build ( ) . toString ( ) ; strBody = apiClient . getObjectMapper ( ) . writeValueAsString ( feedConnections ) ; String response = this . DATA ( url , strBody , params , "POST" ) ; TypeReference < FeedConnections > typeRef = new TypeReference < FeedConnections > ( ) { } ; return apiClient . getObjectMapper ( ) . readValue ( response , typeRef ) ; } catch ( IOException e ) { throw xeroExceptionHandler . handleBadRequest ( e . getMessage ( ) ) ; } catch ( XeroApiException e ) { throw xeroExceptionHandler . handleBadRequest ( e . getMessage ( ) , e . getResponseCode ( ) , JSONUtils . isJSONValid ( e . getMessage ( ) ) ) ; } }
create one or more new feed connection
 By passing in the appropriate body, you can create one or more new feed connections in the system
 <p><b>201</b> - feed connection created
 <p><b>400</b> - invalid input, object invalid
 @param feedConnections Feed Connection(s) to add
 @return FeedConnections
 @throws IOException if an error occurs while attempting to invoke the API
create one or more new feed connection By passing in the appropriate body you can create one or more new feed connections in the system <p > <b > 201< / b > - feed connection created <p > <b > 400< / b > - invalid input object invalid @param feedConnections Feed Connection ( s ) to add @return FeedConnections @throws IOException if an error occurs while attempting to invoke the API