Class AskKodiak.SuggestQuery
- java.lang.Object
-
- com.trustedchoice.askkodiak.v2.client.AskKodiak.SuggestQuery
-
- Enclosing interface:
- AskKodiak
public static class AskKodiak.SuggestQuery extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AskKodiak.SuggestQuery.SuggestQueryBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AskKodiak.SuggestQuery.SuggestQueryBuilder
builder()
java.lang.String
getGroupType()
Limit the results to a certain NAICS group type.java.lang.Integer
getHitsPerPage()
The number of hits in each page of product results.java.lang.Integer
getPage()
Specify the page to retrieve.void
setGroupType(java.lang.String groupType)
Limit the results to a certain NAICS group type.void
setHitsPerPage(java.lang.Integer hitsPerPage)
The number of hits in each page of product results.void
setPage(java.lang.Integer page)
Specify the page to retrieve.
-
-
-
Method Detail
-
builder
public static AskKodiak.SuggestQuery.SuggestQueryBuilder builder()
-
getGroupType
public java.lang.String getGroupType()
Limit the results to a certain NAICS group type. Use this for example to restrict your search to only 6 digit NAICS National Industry Codes. Valid values are sector, subsector, industry-group, international-industry, or national-industry. If omitted, groups of all types will be present in the results.Only available on
AskKodiak.getSuggestedNaicsGroups(String, SuggestQuery)
-
getHitsPerPage
public java.lang.Integer getHitsPerPage()
The number of hits in each page of product results. If not specified, defaults to 20.
-
getPage
public java.lang.Integer getPage()
Specify the page to retrieve. If not specified, defaults to 0.
-
setGroupType
public void setGroupType(java.lang.String groupType)
Limit the results to a certain NAICS group type. Use this for example to restrict your search to only 6 digit NAICS National Industry Codes. Valid values are sector, subsector, industry-group, international-industry, or national-industry. If omitted, groups of all types will be present in the results.Only available on
AskKodiak.getSuggestedNaicsGroups(String, SuggestQuery)
-
setHitsPerPage
public void setHitsPerPage(java.lang.Integer hitsPerPage)
The number of hits in each page of product results. If not specified, defaults to 20.
-
setPage
public void setPage(java.lang.Integer page)
Specify the page to retrieve. If not specified, defaults to 0.
-
-