/// <summary> /// Initializes a new instance of the <see cref="ApplySitePolicyModel" /> class. /// </summary> /// <param name="isApplyDesigner">isApplyDesigner.</param> /// <param name="isApplySiteMaxDepth">isApplySiteMaxDepth.</param> /// <param name="isApplyPolicyIcon">isApplyPolicyIcon.</param> /// <param name="isApplyAosPlans">isApplyAosPlans.</param> /// <param name="policyId">policyId.</param> /// <param name="isApplyAllSetting">isApplyAllSetting.</param> /// <param name="isApplyQuota">isApplyQuota.</param> /// <param name="isApplySharing">isApplySharing.</param> /// <param name="isApplyQuotaThreshold">isApplyQuotaThreshold.</param> /// <param name="isApplyDeactivatedElection">isApplyDeactivatedElection.</param> /// <param name="isApplyLifecycle">isApplyLifecycle.</param> /// <param name="lifecycleRenewalSetting">lifecycleRenewalSetting.</param> /// <param name="filter">filter.</param> /// <param name="selectedObjects">selectedObjects.</param> /// <param name="hasOngoingTasks">hasOngoingTasks.</param> public ApplySitePolicyModel(bool isApplyDesigner = default(bool), bool isApplySiteMaxDepth = default(bool), bool isApplyPolicyIcon = default(bool), bool isApplyAosPlans = default(bool), Guid policyId = default(Guid), bool isApplyAllSetting = default(bool), bool isApplyQuota = default(bool), bool isApplySharing = default(bool), bool isApplyQuotaThreshold = default(bool), bool isApplyDeactivatedElection = default(bool), bool isApplyLifecycle = default(bool), LifecycleRenewalSetting lifecycleRenewalSetting = default(LifecycleRenewalSetting), string filter = default(string), List <string> selectedObjects = default(List <string>), bool hasOngoingTasks = default(bool)) { this.IsApplyDesigner = isApplyDesigner; this.IsApplySiteMaxDepth = isApplySiteMaxDepth; this.IsApplyPolicyIcon = isApplyPolicyIcon; this.IsApplyAosPlans = isApplyAosPlans; this.PolicyId = policyId; this.IsApplyAllSetting = isApplyAllSetting; this.IsApplyQuota = isApplyQuota; this.IsApplySharing = isApplySharing; this.IsApplyQuotaThreshold = isApplyQuotaThreshold; this.IsApplyDeactivatedElection = isApplyDeactivatedElection; this.IsApplyLifecycle = isApplyLifecycle; this.LifecycleRenewalSetting = lifecycleRenewalSetting; this.Filter = filter; this.SelectedObjects = selectedObjects; this.HasOngoingTasks = hasOngoingTasks; }
/// <summary> /// Initializes a new instance of the <see cref="ApplyGroupPolicyModel" /> class. /// </summary> /// <param name="subType">subType.</param> /// <param name="policyId">policyId.</param> /// <param name="isApplyAllSetting">isApplyAllSetting.</param> /// <param name="isApplyQuota">isApplyQuota.</param> /// <param name="isApplySharing">isApplySharing.</param> /// <param name="isApplyQuotaThreshold">isApplyQuotaThreshold.</param> /// <param name="isApplyDeactivatedElection">isApplyDeactivatedElection.</param> /// <param name="isApplyLifecycle">isApplyLifecycle.</param> /// <param name="lifecycleRenewalSetting">lifecycleRenewalSetting.</param> /// <param name="filter">filter.</param> /// <param name="selectedObjects">selectedObjects.</param> /// <param name="hasOngoingTasks">hasOngoingTasks.</param> public ApplyGroupPolicyModel(GroupPolicySubType?subType = default(GroupPolicySubType?), Guid policyId = default(Guid), bool isApplyAllSetting = default(bool), bool isApplyQuota = default(bool), bool isApplySharing = default(bool), bool isApplyQuotaThreshold = default(bool), bool isApplyDeactivatedElection = default(bool), bool isApplyLifecycle = default(bool), LifecycleRenewalSetting lifecycleRenewalSetting = default(LifecycleRenewalSetting), string filter = default(string), List <string> selectedObjects = default(List <string>), bool hasOngoingTasks = default(bool)) { this.SubType = subType; this.PolicyId = policyId; this.IsApplyAllSetting = isApplyAllSetting; this.IsApplyQuota = isApplyQuota; this.IsApplySharing = isApplySharing; this.IsApplyQuotaThreshold = isApplyQuotaThreshold; this.IsApplyDeactivatedElection = isApplyDeactivatedElection; this.IsApplyLifecycle = isApplyLifecycle; this.LifecycleRenewalSetting = lifecycleRenewalSetting; this.Filter = filter; this.SelectedObjects = selectedObjects; this.HasOngoingTasks = hasOngoingTasks; }