@@ -0,0 +1,1191 @@
+/*%0A * Copyright 2015 Hewlett-Packard Development Company, L.P.%0A * Licensed under the MIT License (the %22License%22); you may not use this file except in compliance with the License.%0A */%0A%0Apackage com.hp.autonomy.iod.client.api.search;%0A%0Aimport com.fasterxml.jackson.annotation.JsonProperty;%0Aimport com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder;%0Aimport lombok.Data;%0Aimport lombok.Setter;%0Aimport lombok.experimental.Accessors;%0A%0A@Data%0Apublic class QueryProfile %7B%0A%0A    /** The name of the Query Profile */%0A    @JsonProperty(%22query_profile%22)%0A    private final String name;%0A%0A    /** The Query Profile config */%0A    private final QueryProfileConfig config;%0A%0A    private QueryProfile(final Builder builder) %7B%0A        name = builder.name;%0A        config = builder.config;%0A    %7D%0A%0A    @JsonPOJOBuilder(withPrefix = %22set%22)%0A    @Setter%0A    @Accessors(chain = true)%0A    public static class Builder %7B%0A%0A        /** The name of the Query Profile */%0A        @JsonProperty(%22query_profile%22)%0A        private String name;%0A%0A        /** The Query Profile config */%0A        private QueryProfileConfig config;%0A%0A        public QueryProfile build() %7B%0A            return new QueryProfile(this);%0A        %7D%0A    %7D%0A%7D%0A

Create QueryProfile class to encapsulate the pair of name & config