Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SiteExtensionLifecycleItem" /> class.
 /// </summary>
 /// <param name="type">type.</param>
 /// <param name="duration">duration.</param>
 /// <param name="durationType">durationType.</param>
 /// <param name="extendBasedOnPoint">extendBasedOnPoint.</param>
 /// <param name="isEnabled">isEnabled.</param>
 /// <param name="isDefaultProcess">isDefaultProcess.</param>
 /// <param name="process">process.</param>
 public SiteExtensionLifecycleItem(PolicyExtensionType type = default(PolicyExtensionType), int duration = default(int), DurationType durationType = default(DurationType), ExtendBasedOnPoint extendBasedOnPoint = default(ExtendBasedOnPoint), bool isEnabled = default(bool), bool isDefaultProcess = default(bool), GuidModel process = default(GuidModel))
 {
     this.Type               = type;
     this.Duration           = duration;
     this.DurationType       = durationType;
     this.ExtendBasedOnPoint = extendBasedOnPoint;
     this.IsEnabled          = isEnabled;
     this.IsDefaultProcess   = isDefaultProcess;
     this.Process            = process;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SiteDeletionLifecycleItem" /> class.
 /// </summary>
 /// <param name="isPermanentlyDelete">isPermanentlyDelete.</param>
 /// <param name="isNotifyEnabled">isNotifyEnabled.</param>
 /// <param name="notifyUser">notifyUser.</param>
 /// <param name="notifyTemplate">notifyTemplate.</param>
 /// <param name="isEnabled">isEnabled.</param>
 /// <param name="isDefaultProcess">isDefaultProcess.</param>
 /// <param name="process">process.</param>
 public SiteDeletionLifecycleItem(bool isPermanentlyDelete = default(bool), bool isNotifyEnabled = default(bool), List <ApiUser> notifyUser = default(List <ApiUser>), GuidModel notifyTemplate = default(GuidModel), bool isEnabled = default(bool), bool isDefaultProcess = default(bool), GuidModel process = default(GuidModel))
 {
     this.IsPermanentlyDelete = isPermanentlyDelete;
     this.IsNotifyEnabled     = isNotifyEnabled;
     this.NotifyUser          = notifyUser;
     this.NotifyTemplate      = notifyTemplate;
     this.IsEnabled           = isEnabled;
     this.IsDefaultProcess    = isDefaultProcess;
     this.Process             = process;
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SitePolicyLifecycleSetting" /> class.
 /// </summary>
 /// <param name="archive">archive.</param>
 /// <param name="deletion">deletion.</param>
 /// <param name="extension">extension.</param>
 /// <param name="changePolicy">changePolicy.</param>
 /// <param name="unlock">unlock.</param>
 /// <param name="_lock">_lock.</param>
 /// <param name="quota">quota.</param>
 /// <param name="defaultProcess">defaultProcess.</param>
 public SitePolicyLifecycleSetting(SiteArchiveLifecycleItem archive = default(SiteArchiveLifecycleItem), SiteDeletionLifecycleItem deletion = default(SiteDeletionLifecycleItem), SiteExtensionLifecycleItem extension = default(SiteExtensionLifecycleItem), SiteChangePolicyLifecycleItem changePolicy = default(SiteChangePolicyLifecycleItem), SiteUnlockingLifecycleItem unlock = default(SiteUnlockingLifecycleItem), SiteLockLifecycleItem _lock = default(SiteLockLifecycleItem), SiteQuotaLifecycleItem quota = default(SiteQuotaLifecycleItem), GuidModel defaultProcess = default(GuidModel))
 {
     this.Archive        = archive;
     this.Deletion       = deletion;
     this.Extension      = extension;
     this.ChangePolicy   = changePolicy;
     this.Unlock         = unlock;
     this.Lock           = _lock;
     this.Quota          = quota;
     this.DefaultProcess = defaultProcess;
 }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ImpersonationAccountModel" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="domain">domain (required).</param>
 /// <param name="user">user (required).</param>
 /// <param name="tenant">tenant (required).</param>
 /// <param name="tenants">tenants.</param>
 public ImpersonationAccountModel(Guid id = default(Guid), string domain = default(string), ApiUser user = default(ApiUser), GuidModel tenant = default(GuidModel), List <StringModel> tenants = default(List <StringModel>))
 {
     // to ensure "domain" is required (not null)
     this.Domain = domain ?? throw new ArgumentNullException("domain is a required property for ImpersonationAccountModel and cannot be null");;
     // to ensure "user" is required (not null)
     this.User = user ?? throw new ArgumentNullException("user is a required property for ImpersonationAccountModel and cannot be null");;
     // to ensure "tenant" is required (not null)
     this.Tenant  = tenant ?? throw new ArgumentNullException("tenant is a required property for ImpersonationAccountModel and cannot be null");;
     this.Id      = id;
     this.Tenants = tenants;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="BackupEnvironmentSetting" /> class.
 /// </summary>
 /// <param name="isBackupSource">isBackupSource.</param>
 /// <param name="isBackupDestination">isBackupDestination.</param>
 /// <param name="storagePolicy">storagePolicy.</param>
 public BackupEnvironmentSetting(bool isBackupSource = default(bool), bool isBackupDestination = default(bool), GuidModel storagePolicy = default(GuidModel))
 {
     this.IsBackupSource      = isBackupSource;
     this.IsBackupDestination = isBackupDestination;
     this.StoragePolicy       = storagePolicy;
 }
Esempio n. 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SitePolicyExpirationSetting" /> class.
 /// </summary>
 /// <param name="isEnabled">isEnabled.</param>
 /// <param name="duration">duration.</param>
 /// <param name="durationType">durationType.</param>
 /// <param name="process">process.</param>
 /// <param name="isAutoLockEnabled">isAutoLockEnabled.</param>
 /// <param name="autoLockProfile">autoLockProfile.</param>
 /// <param name="isNotifyEnabled">isNotifyEnabled.</param>
 /// <param name="notifyTemplate">notifyTemplate.</param>
 public SitePolicyExpirationSetting(bool isEnabled = default(bool), int duration = default(int), DurationType durationType = default(DurationType), GuidModel process = default(GuidModel), bool isAutoLockEnabled = default(bool), GuidModel autoLockProfile = default(GuidModel), bool isNotifyEnabled = default(bool), GuidModel notifyTemplate = default(GuidModel))
 {
     this.IsEnabled         = isEnabled;
     this.Duration          = duration;
     this.DurationType      = durationType;
     this.Process           = process;
     this.IsAutoLockEnabled = isAutoLockEnabled;
     this.AutoLockProfile   = autoLockProfile;
     this.IsNotifyEnabled   = isNotifyEnabled;
     this.NotifyTemplate    = notifyTemplate;
 }
Esempio n. 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AutoTaskChangePolicyRequest" /> class.
 /// </summary>
 /// <param name="action">action.</param>
 /// <param name="policy">policy.</param>
 /// <param name="startDateType">startDateType.</param>
 /// <param name="specifyStartDate">specifyStartDate.</param>
 /// <param name="taskId">taskId.</param>
 /// <param name="metadatas">metadatas.</param>
 /// <param name="comments">comments.</param>
 public AutoTaskChangePolicyRequest(LifecycleAction action = default(LifecycleAction), GuidModel policy = default(GuidModel), StartDateType startDateType = default(StartDateType), DateTime?specifyStartDate = default(DateTime?), Guid taskId = default(Guid), List <RequestMetadata> metadatas = default(List <RequestMetadata>), CommentsParam comments = default(CommentsParam))
 {
     this.Action           = action;
     this.Policy           = policy;
     this.StartDateType    = startDateType;
     this.SpecifyStartDate = specifyStartDate;
     this.TaskId           = taskId;
     this.Metadatas        = metadatas;
     this.Comments         = comments;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TermsMetadataSettings" /> class.
 /// </summary>
 /// <param name="allowMultiple">allowMultiple.</param>
 /// <param name="adminCenter">adminCenter.</param>
 /// <param name="value">value.</param>
 /// <param name="termStore">termStore.</param>
 /// <param name="termGroup">termGroup.</param>
 /// <param name="termSet">termSet.</param>
 /// <param name="scope">scope.</param>
 /// <param name="tree">tree.</param>
 /// <param name="isValid">isValid.</param>
 public TermsMetadataSettings(bool allowMultiple = default(bool), string adminCenter = default(string), List <GuidModel> value = default(List <GuidModel>), GuidModel termStore = default(GuidModel), GuidModel termGroup = default(GuidModel), GuidModel termSet = default(GuidModel), GuidModel scope = default(GuidModel), TermTreeModel tree = default(TermTreeModel), bool isValid = default(bool))
 {
     this.AllowMultiple = allowMultiple;
     this.AdminCenter   = adminCenter;
     this.Value         = value;
     this.TermStore     = termStore;
     this.TermGroup     = termGroup;
     this.TermSet       = termSet;
     this.Scope         = scope;
     this.Tree          = tree;
     this.IsValid       = isValid;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TeamsTemplateSettings" /> class.
 /// </summary>
 /// <param name="enableCreateTeamFromScratch">enableCreateTeamFromScratch.</param>
 /// <param name="enableCreateTeamFromExistTeam">enableCreateTeamFromExistTeam.</param>
 /// <param name="selectedTemplate">selectedTemplate.</param>
 /// <param name="enableCloneChannels">enableCloneChannels.</param>
 /// <param name="enableCloneApps">enableCloneApps.</param>
 /// <param name="enableCloneTabs">enableCloneTabs.</param>
 /// <param name="enableCloneMembers">enableCloneMembers.</param>
 /// <param name="enableCloneTeamSetting">enableCloneTeamSetting.</param>
 /// <param name="enableCloneTeamPrivacy">enableCloneTeamPrivacy.</param>
 /// <param name="enableCloneTeamClassification">enableCloneTeamClassification.</param>
 public TeamsTemplateSettings(bool enableCreateTeamFromScratch = default(bool), bool enableCreateTeamFromExistTeam = default(bool), GuidModel selectedTemplate = default(GuidModel), bool enableCloneChannels = default(bool), bool enableCloneApps = default(bool), bool enableCloneTabs = default(bool), bool enableCloneMembers = default(bool), bool enableCloneTeamSetting = default(bool), bool enableCloneTeamPrivacy = default(bool), bool enableCloneTeamClassification = default(bool))
 {
     this.EnableCreateTeamFromScratch   = enableCreateTeamFromScratch;
     this.EnableCreateTeamFromExistTeam = enableCreateTeamFromExistTeam;
     this.SelectedTemplate              = selectedTemplate;
     this.EnableCloneChannels           = enableCloneChannels;
     this.EnableCloneApps               = enableCloneApps;
     this.EnableCloneTabs               = enableCloneTabs;
     this.EnableCloneMembers            = enableCloneMembers;
     this.EnableCloneTeamSetting        = enableCloneTeamSetting;
     this.EnableCloneTeamPrivacy        = enableCloneTeamPrivacy;
     this.EnableCloneTeamClassification = enableCloneTeamClassification;
 }
Esempio n. 10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SiteChangePolicyLifecycleItem" /> class.
 /// </summary>
 /// <param name="isDefineChangeToPolicies">isDefineChangeToPolicies.</param>
 /// <param name="selectedPoliciesForChangePolicy">selectedPoliciesForChangePolicy.</param>
 /// <param name="isEnabled">isEnabled.</param>
 /// <param name="isDefaultProcess">isDefaultProcess.</param>
 /// <param name="process">process.</param>
 public SiteChangePolicyLifecycleItem(bool isDefineChangeToPolicies = default(bool), List <ChangePolicyScopeModel> selectedPoliciesForChangePolicy = default(List <ChangePolicyScopeModel>), bool isEnabled = default(bool), bool isDefaultProcess = default(bool), GuidModel process = default(GuidModel))
 {
     this.IsDefineChangeToPolicies        = isDefineChangeToPolicies;
     this.SelectedPoliciesForChangePolicy = selectedPoliciesForChangePolicy;
     this.IsEnabled        = isEnabled;
     this.IsDefaultProcess = isDefaultProcess;
     this.Process          = process;
 }
Esempio n. 11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DeleteGroupSetting" /> class.
 /// </summary>
 /// <param name="enableNotify">enableNotify.</param>
 /// <param name="notifyUsers">notifyUsers.</param>
 /// <param name="emailTemplate">emailTemplate.</param>
 /// <param name="enabled">enabled.</param>
 /// <param name="approvalProcess">approvalProcess.</param>
 /// <param name="isUsedDefaultProcess">isUsedDefaultProcess.</param>
 public DeleteGroupSetting(bool enableNotify = default(bool), List <ApiUser> notifyUsers = default(List <ApiUser>), GuidModel emailTemplate = default(GuidModel), bool enabled = default(bool), GuidModel approvalProcess = default(GuidModel), bool isUsedDefaultProcess = default(bool))
 {
     this.EnableNotify         = enableNotify;
     this.NotifyUsers          = notifyUsers;
     this.EmailTemplate        = emailTemplate;
     this.Enabled              = enabled;
     this.ApprovalProcess      = approvalProcess;
     this.IsUsedDefaultProcess = isUsedDefaultProcess;
 }
Esempio n. 12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GroupLifecycleSetting" /> class.
 /// </summary>
 /// <param name="enabled">enabled.</param>
 /// <param name="approvalProcess">approvalProcess.</param>
 /// <param name="isUsedDefaultProcess">isUsedDefaultProcess.</param>
 public GroupLifecycleSetting(bool enabled = default(bool), GuidModel approvalProcess = default(GuidModel), bool isUsedDefaultProcess = default(bool))
 {
     this.Enabled              = enabled;
     this.ApprovalProcess      = approvalProcess;
     this.IsUsedDefaultProcess = isUsedDefaultProcess;
 }
Esempio n. 13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SiteArchiveLifecycleItem" /> class.
 /// </summary>
 /// <param name="profile">profile.</param>
 /// <param name="isNotifyEnabled">isNotifyEnabled.</param>
 /// <param name="notifyUser">notifyUser.</param>
 /// <param name="notifyTemplate">notifyTemplate.</param>
 /// <param name="isEnabled">isEnabled.</param>
 /// <param name="isDefaultProcess">isDefaultProcess.</param>
 /// <param name="process">process.</param>
 public SiteArchiveLifecycleItem(string profile = default(string), bool isNotifyEnabled = default(bool), List <ApiUser> notifyUser = default(List <ApiUser>), GuidModel notifyTemplate = default(GuidModel), bool isEnabled = default(bool), bool isDefaultProcess = default(bool), GuidModel process = default(GuidModel))
 {
     this.Profile          = profile;
     this.IsNotifyEnabled  = isNotifyEnabled;
     this.NotifyUser       = notifyUser;
     this.NotifyTemplate   = notifyTemplate;
     this.IsEnabled        = isEnabled;
     this.IsDefaultProcess = isDefaultProcess;
     this.Process          = process;
 }
Esempio n. 14
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SitePolicyElectionSetting" /> class.
 /// </summary>
 /// <param name="isEnabled">isEnabled.</param>
 /// <param name="enableOnlyOtherContactElection">enableOnlyOtherContactElection.</param>
 /// <param name="excludeUsers">excludeUsers.</param>
 /// <param name="isNotifyTaskEnabled">isNotifyTaskEnabled.</param>
 /// <param name="taskEmailTemplate">taskEmailTemplate.</param>
 /// <param name="isNotifyPrimaryContactEnabled">isNotifyPrimaryContactEnabled.</param>
 /// <param name="notifyPrimaryContactTemplate">notifyPrimaryContactTemplate.</param>
 /// <param name="isNotifySecondaryContactEnabled">isNotifySecondaryContactEnabled.</param>
 /// <param name="notifySecondaryContactTemplate">notifySecondaryContactTemplate.</param>
 /// <param name="duration">duration.</param>
 /// <param name="durationType">durationType.</param>
 /// <param name="isReminderEnabled">isReminderEnabled.</param>
 /// <param name="reminderProfile">reminderProfile.</param>
 public SitePolicyElectionSetting(bool isEnabled = default(bool), bool enableOnlyOtherContactElection = default(bool), List <ApiUser> excludeUsers = default(List <ApiUser>), bool isNotifyTaskEnabled = default(bool), GuidModel taskEmailTemplate = default(GuidModel), bool isNotifyPrimaryContactEnabled = default(bool), GuidModel notifyPrimaryContactTemplate = default(GuidModel), bool isNotifySecondaryContactEnabled = default(bool), GuidModel notifySecondaryContactTemplate = default(GuidModel), int duration = default(int), int durationType = default(int), bool isReminderEnabled = default(bool), GuidModel reminderProfile = default(GuidModel))
 {
     this.IsEnabled = isEnabled;
     this.EnableOnlyOtherContactElection = enableOnlyOtherContactElection;
     this.ExcludeUsers                    = excludeUsers;
     this.IsNotifyTaskEnabled             = isNotifyTaskEnabled;
     this.TaskEmailTemplate               = taskEmailTemplate;
     this.IsNotifyPrimaryContactEnabled   = isNotifyPrimaryContactEnabled;
     this.NotifyPrimaryContactTemplate    = notifyPrimaryContactTemplate;
     this.IsNotifySecondaryContactEnabled = isNotifySecondaryContactEnabled;
     this.NotifySecondaryContactTemplate  = notifySecondaryContactTemplate;
     this.Duration          = duration;
     this.DurationType      = durationType;
     this.IsReminderEnabled = isReminderEnabled;
     this.ReminderProfile   = reminderProfile;
 }
Esempio n. 15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SitePolicyAosSetting" /> class.
 /// </summary>
 /// <param name="isPolicyEnforcerEnabled">isPolicyEnforcerEnabled.</param>
 /// <param name="policyEnforcerProfile">policyEnforcerProfile.</param>
 /// <param name="isDpmEnabled">isDpmEnabled.</param>
 /// <param name="dpmPlan">dpmPlan.</param>
 /// <param name="isBackupEnabled">isBackupEnabled.</param>
 /// <param name="isAuditingEnabled">isAuditingEnabled.</param>
 /// <param name="isArchiveEnabled">isArchiveEnabled.</param>
 /// <param name="archiveProfile">archiveProfile.</param>
 /// <param name="archiveApprovalProcess">archiveApprovalProcess.</param>
 public SitePolicyAosSetting(bool isPolicyEnforcerEnabled = default(bool), string policyEnforcerProfile = default(string), bool isDpmEnabled = default(bool), string dpmPlan = default(string), bool isBackupEnabled = default(bool), bool isAuditingEnabled = default(bool), bool isArchiveEnabled = default(bool), string archiveProfile = default(string), GuidModel archiveApprovalProcess = default(GuidModel))
 {
     this.IsPolicyEnforcerEnabled = isPolicyEnforcerEnabled;
     this.PolicyEnforcerProfile   = policyEnforcerProfile;
     this.IsDpmEnabled            = isDpmEnabled;
     this.DpmPlan                = dpmPlan;
     this.IsBackupEnabled        = isBackupEnabled;
     this.IsAuditingEnabled      = isAuditingEnabled;
     this.IsArchiveEnabled       = isArchiveEnabled;
     this.ArchiveProfile         = archiveProfile;
     this.ArchiveApprovalProcess = archiveApprovalProcess;
 }
Esempio n. 16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChangePermissionService" /> class.
 /// </summary>
 /// <param name="selectedNodes">selectedNodes.</param>
 /// <param name="uncheckedNodes">uncheckedNodes.</param>
 /// <param name="userRestrictionType">userRestrictionType.</param>
 /// <param name="permissionChangedType">permissionChangedType.</param>
 /// <param name="permissionChangedTypeAssignBy">permissionChangedTypeAssignBy.</param>
 /// <param name="enabledExcludePermissions">enabledExcludePermissions.</param>
 /// <param name="excludedPermissions">excludedPermissions.</param>
 /// <param name="reviewTaskEmailTemplate">reviewTaskEmailTemplate.</param>
 /// <param name="scopeSettings">scopeSettings.</param>
 /// <param name="stageCount">stageCount.</param>
 /// <param name="departmentAssignBy">departmentAssignBy.</param>
 /// <param name="metadatas">metadatas.</param>
 /// <param name="hideRequestSummary">hideRequestSummary.</param>
 /// <param name="id">id.</param>
 /// <param name="name">name.</param>
 /// <param name="description">description.</param>
 /// <param name="type">type.</param>
 /// <param name="department">department.</param>
 /// <param name="loadDepartmentFromUps">loadDepartmentFromUps.</param>
 /// <param name="departments">departments.</param>
 /// <param name="serviceContact">serviceContact.</param>
 /// <param name="serviceAdminContact">serviceAdminContact.</param>
 /// <param name="approversContainManagerRole">approversContainManagerRole.</param>
 /// <param name="status">status.</param>
 /// <param name="showServiceInCatalog">showServiceInCatalog.</param>
 /// <param name="customActions">customActions.</param>
 /// <param name="approvalProcessId">approvalProcessId.</param>
 /// <param name="languageId">languageId.</param>
 /// <param name="categoryId">categoryId.</param>
 public ChangePermissionService(List <TreeNode> selectedNodes = default(List <TreeNode>), List <TreeNode> uncheckedNodes = default(List <TreeNode>), UserLevelRestrictionType userRestrictionType = default(UserLevelRestrictionType), PermissionChangedType permissionChangedType = default(PermissionChangedType), AssignBy permissionChangedTypeAssignBy = default(AssignBy), bool enabledExcludePermissions = default(bool), List <PermissionLevel> excludedPermissions = default(List <PermissionLevel>), GuidModel reviewTaskEmailTemplate = default(GuidModel), ServiceScopeSettings scopeSettings = default(ServiceScopeSettings), int stageCount = default(int), AssignBy departmentAssignBy = default(AssignBy), List <CustomMetadata> metadatas = default(List <CustomMetadata>), bool hideRequestSummary = default(bool), Guid id = default(Guid), string name = default(string), string description = default(string), ServiceType type = default(ServiceType), string department = default(string), bool loadDepartmentFromUps = default(bool), List <string> departments = default(List <string>), ApiUser serviceContact = default(ApiUser), ApiUser serviceAdminContact = default(ApiUser), bool approversContainManagerRole = default(bool), CommonStatus status = default(CommonStatus), bool showServiceInCatalog = default(bool), CustomActionSettings customActions = default(CustomActionSettings), Guid approvalProcessId = default(Guid), int languageId = default(int), string categoryId = default(string))
 {
     this.SelectedNodes                 = selectedNodes;
     this.UncheckedNodes                = uncheckedNodes;
     this.UserRestrictionType           = userRestrictionType;
     this.PermissionChangedType         = permissionChangedType;
     this.PermissionChangedTypeAssignBy = permissionChangedTypeAssignBy;
     this.EnabledExcludePermissions     = enabledExcludePermissions;
     this.ExcludedPermissions           = excludedPermissions;
     this.ReviewTaskEmailTemplate       = reviewTaskEmailTemplate;
     this.ScopeSettings                 = scopeSettings;
     this.StageCount         = stageCount;
     this.DepartmentAssignBy = departmentAssignBy;
     this.Metadatas          = metadatas;
     this.HideRequestSummary = hideRequestSummary;
     this.Id                          = id;
     this.Name                        = name;
     this.Description                 = description;
     this.Type                        = type;
     this.Department                  = department;
     this.LoadDepartmentFromUps       = loadDepartmentFromUps;
     this.Departments                 = departments;
     this.ServiceContact              = serviceContact;
     this.ServiceAdminContact         = serviceAdminContact;
     this.ApproversContainManagerRole = approversContainManagerRole;
     this.Status                      = status;
     this.ShowServiceInCatalog        = showServiceInCatalog;
     this.CustomActions               = customActions;
     this.ApprovalProcessId           = approvalProcessId;
     this.LanguageId                  = languageId;
     this.CategoryId                  = categoryId;
 }
Esempio n. 17
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SiteUnlockingLifecycleItem" /> class.
 /// </summary>
 /// <param name="isEnabled">isEnabled.</param>
 /// <param name="isDefaultProcess">isDefaultProcess.</param>
 /// <param name="process">process.</param>
 public SiteUnlockingLifecycleItem(bool isEnabled = default(bool), bool isDefaultProcess = default(bool), GuidModel process = default(GuidModel))
 {
     this.IsEnabled        = isEnabled;
     this.IsDefaultProcess = isDefaultProcess;
     this.Process          = process;
 }
Esempio n. 18
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ContentMoveCommonSetting" /> class.
 /// </summary>
 /// <param name="isIncludeVersions">isIncludeVersions.</param>
 /// <param name="isIncludeWorkflowDefinition">isIncludeWorkflowDefinition.</param>
 /// <param name="isDisableInformationRightsManagement">isDisableInformationRightsManagement.</param>
 /// <param name="isPreserveNullColumnValues">isPreserveNullColumnValues.</param>
 /// <param name="isKeepModifiedByAndModifiedTime">isKeepModifiedByAndModifiedTime.</param>
 /// <param name="profileMappings">profileMappings.</param>
 /// <param name="backupSettings">backupSettings.</param>
 /// <param name="conflictResolutionSettings">conflictResolutionSettings.</param>
 /// <param name="filterPolicy">filterPolicy.</param>
 /// <param name="deleteType">deleteType.</param>
 /// <param name="isDeleteCheckedFiles">isDeleteCheckedFiles.</param>
 public ContentMoveCommonSetting(bool isIncludeVersions = default(bool), bool isIncludeWorkflowDefinition = default(bool), bool isDisableInformationRightsManagement = default(bool), bool isPreserveNullColumnValues = default(bool), bool isKeepModifiedByAndModifiedTime = default(bool), ContentMoveProfileMappings profileMappings = default(ContentMoveProfileMappings), BackupEnvironmentSetting backupSettings = default(BackupEnvironmentSetting), ConflictResolutionSetting conflictResolutionSettings = default(ConflictResolutionSetting), GuidModel filterPolicy = default(GuidModel), DeleteType deleteType = default(DeleteType), bool isDeleteCheckedFiles = default(bool))
 {
     this.ProfileMappings            = profileMappings;
     this.BackupSettings             = backupSettings;
     this.ConflictResolutionSettings = conflictResolutionSettings;
     this.FilterPolicy                         = filterPolicy;
     this.IsIncludeVersions                    = isIncludeVersions;
     this.IsIncludeWorkflowDefinition          = isIncludeWorkflowDefinition;
     this.IsDisableInformationRightsManagement = isDisableInformationRightsManagement;
     this.IsPreserveNullColumnValues           = isPreserveNullColumnValues;
     this.IsKeepModifiedByAndModifiedTime      = isKeepModifiedByAndModifiedTime;
     this.ProfileMappings                      = profileMappings;
     this.BackupSettings                       = backupSettings;
     this.ConflictResolutionSettings           = conflictResolutionSettings;
     this.FilterPolicy                         = filterPolicy;
     this.DeleteType           = deleteType;
     this.IsDeleteCheckedFiles = isDeleteCheckedFiles;
 }
Esempio n. 19
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GroupThresholdSetting" /> class.
 /// </summary>
 /// <param name="enabled">enabled.</param>
 /// <param name="duration">duration.</param>
 /// <param name="durationType">durationType.</param>
 /// <param name="thresholdApprovalProcess">thresholdApprovalProcess.</param>
 /// <param name="enableWarning">enableWarning.</param>
 /// <param name="warningProfile">warningProfile.</param>
 /// <param name="enableAdditionalAction">enableAdditionalAction.</param>
 /// <param name="additionalActionType">additionalActionType.</param>
 /// <param name="deleteGroupDuration">deleteGroupDuration.</param>
 /// <param name="deleteDurationType">deleteDurationType.</param>
 /// <param name="enableDeleteRemind">enableDeleteRemind.</param>
 /// <param name="deleteGroupReminder">deleteGroupReminder.</param>
 /// <param name="enableDeleteNotify">enableDeleteNotify.</param>
 /// <param name="deleteNotifyUsers">deleteNotifyUsers.</param>
 /// <param name="deleteNotifyEmail">deleteNotifyEmail.</param>
 /// <param name="archiveGroupDuration">archiveGroupDuration.</param>
 /// <param name="archiveGroupDurationType">archiveGroupDurationType.</param>
 /// <param name="enableArchiveRemind">enableArchiveRemind.</param>
 /// <param name="archiveGroupReminder">archiveGroupReminder.</param>
 /// <param name="enableArchiveNotify">enableArchiveNotify.</param>
 /// <param name="archiveNotifyUsers">archiveNotifyUsers.</param>
 /// <param name="archiveNotifyEmail">archiveNotifyEmail.</param>
 public GroupThresholdSetting(bool enabled = default(bool), int duration = default(int), ApiDurationType durationType = default(ApiDurationType), GuidModel thresholdApprovalProcess = default(GuidModel), bool enableWarning = default(bool), GuidModel warningProfile = default(GuidModel), bool enableAdditionalAction = default(bool), AdditionalActionType additionalActionType = default(AdditionalActionType), int deleteGroupDuration = default(int), ApiDurationType deleteDurationType = default(ApiDurationType), bool enableDeleteRemind = default(bool), GuidModel deleteGroupReminder = default(GuidModel), bool enableDeleteNotify = default(bool), List <ApiUser> deleteNotifyUsers = default(List <ApiUser>), GuidModel deleteNotifyEmail = default(GuidModel), int archiveGroupDuration = default(int), ApiDurationType archiveGroupDurationType = default(ApiDurationType), bool enableArchiveRemind = default(bool), GuidModel archiveGroupReminder = default(GuidModel), bool enableArchiveNotify = default(bool), List <ApiUser> archiveNotifyUsers = default(List <ApiUser>), GuidModel archiveNotifyEmail = default(GuidModel))
 {
     this.Enabled                  = enabled;
     this.Duration                 = duration;
     this.DurationType             = durationType;
     this.ThresholdApprovalProcess = thresholdApprovalProcess;
     this.EnableWarning            = enableWarning;
     this.WarningProfile           = warningProfile;
     this.EnableAdditionalAction   = enableAdditionalAction;
     this.AdditionalActionType     = additionalActionType;
     this.DeleteGroupDuration      = deleteGroupDuration;
     this.DeleteDurationType       = deleteDurationType;
     this.EnableDeleteRemind       = enableDeleteRemind;
     this.DeleteGroupReminder      = deleteGroupReminder;
     this.EnableDeleteNotify       = enableDeleteNotify;
     this.DeleteNotifyUsers        = deleteNotifyUsers;
     this.DeleteNotifyEmail        = deleteNotifyEmail;
     this.ArchiveGroupDuration     = archiveGroupDuration;
     this.ArchiveGroupDurationType = archiveGroupDurationType;
     this.EnableArchiveRemind      = enableArchiveRemind;
     this.ArchiveGroupReminder     = archiveGroupReminder;
     this.EnableArchiveNotify      = enableArchiveNotify;
     this.ArchiveNotifyUsers       = archiveNotifyUsers;
     this.ArchiveNotifyEmail       = archiveNotifyEmail;
 }
Esempio n. 20
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ContentMoveProfileMappings" /> class.
 /// </summary>
 /// <param name="columnMapping">columnMapping.</param>
 /// <param name="contentTypeMapping">contentTypeMapping.</param>
 /// <param name="userMapping">userMapping.</param>
 /// <param name="languageMapping">languageMapping.</param>
 public ContentMoveProfileMappings(GuidModel columnMapping = default(GuidModel), GuidModel contentTypeMapping = default(GuidModel), GuidModel userMapping = default(GuidModel), GuidModel languageMapping = default(GuidModel))
 {
     this.ColumnMapping      = columnMapping;
     this.ContentTypeMapping = contentTypeMapping;
     this.UserMapping        = userMapping;
     this.LanguageMapping    = languageMapping;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="OwnershipRecertification" /> class.
 /// </summary>
 /// <param name="taskId">taskId.</param>
 /// <param name="siteId">siteId.</param>
 /// <param name="siteUrl">siteUrl.</param>
 /// <param name="siteTitle">siteTitle.</param>
 /// <param name="siteDescription">siteDescription.</param>
 /// <param name="policy">policy.</param>
 /// <param name="generatedTime">generatedTime.</param>
 /// <param name="primaryAdministrator">primaryAdministrator.</param>
 /// <param name="primaryContact">primaryContact.</param>
 /// <param name="secondaryContact">secondaryContact.</param>
 /// <param name="template">template.</param>
 /// <param name="status">status.</param>
 public OwnershipRecertification(Guid taskId = default(Guid), Guid siteId = default(Guid), string siteUrl = default(string), string siteTitle = default(string), string siteDescription = default(string), GuidModel policy = default(GuidModel), DateTime generatedTime = default(DateTime), ApiUser primaryAdministrator = default(ApiUser), ApiUser primaryContact = default(ApiUser), ApiUser secondaryContact = default(ApiUser), string template = default(string), TaskResult status = default(TaskResult))
 {
     this.SiteUrl              = siteUrl;
     this.SiteTitle            = siteTitle;
     this.SiteDescription      = siteDescription;
     this.Policy               = policy;
     this.PrimaryAdministrator = primaryAdministrator;
     this.PrimaryContact       = primaryContact;
     this.SecondaryContact     = secondaryContact;
     this.Template             = template;
     this.TaskId               = taskId;
     this.SiteId               = siteId;
     this.SiteUrl              = siteUrl;
     this.SiteTitle            = siteTitle;
     this.SiteDescription      = siteDescription;
     this.Policy               = policy;
     this.GeneratedTime        = generatedTime;
     this.PrimaryAdministrator = primaryAdministrator;
     this.PrimaryContact       = primaryContact;
     this.SecondaryContact     = secondaryContact;
     this.Template             = template;
     this.Status               = status;
 }
Esempio n. 22
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChangeGroupQuotaSetting" /> class.
 /// </summary>
 /// <param name="changeOption">changeOption.</param>
 /// <param name="maxValue">maxValue.</param>
 /// <param name="enabled">enabled.</param>
 /// <param name="approvalProcess">approvalProcess.</param>
 /// <param name="isUsedDefaultProcess">isUsedDefaultProcess.</param>
 public ChangeGroupQuotaSetting(ChangeQuotaType changeOption = default(ChangeQuotaType), int maxValue = default(int), bool enabled = default(bool), GuidModel approvalProcess = default(GuidModel), bool isUsedDefaultProcess = default(bool))
 {
     this.ChangeOption         = changeOption;
     this.MaxValue             = maxValue;
     this.Enabled              = enabled;
     this.ApprovalProcess      = approvalProcess;
     this.IsUsedDefaultProcess = isUsedDefaultProcess;
 }
Esempio n. 23
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExtendGroupSetting" /> class.
 /// </summary>
 /// <param name="extendType">extendType.</param>
 /// <param name="constantDuration">constantDuration.</param>
 /// <param name="constantDurationType">constantDurationType.</param>
 /// <param name="maxDuration">maxDuration.</param>
 /// <param name="maxDurationType">maxDurationType.</param>
 /// <param name="enabled">enabled.</param>
 /// <param name="approvalProcess">approvalProcess.</param>
 /// <param name="isUsedDefaultProcess">isUsedDefaultProcess.</param>
 public ExtendGroupSetting(ExtendType extendType = default(ExtendType), int constantDuration = default(int), ApiDurationType constantDurationType = default(ApiDurationType), int maxDuration = default(int), ApiDurationType maxDurationType = default(ApiDurationType), bool enabled = default(bool), GuidModel approvalProcess = default(GuidModel), bool isUsedDefaultProcess = default(bool))
 {
     this.ExtendType           = extendType;
     this.ConstantDuration     = constantDuration;
     this.ConstantDurationType = constantDurationType;
     this.MaxDuration          = maxDuration;
     this.MaxDurationType      = maxDurationType;
     this.Enabled              = enabled;
     this.ApprovalProcess      = approvalProcess;
     this.IsUsedDefaultProcess = isUsedDefaultProcess;
 }