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 SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<QueryRulesetMatchedRule>Json deserializer forQueryRulesetMatchedRule
- 
Method SummaryModifier and TypeMethodDescriptionstatic QueryRulesetMatchedRulefinal StringruleId()Required - Rule unique identifier within that rulesetfinal StringRequired - Ruleset unique identifiervoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
- 
Field Details- 
_DESERIALIZERJson deserializer forQueryRulesetMatchedRule
 
- 
- 
Method Details- 
ofpublic static QueryRulesetMatchedRule of(Function<QueryRulesetMatchedRule.Builder, ObjectBuilder<QueryRulesetMatchedRule>> fn) 
- 
rulesetIdRequired - Ruleset unique identifierAPI name: ruleset_id
- 
ruleIdRequired - Rule unique identifier within that rulesetAPI name: rule_id
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
toString
- 
setupQueryRulesetMatchedRuleDeserializerprotected static void setupQueryRulesetMatchedRuleDeserializer(ObjectDeserializer<QueryRulesetMatchedRule.Builder> op) 
 
-