Class QueryRulesetMatchedRule
java.lang.Object
co.elastic.clients.elasticsearch.query_rules.test.QueryRulesetMatchedRule
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class QueryRulesetMatchedRule
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<QueryRulesetMatchedRule>
Json deserializer forQueryRulesetMatchedRule
-
Method Summary
Modifier and TypeMethodDescriptionstatic QueryRulesetMatchedRule
final String
ruleId()
Required - Rule unique identifier within that rulesetfinal String
Required - Ruleset unique identifiervoid
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forQueryRulesetMatchedRule
-
-
Method Details
-
of
public static QueryRulesetMatchedRule of(Function<QueryRulesetMatchedRule.Builder, ObjectBuilder<QueryRulesetMatchedRule>> fn) -
rulesetId
Required - Ruleset unique identifierAPI name:
ruleset_id
-
ruleId
Required - Rule unique identifier within that rulesetAPI name:
rule_id
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupQueryRulesetMatchedRuleDeserializer
protected static void setupQueryRulesetMatchedRuleDeserializer(ObjectDeserializer<QueryRulesetMatchedRule.Builder> op)
-