Package io.constructor.client
Class FacetOptionConfigurationRequest
java.lang.Object
io.constructor.client.FacetOptionConfigurationRequest
Constructor.io Facet Option Configuration Request
-
Constructor Summary
ConstructorsConstructorDescriptionFacetOptionConfigurationRequest
(FacetOptionConfiguration facetOptionConfiguration, String facetName) Creates a facet option configuration request with default section "Products"FacetOptionConfigurationRequest
(FacetOptionConfiguration facetOptionConfiguration, String facetName, String section) Creates a facet option configuration request -
Method Summary
Modifier and TypeMethodDescriptionvoid
setFacetName
(String facetName) void
setFacetOptionConfiguration
(FacetOptionConfiguration facetOptionConfiguration) void
setSection
(String section)
-
Constructor Details
-
FacetOptionConfigurationRequest
public FacetOptionConfigurationRequest(FacetOptionConfiguration facetOptionConfiguration, String facetName, String section) Creates a facet option configuration request- Parameters:
facetOptionConfiguration
- the facet option configuration to be createdfacetName
- the name of the facetsection
- the section to which the facet belongs
-
FacetOptionConfigurationRequest
public FacetOptionConfigurationRequest(FacetOptionConfiguration facetOptionConfiguration, String facetName) Creates a facet option configuration request with default section "Products"- Parameters:
facetOptionConfiguration
- the facet option configuration to be createdfacetName
- the name of the facet
-
-
Method Details
-
getFacetOptionConfiguration
- Returns:
- the facet option configuration
-
setFacetOptionConfiguration
- Parameters:
facetOptionConfiguration
- the facet option configuration to set
-
getFacetName
- Returns:
- the facet name
-
setFacetName
- Parameters:
facetName
- the facet name to set
-
getSection
- Returns:
- the section
-
setSection
- Parameters:
section
- the section to set
-