Class SearchEntity

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.SearchEntity
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class SearchEntity extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • SearchEntity

      public SearchEntity()
      Instantiates a new SearchEntity and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static SearchEntity createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a SearchEntity
    • getAcronyms

      @Nullable public List<Acronym> getAcronyms()
      Gets the acronyms property value. Administrative answer in Microsoft Search results to define common acronyms in an organization.
      Returns:
      a List<Acronym>
    • getBookmarks

      @Nullable public List<Bookmark> getBookmarks()
      Gets the bookmarks property value. Administrative answer in Microsoft Search results for common search queries in an organization.
      Returns:
      a List<Bookmark>
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getQnas

      @Nullable public List<Qna> getQnas()
      Gets the qnas property value. Administrative answer in Microsoft Search results that provide answers for specific search keywords in an organization.
      Returns:
      a List<Qna>
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAcronyms

      public void setAcronyms(@Nullable List<Acronym> value)
      Sets the acronyms property value. Administrative answer in Microsoft Search results to define common acronyms in an organization.
      Parameters:
      value - Value to set for the acronyms property.
    • setBookmarks

      public void setBookmarks(@Nullable List<Bookmark> value)
      Sets the bookmarks property value. Administrative answer in Microsoft Search results for common search queries in an organization.
      Parameters:
      value - Value to set for the bookmarks property.
    • setQnas

      public void setQnas(@Nullable List<Qna> value)
      Sets the qnas property value. Administrative answer in Microsoft Search results that provide answers for specific search keywords in an organization.
      Parameters:
      value - Value to set for the qnas property.