Class: MicrosoftGraph::Models::SharepointSettings

Inherits:
Entity
  • Object
show all
Includes:
MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/sharepoint_settings.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Entity

#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=

Constructor Details

#initializeObject

Instantiates a new sharepointSettings and sets the default values.



130
131
132
# File 'lib/models/sharepoint_settings.rb', line 130

def initialize()
    super
end

Class Method Details

.create_from_discriminator_value(parse_node) ⇒ Object

Creates a new instance of the appropriate class based on discriminator value

Parameters:

  • parse_node

    The parse node to use to read the discriminator value and create the object

Returns:

  • a sharepoint_settings

Raises:

  • (StandardError)


138
139
140
141
# File 'lib/models/sharepoint_settings.rb', line 138

def self.create_from_discriminator_value(parse_node)
    raise StandardError, 'parse_node cannot be null' if parse_node.nil?
    return SharepointSettings.new
end

Instance Method Details

#allowed_domain_guids_for_sync_appObject

Gets the allowedDomainGuidsForSyncApp property value. Collection of trusted domain GUIDs for the OneDrive sync app.

Returns:

  • a guid



100
101
102
# File 'lib/models/sharepoint_settings.rb', line 100

def allowed_domain_guids_for_sync_app
    return @allowed_domain_guids_for_sync_app
end

#allowed_domain_guids_for_sync_app=(value) ⇒ Object

Sets the allowedDomainGuidsForSyncApp property value. Collection of trusted domain GUIDs for the OneDrive sync app.

Parameters:

  • value

    Value to set for the allowedDomainGuidsForSyncApp property.

Returns:

  • a void



108
109
110
# File 'lib/models/sharepoint_settings.rb', line 108

def allowed_domain_guids_for_sync_app=(value)
    @allowed_domain_guids_for_sync_app = value
end

#available_managed_paths_for_site_creationObject

Gets the availableManagedPathsForSiteCreation property value. Collection of managed paths available for site creation. Read-only.

Returns:

  • a string



115
116
117
# File 'lib/models/sharepoint_settings.rb', line 115

def available_managed_paths_for_site_creation
    return @available_managed_paths_for_site_creation
end

#available_managed_paths_for_site_creation=(value) ⇒ Object

Sets the availableManagedPathsForSiteCreation property value. Collection of managed paths available for site creation. Read-only.

Parameters:

  • value

    Value to set for the availableManagedPathsForSiteCreation property.

Returns:

  • a void



123
124
125
# File 'lib/models/sharepoint_settings.rb', line 123

def available_managed_paths_for_site_creation=(value)
    @available_managed_paths_for_site_creation = value
end

#deleted_user_personal_site_retention_period_in_daysObject

Gets the deletedUserPersonalSiteRetentionPeriodInDays property value. The number of days for preserving a deleted user’s OneDrive.

Returns:

  • a integer



146
147
148
# File 'lib/models/sharepoint_settings.rb', line 146

def deleted_user_personal_site_retention_period_in_days
    return @deleted_user_personal_site_retention_period_in_days
end

#deleted_user_personal_site_retention_period_in_days=(value) ⇒ Object

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.

Returns:

  • a void



154
155
156
# File 'lib/models/sharepoint_settings.rb', line 154

def deleted_user_personal_site_retention_period_in_days=(value)
    @deleted_user_personal_site_retention_period_in_days = value
end

#excluded_file_extensions_for_sync_appObject

Gets the excludedFileExtensionsForSyncApp property value. Collection of file extensions not uploaded by the OneDrive sync app.

Returns:

  • a string



161
162
163
# File 'lib/models/sharepoint_settings.rb', line 161

def excluded_file_extensions_for_sync_app
    return @excluded_file_extensions_for_sync_app
end

#excluded_file_extensions_for_sync_app=(value) ⇒ Object

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.

Returns:

  • a void



169
170
171
# File 'lib/models/sharepoint_settings.rb', line 169

def excluded_file_extensions_for_sync_app=(value)
    @excluded_file_extensions_for_sync_app = value
end

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'lib/models/sharepoint_settings.rb', line 176

def get_field_deserializers()
    return super.merge({
        "allowedDomainGuidsForSyncApp" => lambda {|n| @allowed_domain_guids_for_sync_app = n.get_collection_of_primitive_values(UUIDTools::UUID) },
        "availableManagedPathsForSiteCreation" => lambda {|n| @available_managed_paths_for_site_creation = n.get_collection_of_primitive_values(String) },
        "deletedUserPersonalSiteRetentionPeriodInDays" => lambda {|n| @deleted_user_personal_site_retention_period_in_days = n.get_number_value() },
        "excludedFileExtensionsForSyncApp" => lambda {|n| @excluded_file_extensions_for_sync_app = n.get_collection_of_primitive_values(String) },
        "idleSessionSignOut" => lambda {|n| @idle_session_sign_out = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdleSessionSignOut.create_from_discriminator_value(pn) }) },
        "imageTaggingOption" => lambda {|n| @image_tagging_option = n.get_enum_value(MicrosoftGraph::Models::ImageTaggingChoice) },
        "isCommentingOnSitePagesEnabled" => lambda {|n| @is_commenting_on_site_pages_enabled = n.get_boolean_value() },
        "isFileActivityNotificationEnabled" => lambda {|n| @is_file_activity_notification_enabled = n.get_boolean_value() },
        "isLegacyAuthProtocolsEnabled" => lambda {|n| @is_legacy_auth_protocols_enabled = n.get_boolean_value() },
        "isLoopEnabled" => lambda {|n| @is_loop_enabled = n.get_boolean_value() },
        "isMacSyncAppEnabled" => lambda {|n| @is_mac_sync_app_enabled = n.get_boolean_value() },
        "isRequireAcceptingUserToMatchInvitedUserEnabled" => lambda {|n| @is_require_accepting_user_to_match_invited_user_enabled = n.get_boolean_value() },
        "isResharingByExternalUsersEnabled" => lambda {|n| @is_resharing_by_external_users_enabled = n.get_boolean_value() },
        "isSharePointMobileNotificationEnabled" => lambda {|n| @is_share_point_mobile_notification_enabled = n.get_boolean_value() },
        "isSharePointNewsfeedEnabled" => lambda {|n| @is_share_point_newsfeed_enabled = n.get_boolean_value() },
        "isSiteCreationEnabled" => lambda {|n| @is_site_creation_enabled = n.get_boolean_value() },
        "isSiteCreationUIEnabled" => lambda {|n| @is_site_creation_u_i_enabled = n.get_boolean_value() },
        "isSitePagesCreationEnabled" => lambda {|n| @is_site_pages_creation_enabled = n.get_boolean_value() },
        "isSitesStorageLimitAutomatic" => lambda {|n| @is_sites_storage_limit_automatic = n.get_boolean_value() },
        "isSyncButtonHiddenOnPersonalSite" => lambda {|n| @is_sync_button_hidden_on_personal_site = n.get_boolean_value() },
        "isUnmanagedSyncAppForTenantRestricted" => lambda {|n| @is_unmanaged_sync_app_for_tenant_restricted = n.get_boolean_value() },
        "personalSiteDefaultStorageLimitInMB" => lambda {|n| @personal_site_default_storage_limit_in_m_b = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) },
        "sharingAllowedDomainList" => lambda {|n| @sharing_allowed_domain_list = n.get_collection_of_primitive_values(String) },
        "sharingBlockedDomainList" => lambda {|n| @sharing_blocked_domain_list = n.get_collection_of_primitive_values(String) },
        "sharingCapability" => lambda {|n| @sharing_capability = n.get_enum_value(MicrosoftGraph::Models::SharingCapabilities) },
        "sharingDomainRestrictionMode" => lambda {|n| @sharing_domain_restriction_mode = n.get_enum_value(MicrosoftGraph::Models::SharingDomainRestrictionMode) },
        "siteCreationDefaultManagedPath" => lambda {|n| @site_creation_default_managed_path = n.get_string_value() },
        "siteCreationDefaultStorageLimitInMB" => lambda {|n| @site_creation_default_storage_limit_in_m_b = n.get_number_value() },
        "tenantDefaultTimezone" => lambda {|n| @tenant_default_timezone = n.get_string_value() },
    })
end

#idle_session_sign_outObject

Gets the idleSessionSignOut property value. Specifies the idle session sign-out policies for the tenant.

Returns:

  • a idle_session_sign_out



213
214
215
# File 'lib/models/sharepoint_settings.rb', line 213

def idle_session_sign_out
    return @idle_session_sign_out
end

#idle_session_sign_out=(value) ⇒ Object

Sets the idleSessionSignOut property value. Specifies the idle session sign-out policies for the tenant.

Parameters:

  • value

    Value to set for the idleSessionSignOut property.

Returns:

  • a void



221
222
223
# File 'lib/models/sharepoint_settings.rb', line 221

def idle_session_sign_out=(value)
    @idle_session_sign_out = value
end

#image_tagging_optionObject

Gets the imageTaggingOption property value. Specifies the image tagging option for the tenant. Possible values are: disabled, basic, enhanced.

Returns:

  • a image_tagging_choice



228
229
230
# File 'lib/models/sharepoint_settings.rb', line 228

def image_tagging_option
    return @image_tagging_option
end

#image_tagging_option=(value) ⇒ Object

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.

Returns:

  • a void



236
237
238
# File 'lib/models/sharepoint_settings.rb', line 236

def image_tagging_option=(value)
    @image_tagging_option = value
end

#is_commenting_on_site_pages_enabledObject

Gets the isCommentingOnSitePagesEnabled property value. Indicates whether comments are allowed on modern site pages in SharePoint.

Returns:

  • a boolean



243
244
245
# File 'lib/models/sharepoint_settings.rb', line 243

def is_commenting_on_site_pages_enabled
    return @is_commenting_on_site_pages_enabled
end

#is_commenting_on_site_pages_enabled=(value) ⇒ Object

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.

Returns:

  • a void



251
252
253
# File 'lib/models/sharepoint_settings.rb', line 251

def is_commenting_on_site_pages_enabled=(value)
    @is_commenting_on_site_pages_enabled = value
end

#is_file_activity_notification_enabledObject

Gets the isFileActivityNotificationEnabled property value. Indicates whether push notifications are enabled for OneDrive events.

Returns:

  • a boolean



258
259
260
# File 'lib/models/sharepoint_settings.rb', line 258

def is_file_activity_notification_enabled
    return @is_file_activity_notification_enabled
end

#is_file_activity_notification_enabled=(value) ⇒ Object

Sets the isFileActivityNotificationEnabled property value. Indicates whether push notifications are enabled for OneDrive events.

Parameters:

  • value

    Value to set for the isFileActivityNotificationEnabled property.

Returns:

  • a void



266
267
268
# File 'lib/models/sharepoint_settings.rb', line 266

def is_file_activity_notification_enabled=(value)
    @is_file_activity_notification_enabled = value
end

#is_legacy_auth_protocols_enabledObject

Gets the isLegacyAuthProtocolsEnabled property value. Indicates whether legacy authentication protocols are enabled for the tenant.

Returns:

  • a boolean



273
274
275
# File 'lib/models/sharepoint_settings.rb', line 273

def is_legacy_auth_protocols_enabled
    return @is_legacy_auth_protocols_enabled
end

#is_legacy_auth_protocols_enabled=(value) ⇒ Object

Sets the isLegacyAuthProtocolsEnabled property value. Indicates whether legacy authentication protocols are enabled for the tenant.

Parameters:

  • value

    Value to set for the isLegacyAuthProtocolsEnabled property.

Returns:

  • a void



281
282
283
# File 'lib/models/sharepoint_settings.rb', line 281

def is_legacy_auth_protocols_enabled=(value)
    @is_legacy_auth_protocols_enabled = value
end

#is_loop_enabledObject

Gets the isLoopEnabled property value. Indicates whether if Fluid Framework is allowed on SharePoint sites.

Returns:

  • a boolean



288
289
290
# File 'lib/models/sharepoint_settings.rb', line 288

def is_loop_enabled
    return @is_loop_enabled
end

#is_loop_enabled=(value) ⇒ Object

Sets the isLoopEnabled property value. Indicates whether if Fluid Framework is allowed on SharePoint sites.

Parameters:

  • value

    Value to set for the isLoopEnabled property.

Returns:

  • a void



296
297
298
# File 'lib/models/sharepoint_settings.rb', line 296

def is_loop_enabled=(value)
    @is_loop_enabled = value
end

#is_mac_sync_app_enabledObject

Gets the isMacSyncAppEnabled property value. Indicates whether files can be synced using the OneDrive sync app for Mac.

Returns:

  • a boolean



303
304
305
# File 'lib/models/sharepoint_settings.rb', line 303

def is_mac_sync_app_enabled
    return @is_mac_sync_app_enabled
end

#is_mac_sync_app_enabled=(value) ⇒ Object

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.

Returns:

  • a void



311
312
313
# File 'lib/models/sharepoint_settings.rb', line 311

def is_mac_sync_app_enabled=(value)
    @is_mac_sync_app_enabled = value
end

#is_require_accepting_user_to_match_invited_user_enabledObject

Gets the isRequireAcceptingUserToMatchInvitedUserEnabled property value. Indicates whether guests must sign in using the same account to which sharing invitations are sent.

Returns:

  • a boolean



318
319
320
# File 'lib/models/sharepoint_settings.rb', line 318

def is_require_accepting_user_to_match_invited_user_enabled
    return @is_require_accepting_user_to_match_invited_user_enabled
end

#is_require_accepting_user_to_match_invited_user_enabled=(value) ⇒ Object

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.

Returns:

  • a void



326
327
328
# File 'lib/models/sharepoint_settings.rb', line 326

def is_require_accepting_user_to_match_invited_user_enabled=(value)
    @is_require_accepting_user_to_match_invited_user_enabled = value
end

#is_resharing_by_external_users_enabledObject

Gets the isResharingByExternalUsersEnabled property value. Indicates whether guests are allowed to reshare files, folders, and sites they don’t own.

Returns:

  • a boolean



333
334
335
# File 'lib/models/sharepoint_settings.rb', line 333

def is_resharing_by_external_users_enabled
    return @is_resharing_by_external_users_enabled
end

#is_resharing_by_external_users_enabled=(value) ⇒ Object

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.

Returns:

  • a void



341
342
343
# File 'lib/models/sharepoint_settings.rb', line 341

def is_resharing_by_external_users_enabled=(value)
    @is_resharing_by_external_users_enabled = value
end

#is_share_point_mobile_notification_enabledObject

Gets the isSharePointMobileNotificationEnabled property value. Indicates whether mobile push notifications are enabled for SharePoint.

Returns:

  • a boolean



348
349
350
# File 'lib/models/sharepoint_settings.rb', line 348

def is_share_point_mobile_notification_enabled
    return @is_share_point_mobile_notification_enabled
end

#is_share_point_mobile_notification_enabled=(value) ⇒ Object

Sets the isSharePointMobileNotificationEnabled property value. Indicates whether mobile push notifications are enabled for SharePoint.

Parameters:

  • value

    Value to set for the isSharePointMobileNotificationEnabled property.

Returns:

  • a void



356
357
358
# File 'lib/models/sharepoint_settings.rb', line 356

def is_share_point_mobile_notification_enabled=(value)
    @is_share_point_mobile_notification_enabled = value
end

#is_share_point_newsfeed_enabledObject

Gets the isSharePointNewsfeedEnabled property value. Indicates whether the newsfeed is allowed on the modern site pages in SharePoint.

Returns:

  • a boolean



363
364
365
# File 'lib/models/sharepoint_settings.rb', line 363

def is_share_point_newsfeed_enabled
    return @is_share_point_newsfeed_enabled
end

#is_share_point_newsfeed_enabled=(value) ⇒ Object

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.

Returns:

  • a void



371
372
373
# File 'lib/models/sharepoint_settings.rb', line 371

def is_share_point_newsfeed_enabled=(value)
    @is_share_point_newsfeed_enabled = value
end

#is_site_creation_enabledObject

Gets the isSiteCreationEnabled property value. Indicates whether users are allowed to create sites.

Returns:

  • a boolean



378
379
380
# File 'lib/models/sharepoint_settings.rb', line 378

def is_site_creation_enabled
    return @is_site_creation_enabled
end

#is_site_creation_enabled=(value) ⇒ Object

Sets the isSiteCreationEnabled property value. Indicates whether users are allowed to create sites.

Parameters:

  • value

    Value to set for the isSiteCreationEnabled property.

Returns:

  • a void



386
387
388
# File 'lib/models/sharepoint_settings.rb', line 386

def is_site_creation_enabled=(value)
    @is_site_creation_enabled = value
end

#is_site_creation_u_i_enabledObject

Gets the isSiteCreationUIEnabled property value. Indicates whether the UI commands for creating sites are shown.

Returns:

  • a boolean



393
394
395
# File 'lib/models/sharepoint_settings.rb', line 393

def is_site_creation_u_i_enabled
    return @is_site_creation_u_i_enabled
end

#is_site_creation_u_i_enabled=(value) ⇒ Object

Sets the isSiteCreationUIEnabled property value. Indicates whether the UI commands for creating sites are shown.

Parameters:

  • value

    Value to set for the isSiteCreationUIEnabled property.

Returns:

  • a void



401
402
403
# File 'lib/models/sharepoint_settings.rb', line 401

def is_site_creation_u_i_enabled=(value)
    @is_site_creation_u_i_enabled = value
end

#is_site_pages_creation_enabledObject

Gets the isSitePagesCreationEnabled property value. Indicates whether creating new modern pages is allowed on SharePoint sites.

Returns:

  • a boolean



408
409
410
# File 'lib/models/sharepoint_settings.rb', line 408

def is_site_pages_creation_enabled
    return @is_site_pages_creation_enabled
end

#is_site_pages_creation_enabled=(value) ⇒ Object

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.

Returns:

  • a void



416
417
418
# File 'lib/models/sharepoint_settings.rb', line 416

def is_site_pages_creation_enabled=(value)
    @is_site_pages_creation_enabled = value
end

#is_sites_storage_limit_automaticObject

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



423
424
425
# File 'lib/models/sharepoint_settings.rb', line 423

def is_sites_storage_limit_automatic
    return @is_sites_storage_limit_automatic
end

#is_sites_storage_limit_automatic=(value) ⇒ Object

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.

Returns:

  • a void



431
432
433
# File 'lib/models/sharepoint_settings.rb', line 431

def is_sites_storage_limit_automatic=(value)
    @is_sites_storage_limit_automatic = value
end

#is_sync_button_hidden_on_personal_siteObject

Gets the isSyncButtonHiddenOnPersonalSite property value. Indicates whether the sync button in OneDrive is hidden.

Returns:

  • a boolean



438
439
440
# File 'lib/models/sharepoint_settings.rb', line 438

def is_sync_button_hidden_on_personal_site
    return @is_sync_button_hidden_on_personal_site
end

#is_sync_button_hidden_on_personal_site=(value) ⇒ Object

Sets the isSyncButtonHiddenOnPersonalSite property value. Indicates whether the sync button in OneDrive is hidden.

Parameters:

  • value

    Value to set for the isSyncButtonHiddenOnPersonalSite property.

Returns:

  • a void



446
447
448
# File 'lib/models/sharepoint_settings.rb', line 446

def is_sync_button_hidden_on_personal_site=(value)
    @is_sync_button_hidden_on_personal_site = value
end

#is_unmanaged_sync_app_for_tenant_restrictedObject

Gets the isUnmanagedSyncAppForTenantRestricted property value. Indicates whether users are allowed to sync files only on PCs joined to specific domains.

Returns:

  • a boolean



453
454
455
# File 'lib/models/sharepoint_settings.rb', line 453

def is_unmanaged_sync_app_for_tenant_restricted
    return @is_unmanaged_sync_app_for_tenant_restricted
end

#is_unmanaged_sync_app_for_tenant_restricted=(value) ⇒ Object

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.

Returns:

  • a void



461
462
463
# File 'lib/models/sharepoint_settings.rb', line 461

def is_unmanaged_sync_app_for_tenant_restricted=(value)
    @is_unmanaged_sync_app_for_tenant_restricted = value
end

#personal_site_default_storage_limit_in_m_bObject

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 int64



468
469
470
# File 'lib/models/sharepoint_settings.rb', line 468

def personal_site_default_storage_limit_in_m_b
    return @personal_site_default_storage_limit_in_m_b
end

#personal_site_default_storage_limit_in_m_b=(value) ⇒ Object

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.

Returns:

  • a void



476
477
478
# File 'lib/models/sharepoint_settings.rb', line 476

def personal_site_default_storage_limit_in_m_b=(value)
    @personal_site_default_storage_limit_in_m_b = value
end

#serialize(writer) ⇒ Object

Serializes information the current object

Parameters:

  • writer

    Serialization writer to use to serialize this model

Returns:

  • a void

Raises:

  • (StandardError)


484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
# File 'lib/models/sharepoint_settings.rb', line 484

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    super
    writer.write_collection_of_primitive_values("allowedDomainGuidsForSyncApp", @allowed_domain_guids_for_sync_app)
    writer.write_collection_of_primitive_values("availableManagedPathsForSiteCreation", @available_managed_paths_for_site_creation)
    writer.write_number_value("deletedUserPersonalSiteRetentionPeriodInDays", @deleted_user_personal_site_retention_period_in_days)
    writer.write_collection_of_primitive_values("excludedFileExtensionsForSyncApp", @excluded_file_extensions_for_sync_app)
    writer.write_object_value("idleSessionSignOut", @idle_session_sign_out)
    writer.write_enum_value("imageTaggingOption", @image_tagging_option)
    writer.write_boolean_value("isCommentingOnSitePagesEnabled", @is_commenting_on_site_pages_enabled)
    writer.write_boolean_value("isFileActivityNotificationEnabled", @is_file_activity_notification_enabled)
    writer.write_boolean_value("isLegacyAuthProtocolsEnabled", @is_legacy_auth_protocols_enabled)
    writer.write_boolean_value("isLoopEnabled", @is_loop_enabled)
    writer.write_boolean_value("isMacSyncAppEnabled", @is_mac_sync_app_enabled)
    writer.write_boolean_value("isRequireAcceptingUserToMatchInvitedUserEnabled", @is_require_accepting_user_to_match_invited_user_enabled)
    writer.write_boolean_value("isResharingByExternalUsersEnabled", @is_resharing_by_external_users_enabled)
    writer.write_boolean_value("isSharePointMobileNotificationEnabled", @is_share_point_mobile_notification_enabled)
    writer.write_boolean_value("isSharePointNewsfeedEnabled", @is_share_point_newsfeed_enabled)
    writer.write_boolean_value("isSiteCreationEnabled", @is_site_creation_enabled)
    writer.write_boolean_value("isSiteCreationUIEnabled", @is_site_creation_u_i_enabled)
    writer.write_boolean_value("isSitePagesCreationEnabled", @is_site_pages_creation_enabled)
    writer.write_boolean_value("isSitesStorageLimitAutomatic", @is_sites_storage_limit_automatic)
    writer.write_boolean_value("isSyncButtonHiddenOnPersonalSite", @is_sync_button_hidden_on_personal_site)
    writer.write_boolean_value("isUnmanagedSyncAppForTenantRestricted", @is_unmanaged_sync_app_for_tenant_restricted)
    writer.write_object_value("personalSiteDefaultStorageLimitInMB", @personal_site_default_storage_limit_in_m_b)
    writer.write_collection_of_primitive_values("sharingAllowedDomainList", @sharing_allowed_domain_list)
    writer.write_collection_of_primitive_values("sharingBlockedDomainList", @sharing_blocked_domain_list)
    writer.write_enum_value("sharingCapability", @sharing_capability)
    writer.write_enum_value("sharingDomainRestrictionMode", @sharing_domain_restriction_mode)
    writer.write_string_value("siteCreationDefaultManagedPath", @site_creation_default_managed_path)
    writer.write_number_value("siteCreationDefaultStorageLimitInMB", @site_creation_default_storage_limit_in_m_b)
    writer.write_string_value("tenantDefaultTimezone", @tenant_default_timezone)
end

#sharing_allowed_domain_listObject

Gets the sharingAllowedDomainList property value. Collection of email domains that are allowed for sharing outside the organization.

Returns:

  • a string



521
522
523
# File 'lib/models/sharepoint_settings.rb', line 521

def sharing_allowed_domain_list
    return @sharing_allowed_domain_list
end

#sharing_allowed_domain_list=(value) ⇒ Object

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.

Returns:

  • a void



529
530
531
# File 'lib/models/sharepoint_settings.rb', line 529

def sharing_allowed_domain_list=(value)
    @sharing_allowed_domain_list = value
end

#sharing_blocked_domain_listObject

Gets the sharingBlockedDomainList property value. Collection of email domains that are blocked for sharing outside the organization.

Returns:

  • a string



536
537
538
# File 'lib/models/sharepoint_settings.rb', line 536

def sharing_blocked_domain_list
    return @sharing_blocked_domain_list
end

#sharing_blocked_domain_list=(value) ⇒ Object

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.

Returns:

  • a void



544
545
546
# File 'lib/models/sharepoint_settings.rb', line 544

def sharing_blocked_domain_list=(value)
    @sharing_blocked_domain_list = value
end

#sharing_capabilityObject

Gets the sharingCapability property value. Sharing capability for the tenant. Possible values are: disabled, externalUserSharingOnly, externalUserAndGuestSharing, existingExternalUserSharingOnly.

Returns:

  • a sharing_capabilities



551
552
553
# File 'lib/models/sharepoint_settings.rb', line 551

def sharing_capability
    return @sharing_capability
end

#sharing_capability=(value) ⇒ Object

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.

Returns:

  • a void



559
560
561
# File 'lib/models/sharepoint_settings.rb', line 559

def sharing_capability=(value)
    @sharing_capability = value
end

#sharing_domain_restriction_modeObject

Gets the sharingDomainRestrictionMode property value. Specifies the external sharing mode for domains. Possible values are: none, allowList, blockList.

Returns:

  • a sharing_domain_restriction_mode



566
567
568
# File 'lib/models/sharepoint_settings.rb', line 566

def sharing_domain_restriction_mode
    return @sharing_domain_restriction_mode
end

#sharing_domain_restriction_mode=(value) ⇒ Object

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.

Returns:

  • a void



574
575
576
# File 'lib/models/sharepoint_settings.rb', line 574

def sharing_domain_restriction_mode=(value)
    @sharing_domain_restriction_mode = value
end

#site_creation_default_managed_pathObject

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



581
582
583
# File 'lib/models/sharepoint_settings.rb', line 581

def site_creation_default_managed_path
    return @site_creation_default_managed_path
end

#site_creation_default_managed_path=(value) ⇒ Object

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.

Returns:

  • a void



589
590
591
# File 'lib/models/sharepoint_settings.rb', line 589

def site_creation_default_managed_path=(value)
    @site_creation_default_managed_path = value
end

#site_creation_default_storage_limit_in_m_bObject

Gets the siteCreationDefaultStorageLimitInMB property value. The default storage quota for a new site upon creation. Measured in megabytes (MB).

Returns:

  • a integer



596
597
598
# File 'lib/models/sharepoint_settings.rb', line 596

def site_creation_default_storage_limit_in_m_b
    return @site_creation_default_storage_limit_in_m_b
end

#site_creation_default_storage_limit_in_m_b=(value) ⇒ Object

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.

Returns:

  • a void



604
605
606
# File 'lib/models/sharepoint_settings.rb', line 604

def site_creation_default_storage_limit_in_m_b=(value)
    @site_creation_default_storage_limit_in_m_b = value
end

#tenant_default_timezoneObject

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



611
612
613
# File 'lib/models/sharepoint_settings.rb', line 611

def tenant_default_timezone
    return @tenant_default_timezone
end

#tenant_default_timezone=(value) ⇒ Object

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.

Returns:

  • a void



619
620
621
# File 'lib/models/sharepoint_settings.rb', line 619

def tenant_default_timezone=(value)
    @tenant_default_timezone = value
end