Skip to content

Commit 6a06f73

Browse files
authored
Refactor property accessors in SetTenant.cs to allow public setters for better flexibility (#5197)
1 parent 4fd09b8 commit 6a06f73

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

src/Commands/Admin/SetTenant.cs

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -466,73 +466,73 @@ public class SetTenant : PnPSharePointOnlineAdminCmdlet
466466
public bool? IsSharePointAddInsDisabled { get; set; }
467467

468468
[Parameter(Mandatory = false)]
469-
public SharingScope? CoreDefaultShareLinkScope { private set; get; }
469+
public SharingScope? CoreDefaultShareLinkScope { set; get; }
470470

471471
[Parameter(Mandatory = false)]
472-
public Role? CoreDefaultShareLinkRole { private set; get; }
472+
public Role? CoreDefaultShareLinkRole { set; get; }
473473

474474
[Parameter(Mandatory = false)]
475-
public SharingCapabilities? OneDriveSharingCapability { private set; get; }
475+
public SharingCapabilities? OneDriveSharingCapability { set; get; }
476476

477477
[Parameter(Mandatory = false)]
478-
public string[] GuestSharingGroupAllowListInTenantByPrincipalIdentity { private set; get; }
478+
public string[] GuestSharingGroupAllowListInTenantByPrincipalIdentity { set; get; }
479479

480480
[Parameter(Mandatory = false)]
481-
public bool? AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled { private set; get; }
481+
public bool? AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled { set; get; }
482482

483483
[Parameter(Mandatory = false)]
484-
public bool? SelfServiceSiteCreationDisabled { private set; get; }
484+
public bool? SelfServiceSiteCreationDisabled { set; get; }
485485

486486
[Parameter(Mandatory = false)]
487-
public SwitchParameter SyncAadB2BManagementPolicy { private set; get; }
487+
public SwitchParameter SyncAadB2BManagementPolicy { set; get; }
488488

489489
[Parameter(Mandatory = false)]
490-
public bool? ExtendPermissionsToUnprotectedFiles { private set; get; }
490+
public bool? ExtendPermissionsToUnprotectedFiles { set; get; }
491491

492492
[Parameter(Mandatory = false)]
493-
public string WhoCanShareAllowListInTenant { private set; get; }
493+
public string WhoCanShareAllowListInTenant { set; get; }
494494

495495
[Parameter(Mandatory = false)]
496-
public bool? LegacyBrowserAuthProtocolsEnabled { private set; get; }
496+
public bool? LegacyBrowserAuthProtocolsEnabled { set; get; }
497497

498498
[Parameter(Mandatory = false)]
499-
public bool? EnableDiscoverableByOrganizationForVideos { private set; get; }
499+
public bool? EnableDiscoverableByOrganizationForVideos { set; get; }
500500

501501
[Parameter(Mandatory = false)]
502-
public string RestrictedAccessControlforSitesErrorHelpLink { private set; get; }
502+
public string RestrictedAccessControlforSitesErrorHelpLink { set; get; }
503503

504504
[Parameter(Mandatory = false)]
505-
public bool? Workflow2010Disabled { private set; get; }
505+
public bool? Workflow2010Disabled { set; get; }
506506

507507
[Parameter(Mandatory = false)]
508-
public bool? AllowSharingOutsideRestrictedAccessControlGroups { private set; get; }
508+
public bool? AllowSharingOutsideRestrictedAccessControlGroups { set; get; }
509509

510510
[Parameter(Mandatory = false)]
511-
public bool? HideSyncButtonOnDocLib { private set; get; }
511+
public bool? HideSyncButtonOnDocLib { set; get; }
512512

513513
[Parameter(Mandatory = false)]
514-
public bool? HideSyncButtonOnODB { private set; get; }
514+
public bool? HideSyncButtonOnODB { set; get; }
515515

516516
[Parameter(Mandatory = false)]
517-
public int? StreamLaunchConfig { private set; get; }
517+
public int? StreamLaunchConfig { set; get; }
518518

519519
[Parameter(Mandatory = false)]
520-
public bool? EnableMediaReactions { private set; get; }
520+
public bool? EnableMediaReactions { set; get; }
521521

522522
[Parameter(Mandatory = false)]
523-
public bool? ContentSecurityPolicyEnforcement { private set; get; }
523+
public bool? ContentSecurityPolicyEnforcement { set; get; }
524524

525525
[Parameter(Mandatory = false)]
526-
public bool? DisableSpacesActivation { private set; get; }
526+
public bool? DisableSpacesActivation { set; get; }
527527

528528
[Parameter(Mandatory = false)]
529-
public bool? AllowClassicPublishingSiteCreation { private set; get; }
529+
public bool? AllowClassicPublishingSiteCreation { set; get; }
530530

531531
[Parameter(Mandatory = false)]
532-
public bool? DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites { private set; get; }
532+
public bool? DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites { set; get; }
533533

534534
[Parameter(Mandatory = false)]
535-
public string[] KnowledgeAgentSelectedSitesList { private set; get; }
535+
public string[] KnowledgeAgentSelectedSitesList { set; get; }
536536

537537
protected override void ExecuteCmdlet()
538538
{

0 commit comments

Comments
 (0)