GoogleCloudRetailV2SearchRequestFacetSpecFacetKey class
Specifies how a facet is computed.
Constructors
-
GoogleCloudRetailV2SearchRequestFacetSpecFacetKey({bool? caseInsensitive, List<
String> ? contains, List<GoogleCloudRetailV2Interval> ? intervals, String? key, String? orderBy, List<String> ? prefixes, String? query, List<String> ? restrictedValues, bool? returnMinMax}) - GoogleCloudRetailV2SearchRequestFacetSpecFacetKey.fromJson(Map json_)
Properties
- caseInsensitive ↔ bool?
-
True to make facet keys case insensitive when getting faceting values with
prefixes or contains; false otherwise.
getter/setter pair
-
contains
↔ List<
String> ? -
Only get facet values that contains the given strings.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
intervals
↔ List<
GoogleCloudRetailV2Interval> ? -
Set only if values should be bucketized into intervals.
getter/setter pair
- key ↔ String?
-
Supported textual and numerical facet keys in Product object, over which
the facet values are computed.
getter/setter pair
- orderBy ↔ String?
-
The order in which SearchResponse.Facet.values are returned.
getter/setter pair
-
prefixes
↔ List<
String> ? -
Only get facet values that start with the given string prefix.
getter/setter pair
- query ↔ String?
-
The query that is used to compute facet for the given facet key.
getter/setter pair
-
restrictedValues
↔ List<
String> ? -
Only get facet for the given restricted values.
getter/setter pair
- returnMinMax ↔ bool?
-
Returns the min and max value for each numerical facet intervals.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited