Package com.microsoft.graph.models
Class UserSettings
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.UserSettings
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class UserSettings
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UserSettings
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the contributionToContentDiscoveryAsOrganizationDisabled property value.Gets the contributionToContentDiscoveryDisabled property value.The deserialization information for the current modelGets the itemInsights property value.Gets the shiftPreferences property value.Gets the storage property value.Gets the windows property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the contributionToContentDiscoveryAsOrganizationDisabled property value.void
Sets the contributionToContentDiscoveryDisabled property value.void
Sets the itemInsights property value.void
Sets the shiftPreferences property value.void
setStorage
(UserStorage value) Sets the storage property value.void
setWindows
(List<WindowsSetting> value) Sets the windows property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
UserSettings
public UserSettings()Instantiates a newUserSettings
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static UserSettings 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
UserSettings
-
getContributionToContentDiscoveryAsOrganizationDisabled
Gets the contributionToContentDiscoveryAsOrganizationDisabled property value. 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 work or school is affected for the whole organization. This setting is read-only and can only be changed by administrators in the SharePoint admin center.- Returns:
- a
Boolean
-
getContributionToContentDiscoveryDisabled
Gets the contributionToContentDiscoveryDisabled property value. 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 work or school is affected. Users can control this setting in Office Delve.- Returns:
- a
Boolean
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getItemInsights
Gets the itemInsights property value. The user's settings for the visibility of meeting hour insights, and insights derived between a user and other items in Microsoft 365, such as documents or sites. Get userInsightsSettings through this navigation property.- Returns:
- a
UserInsightsSettings
-
getShiftPreferences
Gets the shiftPreferences property value. The shiftPreferences property- Returns:
- a
ShiftPreferences
-
getStorage
Gets the storage property value. The storage property- Returns:
- a
UserStorage
-
getWindows
Gets the windows property value. The windows property- Returns:
- a
List<WindowsSetting>
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setContributionToContentDiscoveryAsOrganizationDisabled
Sets the contributionToContentDiscoveryAsOrganizationDisabled property value. 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 work or school is affected for the whole organization. This setting is read-only and can only be changed by administrators in the SharePoint admin center.- Parameters:
value
- Value to set for the contributionToContentDiscoveryAsOrganizationDisabled property.
-
setContributionToContentDiscoveryDisabled
Sets the contributionToContentDiscoveryDisabled property value. 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 work or school is affected. Users can control this setting in Office Delve.- Parameters:
value
- Value to set for the contributionToContentDiscoveryDisabled property.
-
setItemInsights
Sets the itemInsights property value. The user's settings for the visibility of meeting hour insights, and insights derived between a user and other items in Microsoft 365, such as documents or sites. Get userInsightsSettings through this navigation property.- Parameters:
value
- Value to set for the itemInsights property.
-
setShiftPreferences
Sets the shiftPreferences property value. The shiftPreferences property- Parameters:
value
- Value to set for the shiftPreferences property.
-
setStorage
Sets the storage property value. The storage property- Parameters:
value
- Value to set for the storage property.
-
setWindows
Sets the windows property value. The windows property- Parameters:
value
- Value to set for the windows property.
-