Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SiteLockLifecycleItem" /> class.
 /// </summary>
 /// <param name="lockType">lockType.</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 SiteLockLifecycleItem(SiteLockType lockType = default(SiteLockType), 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.LockType         = lockType;
     this.IsNotifyEnabled  = isNotifyEnabled;
     this.NotifyUser       = notifyUser;
     this.NotifyTemplate   = notifyTemplate;
     this.IsEnabled        = isEnabled;
     this.IsDefaultProcess = isDefaultProcess;
     this.Process          = process;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PolicyLockLifecycleItem" /> class.
 /// </summary>
 /// <param name="lockType">lockType.</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="processId">processId.</param>
 public PolicyLockLifecycleItem(SiteLockType lockType = default(SiteLockType), bool isNotifyEnabled = default(bool), string notifyUser = default(string), Guid notifyTemplate = default(Guid), bool isEnabled = default(bool), bool isDefaultProcess = default(bool), Guid processId = default(Guid))
 {
     this.LockType         = lockType;
     this.IsNotifyEnabled  = isNotifyEnabled;
     this.NotifyUser       = notifyUser;
     this.NotifyTemplate   = notifyTemplate;
     this.IsEnabled        = isEnabled;
     this.IsDefaultProcess = isDefaultProcess;
     this.ProcessId        = processId;
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LockSiteRequest" /> class.
 /// </summary>
 /// <param name="lockType">lockType.</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 LockSiteRequest(SiteLockType lockType = default(SiteLockType), 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.LockType         = lockType;
     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;
 }