Class HighlightConfiguration

java.lang.Object
com.liferay.search.experiences.rest.dto.v1_0.HighlightConfiguration
All Implemented Interfaces:
Serializable

@Generated("") public class HighlightConfiguration extends Object implements Serializable
See Also:
Generated:
  • Field Details

    • fields

      protected Map<String,HighlightField> fields
    • fragment_size

      protected Integer fragment_size
    • number_of_fragments

      protected Integer number_of_fragments
    • post_tags

      protected String[] post_tags
    • pre_tags

      protected String[] pre_tags
    • require_field_match

      protected Boolean require_field_match
    • type

      protected String type
    • xClassName

      public String xClassName
  • Constructor Details

    • HighlightConfiguration

      public HighlightConfiguration()
  • Method Details

    • toDTO

      public static HighlightConfiguration toDTO(String json)
    • unsafeToDTO

      public static HighlightConfiguration unsafeToDTO(String json)
    • getFields

      @Valid public @Valid Map<String,HighlightField> getFields()
    • setFields

      public void setFields(Map<String,HighlightField> fields)
    • setFields

      public void setFields(com.liferay.petra.function.UnsafeSupplier<Map<String,HighlightField>,Exception> fieldsUnsafeSupplier)
    • getFragment_size

      public Integer getFragment_size()
    • setFragment_size

      public void setFragment_size(Integer fragment_size)
    • setFragment_size

      public void setFragment_size(com.liferay.petra.function.UnsafeSupplier<Integer,Exception> fragment_sizeUnsafeSupplier)
    • getNumber_of_fragments

      public Integer getNumber_of_fragments()
    • setNumber_of_fragments

      public void setNumber_of_fragments(Integer number_of_fragments)
    • setNumber_of_fragments

      public void setNumber_of_fragments(com.liferay.petra.function.UnsafeSupplier<Integer,Exception> number_of_fragmentsUnsafeSupplier)
    • getPost_tags

      public String[] getPost_tags()
    • setPost_tags

      public void setPost_tags(String[] post_tags)
    • setPost_tags

      public void setPost_tags(com.liferay.petra.function.UnsafeSupplier<String[],Exception> post_tagsUnsafeSupplier)
    • getPre_tags

      public String[] getPre_tags()
    • setPre_tags

      public void setPre_tags(String[] pre_tags)
    • setPre_tags

      public void setPre_tags(com.liferay.petra.function.UnsafeSupplier<String[],Exception> pre_tagsUnsafeSupplier)
    • getRequire_field_match

      public Boolean getRequire_field_match()
    • setRequire_field_match

      public void setRequire_field_match(Boolean require_field_match)
    • setRequire_field_match

      public void setRequire_field_match(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> require_field_matchUnsafeSupplier)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • setType

      public void setType(com.liferay.petra.function.UnsafeSupplier<String,Exception> typeUnsafeSupplier)
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object