Class SharepointSettings

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

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

    • SharepointSettings

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

    • createFromDiscriminatorValue

      @Nonnull public static SharepointSettings 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 SharepointSettings
    • getAllowedDomainGuidsForSyncApp

      @Nullable public List<UUID> getAllowedDomainGuidsForSyncApp()
      Gets the allowedDomainGuidsForSyncApp property value. Collection of trusted domain GUIDs for the OneDrive sync app.
      Returns:
      a List<UUID>
    • getAvailableManagedPathsForSiteCreation

      @Nullable public List<String> getAvailableManagedPathsForSiteCreation()
      Gets the availableManagedPathsForSiteCreation property value. Collection of managed paths available for site creation. Read-only.
      Returns:
      a List<String>
    • getDeletedUserPersonalSiteRetentionPeriodInDays

      @Nullable public Integer getDeletedUserPersonalSiteRetentionPeriodInDays()
      Gets the deletedUserPersonalSiteRetentionPeriodInDays property value. The number of days for preserving a deleted user's OneDrive.
      Returns:
      a Integer
    • getExcludedFileExtensionsForSyncApp

      @Nullable public List<String> getExcludedFileExtensionsForSyncApp()
      Gets the excludedFileExtensionsForSyncApp property value. Collection of file extensions not uploaded by the OneDrive sync app.
      Returns:
      a List<String>
    • 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>>
    • getIdleSessionSignOut

      @Nullable public IdleSessionSignOut getIdleSessionSignOut()
      Gets the idleSessionSignOut property value. Specifies the idle session sign-out policies for the tenant.
      Returns:
      a IdleSessionSignOut
    • getImageTaggingOption

      @Nullable public ImageTaggingChoice getImageTaggingOption()
      Gets the imageTaggingOption property value. Specifies the image tagging option for the tenant. Possible values are: disabled, basic, enhanced.
      Returns:
      a ImageTaggingChoice
    • getIsCommentingOnSitePagesEnabled

      @Nullable public Boolean getIsCommentingOnSitePagesEnabled()
      Gets the isCommentingOnSitePagesEnabled property value. Indicates whether comments are allowed on modern site pages in SharePoint.
      Returns:
      a Boolean
    • getIsFileActivityNotificationEnabled

      @Nullable public Boolean getIsFileActivityNotificationEnabled()
      Gets the isFileActivityNotificationEnabled property value. Indicates whether push notifications are enabled for OneDrive events.
      Returns:
      a Boolean
    • getIsLegacyAuthProtocolsEnabled

      @Nullable public Boolean getIsLegacyAuthProtocolsEnabled()
      Gets the isLegacyAuthProtocolsEnabled property value. Indicates whether legacy authentication protocols are enabled for the tenant.
      Returns:
      a Boolean
    • getIsLoopEnabled

      @Nullable public Boolean getIsLoopEnabled()
      Gets the isLoopEnabled property value. Indicates whether if Fluid Framework is allowed on SharePoint sites.
      Returns:
      a Boolean
    • getIsMacSyncAppEnabled

      @Nullable public Boolean getIsMacSyncAppEnabled()
      Gets the isMacSyncAppEnabled property value. Indicates whether files can be synced using the OneDrive sync app for Mac.
      Returns:
      a Boolean
    • getIsRequireAcceptingUserToMatchInvitedUserEnabled

      @Nullable public Boolean getIsRequireAcceptingUserToMatchInvitedUserEnabled()
      Gets the isRequireAcceptingUserToMatchInvitedUserEnabled property value. Indicates whether guests must sign in using the same account to which sharing invitations are sent.
      Returns:
      a Boolean
    • getIsResharingByExternalUsersEnabled

      @Nullable public Boolean getIsResharingByExternalUsersEnabled()
      Gets the isResharingByExternalUsersEnabled property value. Indicates whether guests are allowed to reshare files, folders, and sites they don't own.
      Returns:
      a Boolean
    • getIsSharePointMobileNotificationEnabled

      @Nullable public Boolean getIsSharePointMobileNotificationEnabled()
      Gets the isSharePointMobileNotificationEnabled property value. Indicates whether mobile push notifications are enabled for SharePoint.
      Returns:
      a Boolean
    • getIsSharePointNewsfeedEnabled

      @Nullable public Boolean getIsSharePointNewsfeedEnabled()
      Gets the isSharePointNewsfeedEnabled property value. Indicates whether the newsfeed is allowed on the modern site pages in SharePoint.
      Returns:
      a Boolean
    • getIsSiteCreationEnabled

      @Nullable public Boolean getIsSiteCreationEnabled()
      Gets the isSiteCreationEnabled property value. Indicates whether users are allowed to create sites.
      Returns:
      a Boolean
    • getIsSiteCreationUIEnabled

      @Nullable public Boolean getIsSiteCreationUIEnabled()
      Gets the isSiteCreationUIEnabled property value. Indicates whether the UI commands for creating sites are shown.
      Returns:
      a Boolean
    • getIsSitePagesCreationEnabled

      @Nullable public Boolean getIsSitePagesCreationEnabled()
      Gets the isSitePagesCreationEnabled property value. Indicates whether creating new modern pages is allowed on SharePoint sites.
      Returns:
      a Boolean
    • getIsSitesStorageLimitAutomatic

      @Nullable public Boolean getIsSitesStorageLimitAutomatic()
      Gets the isSitesStorageLimitAutomatic property value. Indicates whether site storage space is automatically managed or if specific storage limits are set per site.
      Returns:
      a Boolean
    • getIsSyncButtonHiddenOnPersonalSite

      @Nullable public Boolean getIsSyncButtonHiddenOnPersonalSite()
      Gets the isSyncButtonHiddenOnPersonalSite property value. Indicates whether the sync button in OneDrive is hidden.
      Returns:
      a Boolean
    • getIsUnmanagedSyncAppForTenantRestricted

      @Nullable public Boolean getIsUnmanagedSyncAppForTenantRestricted()
      Gets the isUnmanagedSyncAppForTenantRestricted property value. Indicates whether users are allowed to sync files only on PCs joined to specific domains.
      Returns:
      a Boolean
    • getPersonalSiteDefaultStorageLimitInMB

      @Nullable public Long getPersonalSiteDefaultStorageLimitInMB()
      Gets the personalSiteDefaultStorageLimitInMB property value. The default OneDrive storage limit for all new and existing users who are assigned a qualifying license. Measured in megabytes (MB).
      Returns:
      a Long
    • getSharingAllowedDomainList

      @Nullable public List<String> getSharingAllowedDomainList()
      Gets the sharingAllowedDomainList property value. Collection of email domains that are allowed for sharing outside the organization.
      Returns:
      a List<String>
    • getSharingBlockedDomainList

      @Nullable public List<String> getSharingBlockedDomainList()
      Gets the sharingBlockedDomainList property value. Collection of email domains that are blocked for sharing outside the organization.
      Returns:
      a List<String>
    • getSharingCapability

      @Nullable public SharingCapabilities getSharingCapability()
      Gets the sharingCapability property value. Sharing capability for the tenant. Possible values are: disabled, externalUserSharingOnly, externalUserAndGuestSharing, existingExternalUserSharingOnly.
      Returns:
      a SharingCapabilities
    • getSharingDomainRestrictionMode

      @Nullable public SharingDomainRestrictionMode getSharingDomainRestrictionMode()
      Gets the sharingDomainRestrictionMode property value. Specifies the external sharing mode for domains. Possible values are: none, allowList, blockList.
      Returns:
      a SharingDomainRestrictionMode
    • getSiteCreationDefaultManagedPath

      @Nullable public String getSiteCreationDefaultManagedPath()
      Gets the siteCreationDefaultManagedPath property value. The value of the team site managed path. This is the path under which new team sites will be created.
      Returns:
      a String
    • getSiteCreationDefaultStorageLimitInMB

      @Nullable public Integer getSiteCreationDefaultStorageLimitInMB()
      Gets the siteCreationDefaultStorageLimitInMB property value. The default storage quota for a new site upon creation. Measured in megabytes (MB).
      Returns:
      a Integer
    • getTenantDefaultTimezone

      @Nullable public String getTenantDefaultTimezone()
      Gets the tenantDefaultTimezone property value. The default timezone of a tenant for newly created sites. For a list of possible values, see SPRegionalSettings.TimeZones property.
      Returns:
      a String
    • 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
    • setAllowedDomainGuidsForSyncApp

      public void setAllowedDomainGuidsForSyncApp(@Nullable List<UUID> value)
      Sets the allowedDomainGuidsForSyncApp property value. Collection of trusted domain GUIDs for the OneDrive sync app.
      Parameters:
      value - Value to set for the allowedDomainGuidsForSyncApp property.
    • setAvailableManagedPathsForSiteCreation

      public void setAvailableManagedPathsForSiteCreation(@Nullable List<String> value)
      Sets the availableManagedPathsForSiteCreation property value. Collection of managed paths available for site creation. Read-only.
      Parameters:
      value - Value to set for the availableManagedPathsForSiteCreation property.
    • setDeletedUserPersonalSiteRetentionPeriodInDays

      public void setDeletedUserPersonalSiteRetentionPeriodInDays(@Nullable Integer value)
      Sets the deletedUserPersonalSiteRetentionPeriodInDays property value. The number of days for preserving a deleted user's OneDrive.
      Parameters:
      value - Value to set for the deletedUserPersonalSiteRetentionPeriodInDays property.
    • setExcludedFileExtensionsForSyncApp

      public void setExcludedFileExtensionsForSyncApp(@Nullable List<String> value)
      Sets the excludedFileExtensionsForSyncApp property value. Collection of file extensions not uploaded by the OneDrive sync app.
      Parameters:
      value - Value to set for the excludedFileExtensionsForSyncApp property.
    • setIdleSessionSignOut

      public void setIdleSessionSignOut(@Nullable IdleSessionSignOut value)
      Sets the idleSessionSignOut property value. Specifies the idle session sign-out policies for the tenant.
      Parameters:
      value - Value to set for the idleSessionSignOut property.
    • setImageTaggingOption

      public void setImageTaggingOption(@Nullable ImageTaggingChoice value)
      Sets the imageTaggingOption property value. Specifies the image tagging option for the tenant. Possible values are: disabled, basic, enhanced.
      Parameters:
      value - Value to set for the imageTaggingOption property.
    • setIsCommentingOnSitePagesEnabled

      public void setIsCommentingOnSitePagesEnabled(@Nullable Boolean value)
      Sets the isCommentingOnSitePagesEnabled property value. Indicates whether comments are allowed on modern site pages in SharePoint.
      Parameters:
      value - Value to set for the isCommentingOnSitePagesEnabled property.
    • setIsFileActivityNotificationEnabled

      public void setIsFileActivityNotificationEnabled(@Nullable Boolean value)
      Sets the isFileActivityNotificationEnabled property value. Indicates whether push notifications are enabled for OneDrive events.
      Parameters:
      value - Value to set for the isFileActivityNotificationEnabled property.
    • setIsLegacyAuthProtocolsEnabled

      public void setIsLegacyAuthProtocolsEnabled(@Nullable Boolean value)
      Sets the isLegacyAuthProtocolsEnabled property value. Indicates whether legacy authentication protocols are enabled for the tenant.
      Parameters:
      value - Value to set for the isLegacyAuthProtocolsEnabled property.
    • setIsLoopEnabled

      public void setIsLoopEnabled(@Nullable Boolean value)
      Sets the isLoopEnabled property value. Indicates whether if Fluid Framework is allowed on SharePoint sites.
      Parameters:
      value - Value to set for the isLoopEnabled property.
    • setIsMacSyncAppEnabled

      public void setIsMacSyncAppEnabled(@Nullable Boolean value)
      Sets the isMacSyncAppEnabled property value. Indicates whether files can be synced using the OneDrive sync app for Mac.
      Parameters:
      value - Value to set for the isMacSyncAppEnabled property.
    • setIsRequireAcceptingUserToMatchInvitedUserEnabled

      public void setIsRequireAcceptingUserToMatchInvitedUserEnabled(@Nullable Boolean value)
      Sets the isRequireAcceptingUserToMatchInvitedUserEnabled property value. Indicates whether guests must sign in using the same account to which sharing invitations are sent.
      Parameters:
      value - Value to set for the isRequireAcceptingUserToMatchInvitedUserEnabled property.
    • setIsResharingByExternalUsersEnabled

      public void setIsResharingByExternalUsersEnabled(@Nullable Boolean value)
      Sets the isResharingByExternalUsersEnabled property value. Indicates whether guests are allowed to reshare files, folders, and sites they don't own.
      Parameters:
      value - Value to set for the isResharingByExternalUsersEnabled property.
    • setIsSharePointMobileNotificationEnabled

      public void setIsSharePointMobileNotificationEnabled(@Nullable Boolean value)
      Sets the isSharePointMobileNotificationEnabled property value. Indicates whether mobile push notifications are enabled for SharePoint.
      Parameters:
      value - Value to set for the isSharePointMobileNotificationEnabled property.
    • setIsSharePointNewsfeedEnabled

      public void setIsSharePointNewsfeedEnabled(@Nullable Boolean value)
      Sets the isSharePointNewsfeedEnabled property value. Indicates whether the newsfeed is allowed on the modern site pages in SharePoint.
      Parameters:
      value - Value to set for the isSharePointNewsfeedEnabled property.
    • setIsSiteCreationEnabled

      public void setIsSiteCreationEnabled(@Nullable Boolean value)
      Sets the isSiteCreationEnabled property value. Indicates whether users are allowed to create sites.
      Parameters:
      value - Value to set for the isSiteCreationEnabled property.
    • setIsSiteCreationUIEnabled

      public void setIsSiteCreationUIEnabled(@Nullable Boolean value)
      Sets the isSiteCreationUIEnabled property value. Indicates whether the UI commands for creating sites are shown.
      Parameters:
      value - Value to set for the isSiteCreationUIEnabled property.
    • setIsSitePagesCreationEnabled

      public void setIsSitePagesCreationEnabled(@Nullable Boolean value)
      Sets the isSitePagesCreationEnabled property value. Indicates whether creating new modern pages is allowed on SharePoint sites.
      Parameters:
      value - Value to set for the isSitePagesCreationEnabled property.
    • setIsSitesStorageLimitAutomatic

      public void setIsSitesStorageLimitAutomatic(@Nullable Boolean value)
      Sets the isSitesStorageLimitAutomatic property value. Indicates whether site storage space is automatically managed or if specific storage limits are set per site.
      Parameters:
      value - Value to set for the isSitesStorageLimitAutomatic property.
    • setIsSyncButtonHiddenOnPersonalSite

      public void setIsSyncButtonHiddenOnPersonalSite(@Nullable Boolean value)
      Sets the isSyncButtonHiddenOnPersonalSite property value. Indicates whether the sync button in OneDrive is hidden.
      Parameters:
      value - Value to set for the isSyncButtonHiddenOnPersonalSite property.
    • setIsUnmanagedSyncAppForTenantRestricted

      public void setIsUnmanagedSyncAppForTenantRestricted(@Nullable Boolean value)
      Sets the isUnmanagedSyncAppForTenantRestricted property value. Indicates whether users are allowed to sync files only on PCs joined to specific domains.
      Parameters:
      value - Value to set for the isUnmanagedSyncAppForTenantRestricted property.
    • setPersonalSiteDefaultStorageLimitInMB

      public void setPersonalSiteDefaultStorageLimitInMB(@Nullable Long value)
      Sets the personalSiteDefaultStorageLimitInMB property value. The default OneDrive storage limit for all new and existing users who are assigned a qualifying license. Measured in megabytes (MB).
      Parameters:
      value - Value to set for the personalSiteDefaultStorageLimitInMB property.
    • setSharingAllowedDomainList

      public void setSharingAllowedDomainList(@Nullable List<String> value)
      Sets the sharingAllowedDomainList property value. Collection of email domains that are allowed for sharing outside the organization.
      Parameters:
      value - Value to set for the sharingAllowedDomainList property.
    • setSharingBlockedDomainList

      public void setSharingBlockedDomainList(@Nullable List<String> value)
      Sets the sharingBlockedDomainList property value. Collection of email domains that are blocked for sharing outside the organization.
      Parameters:
      value - Value to set for the sharingBlockedDomainList property.
    • setSharingCapability

      public void setSharingCapability(@Nullable SharingCapabilities value)
      Sets the sharingCapability property value. Sharing capability for the tenant. Possible values are: disabled, externalUserSharingOnly, externalUserAndGuestSharing, existingExternalUserSharingOnly.
      Parameters:
      value - Value to set for the sharingCapability property.
    • setSharingDomainRestrictionMode

      public void setSharingDomainRestrictionMode(@Nullable SharingDomainRestrictionMode value)
      Sets the sharingDomainRestrictionMode property value. Specifies the external sharing mode for domains. Possible values are: none, allowList, blockList.
      Parameters:
      value - Value to set for the sharingDomainRestrictionMode property.
    • setSiteCreationDefaultManagedPath

      public void setSiteCreationDefaultManagedPath(@Nullable String value)
      Sets the siteCreationDefaultManagedPath property value. The value of the team site managed path. This is the path under which new team sites will be created.
      Parameters:
      value - Value to set for the siteCreationDefaultManagedPath property.
    • setSiteCreationDefaultStorageLimitInMB

      public void setSiteCreationDefaultStorageLimitInMB(@Nullable Integer value)
      Sets the siteCreationDefaultStorageLimitInMB property value. The default storage quota for a new site upon creation. Measured in megabytes (MB).
      Parameters:
      value - Value to set for the siteCreationDefaultStorageLimitInMB property.
    • setTenantDefaultTimezone

      public void setTenantDefaultTimezone(@Nullable String value)
      Sets the tenantDefaultTimezone property value. The default timezone of a tenant for newly created sites. For a list of possible values, see SPRegionalSettings.TimeZones property.
      Parameters:
      value - Value to set for the tenantDefaultTimezone property.