Class MailSearchFolder

All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class MailSearchFolder extends MailFolder implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Mail Search Folder.
  • Field Details

    • filterQuery

      @SerializedName(value="filterQuery", alternate="FilterQuery") @Expose @Nullable public String filterQuery
      The Filter Query. The OData query to filter the messages.
    • includeNestedFolders

      @SerializedName(value="includeNestedFolders", alternate="IncludeNestedFolders") @Expose @Nullable public Boolean includeNestedFolders
      The Include Nested Folders. Indicates how the mailbox folder hierarchy should be traversed in the search. true means that a deep search should be done to include child folders in the hierarchy of each folder explicitly specified in sourceFolderIds. false means a shallow search of only each of the folders explicitly specified in sourceFolderIds.
    • isSupported

      @SerializedName(value="isSupported", alternate="IsSupported") @Expose @Nullable public Boolean isSupported
      The Is Supported. Indicates whether a search folder is editable using REST APIs.
    • sourceFolderIds

      @SerializedName(value="sourceFolderIds", alternate="SourceFolderIds") @Expose @Nullable public List<String> sourceFolderIds
      The Source Folder Ids. The mailbox folders that should be mined.
  • Constructor Details

    • MailSearchFolder

      public MailSearchFolder()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class MailFolder
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to