ToolDataStoreToolBoostSpecSpecConditionBoostSpecBoostControlSpec class

Constructors

ToolDataStoreToolBoostSpecSpecConditionBoostSpecBoostControlSpec({Input<String?>? attributeType, Input<List<ToolDataStoreToolBoostSpecSpecConditionBoostSpecBoostControlSpecControlPoint>?>? controlPoints, Input<String?>? fieldName, Input<String?>? interpolationType})
Creates a new ToolDataStoreToolBoostSpecSpecConditionBoostSpecBoostControlSpec. attributeType The attribute type to be used to determine the boost amount. The controlPoints The control points used to define the curve. The monotonic function fieldName The name of the field whose value will be used to determine the interpolationType The interpolation type to be applied to connect the control points
const
ToolDataStoreToolBoostSpecSpecConditionBoostSpecBoostControlSpec.fromMap(Map<String, dynamic> map)
factory

Properties

attributeType → Input<String?>?
The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attributeValue = numerical_field_value. In the case of freshness however, attributeValue = (time.now() - datetime_field_value). Possible values: NUMERICAL FRESHNESS
final
controlPoints → Input<List<ToolDataStoreToolBoostSpecSpecConditionBoostSpecBoostControlSpecControlPoint>?>?
The control points used to define the curve. The monotonic function (defined through the interpolationType above) passes through the control points listed here. Structure is documented below.
final
fieldName → Input<String?>?
The name of the field whose value will be used to determine the boost amount.
final
hashCode → int
The hash code for this object.
no setterinherited
interpolationType → Input<String?>?
The interpolation type to be applied to connect the control points listed below. Possible values: LINEAR
final
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
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited