java.lang.Object
co.elastic.clients.elasticsearch.security.suggest_user_profiles.Hint
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class Hint extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

      public static Hint of(Function<Hint.Builder,ObjectBuilder<Hint>> fn)
    • uids

      public final List<String> uids()
      A list of Profile UIDs to match against.

      API name: uids

    • labels

      public final Map<String,List<String>> labels()
      A single key-value pair to match against the labels section of a profile. A profile is considered matching if it matches at least one of the strings.

      API name: labels

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupHintDeserializer

      protected static void setupHintDeserializer(ObjectDeserializer<Hint.Builder> op)