@@ -0,0 +1,838 @@
+package io.induct.rest;%0A%0A/**%0A * @since 2015-05-23%0A */%0Apublic class ApiResponse%3CT%3E %7B%0A%0A%0A    private final int statusCode;%0A    private final T body;%0A%0A    public ApiResponse(int statusCode, T body) %7B%0A        this.statusCode = statusCode;%0A        this.body = body;%0A    %7D%0A%0A    public int getStatusCode() %7B%0A        return statusCode;%0A    %7D%0A%0A    public T getBody() %7B%0A        return body;%0A    %7D%0A%0A    public static class Builder%3CT%3E %7B%0A        private int statusCode;%0A        private T body;%0A%0A        public Builder%3CT%3E withStatus(int statusCode) %7B%0A            this.statusCode = statusCode;%0A            return this;%0A        %7D%0A        public Builder%3CT%3E withBody(T body) %7B%0A            this.body = body;%0A            return this;%0A        %7D%0A%0A        public ApiResponse%3CT%3E build() %7B%0A            return new ApiResponse%3C%3E(statusCode, body);%0A        %7D%0A    %7D%0A%7D%0A

Use ApiResponse for Profiles API