/// <summary> /// Initializes a new instance of the <see cref="SiteLeasePeriodRequestSettings" /> class. /// </summary> /// <param name="leaseInterval">leaseInterval.</param> /// <param name="leaseDurationType">leaseDurationType.</param> /// <param name="leaseWarningInterval">leaseWarningInterval.</param> /// <param name="leaseWarningDurationType">leaseWarningDurationType.</param> public SiteLeasePeriodRequestSettings(int leaseInterval = default(int), ApiDurationType leaseDurationType = default(ApiDurationType), int leaseWarningInterval = default(int), ApiDurationType leaseWarningDurationType = default(ApiDurationType)) { this.LeaseInterval = leaseInterval; this.LeaseDurationType = leaseDurationType; this.LeaseWarningInterval = leaseWarningInterval; this.LeaseWarningDurationType = leaseWarningDurationType; }
/// <summary> /// Initializes a new instance of the <see cref="ExtendGroupRequest" /> class. /// </summary> /// <param name="extendDuration">extendDuration.</param> /// <param name="extendDurationType">extendDurationType.</param> /// <param name="groupId">groupId.</param> /// <param name="id">id.</param> /// <param name="serviceId">serviceId.</param> /// <param name="department">department.</param> /// <param name="summary">summary.</param> /// <param name="notesToApprovers">notesToApprovers.</param> /// <param name="questionnaireId">questionnaireId.</param> /// <param name="metadatas">metadatas.</param> public ExtendGroupRequest(int extendDuration = default(int), ApiDurationType extendDurationType = default(ApiDurationType), Guid groupId = default(Guid), Guid?id = default(Guid?), Guid serviceId = default(Guid), string department = default(string), string summary = default(string), string notesToApprovers = default(string), Guid?questionnaireId = default(Guid?), List <RequestMetadata> metadatas = default(List <RequestMetadata>)) { this.ExtendDuration = extendDuration; this.ExtendDurationType = extendDurationType; this.GroupId = groupId; this.Id = id; this.ServiceId = serviceId; this.Department = department; this.Summary = summary; this.NotesToApprovers = notesToApprovers; this.QuestionnaireId = questionnaireId; this.Metadatas = metadatas; }
/// <summary> /// Initializes a new instance of the <see cref="ExtendSiteRequest" /> class. /// </summary> /// <param name="extendDuration">extendDuration.</param> /// <param name="extendDurationType">extendDurationType.</param> /// <param name="action">action.</param> /// <param name="siteId">siteId.</param> /// <param name="siteUrl">siteUrl.</param> /// <param name="id">id.</param> /// <param name="serviceId">serviceId.</param> /// <param name="department">department.</param> /// <param name="summary">summary.</param> /// <param name="notesToApprovers">notesToApprovers.</param> /// <param name="questionnaireId">questionnaireId.</param> /// <param name="metadatas">metadatas.</param> public ExtendSiteRequest(int extendDuration = default(int), ApiDurationType extendDurationType = default(ApiDurationType), SiteLifecycleActionType action = default(SiteLifecycleActionType), Guid siteId = default(Guid), string siteUrl = default(string), Guid?id = default(Guid?), Guid serviceId = default(Guid), string department = default(string), string summary = default(string), string notesToApprovers = default(string), Guid?questionnaireId = default(Guid?), List <RequestMetadata> metadatas = default(List <RequestMetadata>)) { this.ExtendDuration = extendDuration; this.ExtendDurationType = extendDurationType; this.Action = action; this.SiteId = siteId; this.SiteUrl = siteUrl; this.Id = id; this.ServiceId = serviceId; this.Department = department; this.Summary = summary; this.NotesToApprovers = notesToApprovers; this.QuestionnaireId = questionnaireId; this.Metadatas = metadatas; }
/// <summary> /// Initializes a new instance of the <see cref="AdminNotificationEscalationModel" /> class. /// </summary> /// <param name="isEnabled">isEnabled.</param> /// <param name="interval">interval.</param> /// <param name="intervalType">intervalType.</param> /// <param name="reminderSetting">reminderSetting.</param> /// <param name="escalationType">escalationType.</param> /// <param name="escalationUser">escalationUser.</param> /// <param name="escalationEmailTemplate">escalationEmailTemplate.</param> public AdminNotificationEscalationModel(bool isEnabled = default(bool), int interval = default(int), ApiDurationType intervalType = default(ApiDurationType), GuidSettingModel reminderSetting = default(GuidSettingModel), ApiEscalationType escalationType = default(ApiEscalationType), ApiUser escalationUser = default(ApiUser), Guid escalationEmailTemplate = default(Guid)) { this.IsEnabled = isEnabled; this.Interval = interval; this.IntervalType = intervalType; this.ReminderSetting = reminderSetting; this.EscalationType = escalationType; this.EscalationUser = escalationUser; this.EscalationEmailTemplate = escalationEmailTemplate; }
/// <summary> /// Initializes a new instance of the <see cref="ChangeGroupPolicyResult" /> class. /// </summary> /// <param name="currentPolicy">currentPolicy.</param> /// <param name="allPolicies">allPolicies.</param> /// <param name="changePolicyAssignBy">changePolicyAssignBy.</param> /// <param name="startDateType">startDateType.</param> /// <param name="serviceSpecifyDate">serviceSpecifyDate.</param> /// <param name="isEnableLeaseExpired">isEnableLeaseExpired.</param> /// <param name="leaseDuration">leaseDuration.</param> /// <param name="leaseDurationType">leaseDurationType.</param> /// <param name="currentStartDate">currentStartDate.</param> public ChangeGroupPolicyResult(GuidModel currentPolicy = default(GuidModel), List <GuidModel> allPolicies = default(List <GuidModel>), AssignBy changePolicyAssignBy = default(AssignBy), StartDateType startDateType = default(StartDateType), DateTime serviceSpecifyDate = default(DateTime), bool isEnableLeaseExpired = default(bool), int leaseDuration = default(int), ApiDurationType leaseDurationType = default(ApiDurationType), DateTime currentStartDate = default(DateTime)) { this.CurrentPolicy = currentPolicy; this.AllPolicies = allPolicies; this.ChangePolicyAssignBy = changePolicyAssignBy; this.StartDateType = startDateType; this.ServiceSpecifyDate = serviceSpecifyDate; this.IsEnableLeaseExpired = isEnableLeaseExpired; this.LeaseDuration = leaseDuration; this.LeaseDurationType = leaseDurationType; this.CurrentStartDate = currentStartDate; }
/// <summary> /// Initializes a new instance of the <see cref="BriefGroupPolicy" /> class. /// </summary> /// <param name="id">id.</param> /// <param name="name">name.</param> /// <param name="description">description.</param> /// <param name="enableLeaseExpiration">enableLeaseExpiration.</param> /// <param name="leaseExpiredInterval">leaseExpiredInterval.</param> /// <param name="leaseExpiredIntervalType">leaseExpiredIntervalType.</param> /// <param name="enableManageGroupSharing">enableManageGroupSharing.</param> /// <param name="enableInviteAuthorizedGuestUser">enableInviteAuthorizedGuestUser.</param> /// <param name="enableInviteGuestUser">enableInviteGuestUser.</param> public BriefGroupPolicy(Guid id = default(Guid), string name = default(string), string description = default(string), bool enableLeaseExpiration = default(bool), int leaseExpiredInterval = default(int), ApiDurationType leaseExpiredIntervalType = default(ApiDurationType), bool enableManageGroupSharing = default(bool), bool enableInviteAuthorizedGuestUser = default(bool), bool enableInviteGuestUser = default(bool)) { this.Id = id; this.Name = name; this.Description = description; this.EnableLeaseExpiration = enableLeaseExpiration; this.LeaseExpiredInterval = leaseExpiredInterval; this.LeaseExpiredIntervalType = leaseExpiredIntervalType; this.EnableManageGroupSharing = enableManageGroupSharing; this.EnableInviteAuthorizedGuestUser = enableInviteAuthorizedGuestUser; this.EnableInviteGuestUser = enableInviteGuestUser; }
/// <summary> /// Initializes a new instance of the <see cref="AutoTaskExtendRequest" /> class. /// </summary> /// <param name="action">action.</param> /// <param name="extendDuration">extendDuration.</param> /// <param name="extendDurationType">extendDurationType.</param> /// <param name="taskId">taskId.</param> /// <param name="metadatas">metadatas.</param> /// <param name="comments">comments.</param> public AutoTaskExtendRequest(LifecycleAction action = default(LifecycleAction), int extendDuration = default(int), ApiDurationType extendDurationType = default(ApiDurationType), Guid taskId = default(Guid), List <RequestMetadata> metadatas = default(List <RequestMetadata>), CommentsParam comments = default(CommentsParam)) { this.Metadatas = metadatas; this.Comments = comments; this.Action = action; this.ExtendDuration = extendDuration; this.ExtendDurationType = extendDurationType; this.TaskId = taskId; this.Metadatas = metadatas; this.Comments = comments; }
/// <summary> /// Initializes a new instance of the <see cref="SiteLeasePeriodServiceSettings" /> class. /// </summary> /// <param name="leasePeriodAssignBy">leasePeriodAssignBy.</param> /// <param name="leaseWarningAssignBy">leaseWarningAssignBy.</param> /// <param name="leaseEnabled">leaseEnabled.</param> /// <param name="leaseWarningEnabled">leaseWarningEnabled.</param> /// <param name="approvalProcessId">approvalProcessId.</param> /// <param name="leaseInterval">leaseInterval.</param> /// <param name="leaseDurationType">leaseDurationType.</param> /// <param name="leaseWarningInterval">leaseWarningInterval.</param> /// <param name="leaseWarningDurationType">leaseWarningDurationType.</param> public SiteLeasePeriodServiceSettings(AssignBy leasePeriodAssignBy = default(AssignBy), AssignBy leaseWarningAssignBy = default(AssignBy), bool leaseEnabled = default(bool), bool leaseWarningEnabled = default(bool), Guid?approvalProcessId = default(Guid?), int leaseInterval = default(int), ApiDurationType leaseDurationType = default(ApiDurationType), int leaseWarningInterval = default(int), ApiDurationType leaseWarningDurationType = default(ApiDurationType)) { this.LeasePeriodAssignBy = leasePeriodAssignBy; this.LeaseWarningAssignBy = leaseWarningAssignBy; this.LeaseEnabled = leaseEnabled; this.LeaseWarningEnabled = leaseWarningEnabled; this.ApprovalProcessId = approvalProcessId; this.LeaseInterval = leaseInterval; this.LeaseDurationType = leaseDurationType; this.LeaseWarningInterval = leaseWarningInterval; this.LeaseWarningDurationType = leaseWarningDurationType; }
/// <summary> /// Initializes a new instance of the <see cref="ManagePermissionGrantSetting" /> class. /// </summary> /// <param name="isEnableGrantPermission">isEnableGrantPermission.</param> /// <param name="isGrantTemporaryPermission">isGrantTemporaryPermission.</param> /// <param name="grantPermissionAssignBy">grantPermissionAssignBy.</param> /// <param name="temporaryPermissionDuration">temporaryPermissionDuration.</param> /// <param name="temporaryDurationType">temporaryDurationType.</param> /// <param name="isMaxTemporaryDurationSetted">isMaxTemporaryDurationSetted.</param> /// <param name="temporaryPermissionMaxDuration">temporaryPermissionMaxDuration.</param> /// <param name="temporaryPermissionMaxDurationType">temporaryPermissionMaxDurationType.</param> /// <param name="isEnableExpireNotify">isEnableExpireNotify.</param> /// <param name="expireNotifyDuration">expireNotifyDuration.</param> /// <param name="expireNotifyDurationType">expireNotifyDurationType.</param> /// <param name="expireNotifyEmailTemplate">expireNotifyEmailTemplate.</param> /// <param name="isEnableWelcomeNotify">isEnableWelcomeNotify.</param> /// <param name="welcomeEmailSubject">welcomeEmailSubject.</param> /// <param name="welcomeEmailBody">welcomeEmailBody.</param> /// <param name="welcomeEmailAssignBy">welcomeEmailAssignBy.</param> /// <param name="allowSpecifyTemporayPermissionDuration">allowSpecifyTemporayPermissionDuration.</param> public ManagePermissionGrantSetting(bool isEnableGrantPermission = default(bool), bool isGrantTemporaryPermission = default(bool), AssignBy grantPermissionAssignBy = default(AssignBy), int temporaryPermissionDuration = default(int), ApiDurationType temporaryDurationType = default(ApiDurationType), bool isMaxTemporaryDurationSetted = default(bool), int temporaryPermissionMaxDuration = default(int), ApiDurationType temporaryPermissionMaxDurationType = default(ApiDurationType), bool isEnableExpireNotify = default(bool), int expireNotifyDuration = default(int), ApiDurationType expireNotifyDurationType = default(ApiDurationType), Guid?expireNotifyEmailTemplate = default(Guid?), bool isEnableWelcomeNotify = default(bool), string welcomeEmailSubject = default(string), string welcomeEmailBody = default(string), AssignBy welcomeEmailAssignBy = default(AssignBy), bool allowSpecifyTemporayPermissionDuration = default(bool)) { this.IsEnableGrantPermission = isEnableGrantPermission; this.IsGrantTemporaryPermission = isGrantTemporaryPermission; this.GrantPermissionAssignBy = grantPermissionAssignBy; this.TemporaryPermissionDuration = temporaryPermissionDuration; this.TemporaryDurationType = temporaryDurationType; this.IsMaxTemporaryDurationSetted = isMaxTemporaryDurationSetted; this.TemporaryPermissionMaxDuration = temporaryPermissionMaxDuration; this.TemporaryPermissionMaxDurationType = temporaryPermissionMaxDurationType; this.IsEnableExpireNotify = isEnableExpireNotify; this.ExpireNotifyDuration = expireNotifyDuration; this.ExpireNotifyDurationType = expireNotifyDurationType; this.ExpireNotifyEmailTemplate = expireNotifyEmailTemplate; this.IsEnableWelcomeNotify = isEnableWelcomeNotify; this.WelcomeEmailSubject = welcomeEmailSubject; this.WelcomeEmailBody = welcomeEmailBody; this.WelcomeEmailAssignBy = welcomeEmailAssignBy; this.AllowSpecifyTemporayPermissionDuration = allowSpecifyTemporayPermissionDuration; }
/// <summary> /// Initializes a new instance of the <see cref="GroupLeasePeriodSettings" /> class. /// </summary> /// <param name="isEnabled">isEnabled.</param> /// <param name="leaseType">leaseType.</param> /// <param name="durationType">durationType.</param> /// <param name="durationInterval">durationInterval.</param> /// <param name="leaseExpirationDate">leaseExpirationDate.</param> public GroupLeasePeriodSettings(bool isEnabled = default(bool), GroupLeasePeriodType leaseType = default(GroupLeasePeriodType), ApiDurationType durationType = default(ApiDurationType), int durationInterval = default(int), DateTime?leaseExpirationDate = default(DateTime?)) { this.IsEnabled = isEnabled; this.LeaseType = leaseType; this.DurationType = durationType; this.DurationInterval = durationInterval; this.LeaseExpirationDate = leaseExpirationDate; }
/// <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; }
/// <summary> /// Initializes a new instance of the <see cref="PolicyExpirationSettingModel" /> class. /// </summary> /// <param name="isEnabled">isEnabled.</param> /// <param name="duration">duration.</param> /// <param name="durationType">durationType.</param> public PolicyExpirationSettingModel(bool isEnabled = default(bool), int duration = default(int), ApiDurationType durationType = default(ApiDurationType)) { this.IsEnabled = isEnabled; this.Duration = duration; this.DurationType = durationType; }
/// <summary> /// Initializes a new instance of the <see cref="ExtendGroupResult" /> class. /// </summary> /// <param name="extendType">extendType.</param> /// <param name="duration">duration.</param> /// <param name="durationType">durationType.</param> public ExtendGroupResult(ExtendType extendType = default(ExtendType), int duration = default(int), ApiDurationType durationType = default(ApiDurationType)) { this.ExtendType = extendType; this.Duration = duration; this.DurationType = durationType; }
/// <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; }
/// <summary> /// Initializes a new instance of the <see cref="ExtendSiteSetting" /> class. /// </summary> /// <param name="extendType">extendType.</param> /// <param name="duration">duration.</param> /// <param name="durationType">durationType.</param> /// <param name="constantDuration">constantDuration.</param> /// <param name="constantDurationType">constantDurationType.</param> /// <param name="extendBasedTime">extendBasedTime.</param> public ExtendSiteSetting(ExtendType extendType = default(ExtendType), int duration = default(int), ApiDurationType durationType = default(ApiDurationType), int constantDuration = default(int), ApiDurationType constantDurationType = default(ApiDurationType), DateTime extendBasedTime = default(DateTime)) { this.ExtendType = extendType; this.Duration = duration; this.DurationType = durationType; this.ConstantDuration = constantDuration; this.ConstantDurationType = constantDurationType; this.ExtendBasedTime = extendBasedTime; }