public interface MissingAttributesSearchRequest
| Modifier and Type | Method and Description |
|---|---|
static MissingAttributesSearchRequestBuilder |
builder() |
static MissingAttributesSearchRequestBuilder |
builder(MissingAttributesSearchRequest template) |
String |
getAttributeName()
Filters results by the provided attribute name.
|
Double |
getCoverageMax()
Maximum attribute coverage of variants to display, applied to both coverage types.
|
Double |
getCoverageMin()
Minimum attribute coverage of variants to display, applied to both coverage types.
|
Boolean |
getIncludeVariants()
If true, searches all product variants.
|
Integer |
getLimit() |
Integer |
getOffset() |
List<String> |
getProductIds()
Filters results by the provided Product IDs.
|
Integer |
getProductSetLimit()
Maximum number of products to scan.
|
List<String> |
getProductTypeIds()
Filters results by the provided product type IDs.
|
Boolean |
getShowMissingAttributeNames()
If true, the
missingAttributeNames will be included in the results. |
String |
getSortBy()
Default value:
coverageAttributeValues - Allowed values: [coverageAttributeValues, coverageAttributeNames]
coverageAttributeValues shows the product variants with the most missing attribute values first and coverageAttributeNames the ones with the most missing attribute names. |
Boolean |
getStaged()
If true, searches data from staged products in addition to published products.
|
static MissingAttributesSearchRequest |
of() |
static MissingAttributesSearchRequest |
of(MissingAttributesSearchRequest template) |
void |
setAttributeName(String attributeName) |
void |
setCoverageMax(Double coverageMax) |
void |
setCoverageMin(Double coverageMin) |
void |
setIncludeVariants(Boolean includeVariants) |
void |
setLimit(Integer limit) |
void |
setOffset(Integer offset) |
void |
setProductIds(List<String> productIds) |
void |
setProductIds(String... productIds) |
void |
setProductSetLimit(Integer productSetLimit) |
void |
setProductTypeIds(List<String> productTypeIds) |
void |
setProductTypeIds(String... productTypeIds) |
void |
setShowMissingAttributeNames(Boolean showMissingAttributeNames) |
void |
setSortBy(String sortBy) |
void |
setStaged(Boolean staged) |
default <T> T |
withMissingAttributesSearchRequest(Function<MissingAttributesSearchRequest,T> helper) |
Integer getLimit()
Integer getOffset()
Boolean getStaged()
If true, searches data from staged products in addition to published products.
Integer getProductSetLimit()
Maximum number of products to scan.
Boolean getIncludeVariants()
If true, searches all product variants. If false, only searches master variants.
Double getCoverageMin()
Minimum attribute coverage of variants to display, applied to both coverage types.
Double getCoverageMax()
Maximum attribute coverage of variants to display, applied to both coverage types.
String getSortBy()
Default value: coverageAttributeValues - Allowed values: [coverageAttributeValues, coverageAttributeNames]
coverageAttributeValues shows the product variants with the most missing attribute values first and coverageAttributeNames the ones with the most missing attribute names.
Boolean getShowMissingAttributeNames()
If true, the missingAttributeNames will be included in the results.
List<String> getProductIds()
Filters results by the provided Product IDs. Cannot be applied in combination with any other filter.
List<String> getProductTypeIds()
Filters results by the provided product type IDs. Cannot be applied in combination with any other filter.
String getAttributeName()
Filters results by the provided attribute name. If provided, products are only checked for this attribute. Therefore, only products of product types which define the attribute name are considered. These product type IDs
are then listed in MissingAttributesMeta. The attributeCount and attributeCoverage fields are not part of the response when using this filter. Cannot be applied in combination with any other filter.
void setLimit(Integer limit)
void setOffset(Integer offset)
void setStaged(Boolean staged)
void setProductSetLimit(Integer productSetLimit)
void setIncludeVariants(Boolean includeVariants)
void setCoverageMin(Double coverageMin)
void setCoverageMax(Double coverageMax)
void setSortBy(String sortBy)
void setShowMissingAttributeNames(Boolean showMissingAttributeNames)
void setProductIds(String... productIds)
void setProductTypeIds(String... productTypeIds)
void setAttributeName(String attributeName)
static MissingAttributesSearchRequest of()
static MissingAttributesSearchRequest of(MissingAttributesSearchRequest template)
static MissingAttributesSearchRequestBuilder builder()
static MissingAttributesSearchRequestBuilder builder(MissingAttributesSearchRequest template)
default <T> T withMissingAttributesSearchRequest(Function<MissingAttributesSearchRequest,T> helper)