Class UserSettings

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.UserSettings
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class UserSettings extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the User Settings.
  • Field Details

    • contributionToContentDiscoveryAsOrganizationDisabled

      @SerializedName(value="contributionToContentDiscoveryAsOrganizationDisabled", alternate="ContributionToContentDiscoveryAsOrganizationDisabled") @Expose @Nullable public Boolean contributionToContentDiscoveryAsOrganizationDisabled
      The Contribution To Content Discovery As Organization Disabled. Reflects the organization level setting controlling delegate access to the trending API. When set to true, the organization doesn't have access to Office Delve. The relevancy of the content displayed in Microsoft 365, for example in Suggested sites in SharePoint Home and the Discover view in OneDrive for Business is affected for the whole organization. This setting is read-only and can only be changed by administrators in the SharePoint admin center.
    • contributionToContentDiscoveryDisabled

      @SerializedName(value="contributionToContentDiscoveryDisabled", alternate="ContributionToContentDiscoveryDisabled") @Expose @Nullable public Boolean contributionToContentDiscoveryDisabled
      The Contribution To Content Discovery Disabled. When set to true, the delegate access to the user's trending API is disabled. When set to true, documents in the user's Office Delve are disabled. When set to true, the relevancy of the content displayed in Microsoft 365, for example in Suggested sites in SharePoint Home and the Discover view in OneDrive for Business is affected. Users can control this setting in Office Delve.
    • shiftPreferences

      @SerializedName(value="shiftPreferences", alternate="ShiftPreferences") @Expose @Nullable public ShiftPreferences shiftPreferences
      The Shift Preferences.
  • Constructor Details

    • UserSettings

      public UserSettings()
  • 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 Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to