Class FacetOptionConfigurationRequest

java.lang.Object
io.constructor.client.FacetOptionConfigurationRequest

public class FacetOptionConfigurationRequest extends Object
Constructor.io Facet Option Configuration Request
  • 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 created
      facetName - the name of the facet
      section - 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 created
      facetName - the name of the facet
  • Method Details

    • getFacetOptionConfiguration

      public FacetOptionConfiguration getFacetOptionConfiguration()
      Returns:
      the facet option configuration
    • setFacetOptionConfiguration

      public void setFacetOptionConfiguration(FacetOptionConfiguration facetOptionConfiguration)
      Parameters:
      facetOptionConfiguration - the facet option configuration to set
    • getFacetName

      public String getFacetName()
      Returns:
      the facet name
    • setFacetName

      public void setFacetName(String facetName)
      Parameters:
      facetName - the facet name to set
    • getSection

      public String getSection()
      Returns:
      the section
    • setSection

      public void setSection(String section)
      Parameters:
      section - the section to set