Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OperationConfigurationDeleteProcessRm" /> class.
 /// </summary>
 /// <param name="options">options (required).</param>
 public OperationConfigurationDeleteProcessRm(ProcessDeleteOptionsRm options = default(ProcessDeleteOptionsRm), int?operationType = default(int?), OperationRetryConfigurationRm retryConfiguration = default(OperationRetryConfigurationRm), EventInfoRm onErrorEventConfiguration = default(EventInfoRm), EventInfoRm onFailedEventConfiguration = default(EventInfoRm), bool?invalidateOtherOperations = default(bool?), string userDescription = default(string)) : base(operationType, retryConfiguration, onErrorEventConfiguration, onFailedEventConfiguration, invalidateOtherOperations, userDescription)
 {
     // to ensure "options" is required (not null)
     if (options == null)
     {
         throw new InvalidDataException("options is a required property for OperationConfigurationDeleteProcessRm and cannot be null");
     }
     else
     {
         this.Options = options;
     }
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ProcessInstancesRm" /> class.
 /// </summary>
 /// <param name="id">Process identifier.</param>
 /// <param name="diagramId">Diagram identifier.</param>
 /// <param name="diagramRevision">Diagram revision.</param>
 /// <param name="hasCustomDiagram">Indicates if the process has been modified.</param>
 /// <param name="diagramName">Diagram name.</param>
 /// <param name="status">Process status [0&#x3D;Created, 1&#x3D;Initialized, 2&#x3D;Started, 3&#x3D;Paused, 9&#x3D;Stopped, 10&#x3D;Terminated, 11&#x3D;TerminatedError].</param>
 /// <param name="logicStatus">Process dashboard status [0&#x3D;Completed, 1&#x3D;Error, 2&#x3D;Running, 3&#x3D;Stopped, 4&#x3D;Queued].</param>
 /// <param name="priority">Process priority.</param>
 /// <param name="activationMode">activationMode.</param>
 /// <param name="creationDateUtc">Creation date.</param>
 /// <param name="lastUpdateUtc">Last update date.</param>
 /// <param name="startDateUtc">Start date.</param>
 /// <param name="endDateUtc">End date.</param>
 /// <param name="deleteDateUtc">Delete date.</param>
 /// <param name="descriptions">List of traslation of the descriptions.</param>
 /// <param name="details">List of traslation of the details.</param>
 /// <param name="notes">List of notes.</param>
 /// <param name="messageLevel">Message level [0&#x3D;Info, 1&#x3D;Warning, 2&#x3D;Error].</param>
 /// <param name="messages">List of messages.</param>
 /// <param name="customDeleteOption">customDeleteOption.</param>
 public ProcessInstancesRm(Guid?id = default(Guid?), Guid?diagramId = default(Guid?), int?diagramRevision = default(int?), bool?hasCustomDiagram = default(bool?), string diagramName = default(string), int?status = default(int?), int?logicStatus = default(int?), int?priority = default(int?), OneOfProcessInstancesRmActivationMode activationMode = default(OneOfProcessInstancesRmActivationMode), DateTime?creationDateUtc = default(DateTime?), DateTime?lastUpdateUtc = default(DateTime?), DateTime?startDateUtc = default(DateTime?), DateTime?endDateUtc = default(DateTime?), DateTime?deleteDateUtc = default(DateTime?), List <MultiLanguageValueRm> descriptions = default(List <MultiLanguageValueRm>), List <MultiLanguageValueRm> details = default(List <MultiLanguageValueRm>), List <NoteRm> notes = default(List <NoteRm>), int?messageLevel = default(int?), List <ProcessMessageRm> messages = default(List <ProcessMessageRm>), ProcessDeleteOptionsRm customDeleteOption = default(ProcessDeleteOptionsRm))
 {
     this.Id                 = id;
     this.DiagramId          = diagramId;
     this.DiagramRevision    = diagramRevision;
     this.HasCustomDiagram   = hasCustomDiagram;
     this.DiagramName        = diagramName;
     this.Status             = status;
     this.LogicStatus        = logicStatus;
     this.Priority           = priority;
     this.ActivationMode     = activationMode;
     this.CreationDateUtc    = creationDateUtc;
     this.LastUpdateUtc      = lastUpdateUtc;
     this.StartDateUtc       = startDateUtc;
     this.EndDateUtc         = endDateUtc;
     this.DeleteDateUtc      = deleteDateUtc;
     this.Descriptions       = descriptions;
     this.Details            = details;
     this.Notes              = notes;
     this.MessageLevel       = messageLevel;
     this.Messages           = messages;
     this.CustomDeleteOption = customDeleteOption;
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DiagramsRm" /> class.
 /// </summary>
 /// <param name="revision">Index revision of the diagram.</param>
 /// <param name="parentId">Reference at the first revision of the diagram.</param>
 /// <param name="status">This enumerative indicates the state of the diagram [0&#x3D;Deleted, 1&#x3D;Online, 2&#x3D;Edit, 3&#x3D;WaitForApprove, 4&#x3D;Offline, 5&#x3D;Revisioned, 6&#x3D;Instance].</param>
 /// <param name="info">info.</param>
 /// <param name="xmlData">XML description of the diagram.</param>
 /// <param name="runtimeProcessId">Reference at the process identifier.</param>
 /// <param name="supervisorList">Supervisor list (required).</param>
 /// <param name="id">Diagram identifier.</param>
 /// <param name="priority">Diagram priority.</param>
 /// <param name="name">Diagram name (required).</param>
 /// <param name="descriptions">Traslation list of the diagram descriptions.</param>
 /// <param name="details">Traslation list of the diagram details.</param>
 /// <param name="processDeleteOption">processDeleteOption (required).</param>
 /// <param name="outcomes">The outcomes list associated at the diagram.</param>
 /// <param name="diagramGroupId">The diagram group identifier.</param>
 /// <param name="allowMultipleProcess">Defines if another diagram can be started.</param>
 /// <param name="documents">List of the documents associated at the diagram.</param>
 /// <param name="calendarInfo">calendarInfo.</param>
 public DiagramsRm(int?revision = default(int?), Guid?parentId = default(Guid?), int?status = default(int?), RecordInfoRm info = default(RecordInfoRm), string xmlData = default(string), Guid?runtimeProcessId = default(Guid?), List <ArxivarUserInfoRm> supervisorList = default(List <ArxivarUserInfoRm>), Guid?id = default(Guid?), int?priority = default(int?), string name = default(string), List <MultiLanguageValueRm> descriptions = default(List <MultiLanguageValueRm>), List <MultiLanguageValueRm> details = default(List <MultiLanguageValueRm>), ProcessDeleteOptionsRm processDeleteOption = default(ProcessDeleteOptionsRm), List <Guid?> outcomes = default(List <Guid?>), Guid?diagramGroupId = default(Guid?), bool?allowMultipleProcess = default(bool?), List <ProcessDocumentParameterRm> documents = default(List <ProcessDocumentParameterRm>), CalendarInfoRm calendarInfo = default(CalendarInfoRm))
 {
     // to ensure "supervisorList" is required (not null)
     if (supervisorList == null)
     {
         throw new InvalidDataException("supervisorList is a required property for DiagramsRm and cannot be null");
     }
     else
     {
         this.SupervisorList = supervisorList;
     }
     // to ensure "name" is required (not null)
     if (name == null)
     {
         throw new InvalidDataException("name is a required property for DiagramsRm and cannot be null");
     }
     else
     {
         this.Name = name;
     }
     // to ensure "processDeleteOption" is required (not null)
     if (processDeleteOption == null)
     {
         throw new InvalidDataException("processDeleteOption is a required property for DiagramsRm and cannot be null");
     }
     else
     {
         this.ProcessDeleteOption = processDeleteOption;
     }
     this.Revision         = revision;
     this.ParentId         = parentId;
     this.Status           = status;
     this.Info             = info;
     this.XmlData          = xmlData;
     this.RuntimeProcessId = runtimeProcessId;
     this.Id                   = id;
     this.Priority             = priority;
     this.Descriptions         = descriptions;
     this.Details              = details;
     this.Outcomes             = outcomes;
     this.DiagramGroupId       = diagramGroupId;
     this.AllowMultipleProcess = allowMultipleProcess;
     this.Documents            = documents;
     this.CalendarInfo         = calendarInfo;
 }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DiagramCreateRm" /> class.
 /// </summary>
 /// <param name="id">Diagram identifier.</param>
 /// <param name="priority">Diagram priority.</param>
 /// <param name="name">Diagram name (required).</param>
 /// <param name="descriptions">Traslation list of the diagram descriptions.</param>
 /// <param name="details">Traslation list of the diagram details.</param>
 /// <param name="processDeleteOption">processDeleteOption (required).</param>
 /// <param name="outcomes">The outcomes list associated at the diagram.</param>
 /// <param name="diagramGroupId">The diagram group identifier.</param>
 /// <param name="allowMultipleProcess">Defines if another diagram can be started.</param>
 /// <param name="documents">List of the documents associated at the diagram.</param>
 /// <param name="calendarInfo">calendarInfo.</param>
 public DiagramCreateRm(Guid?id = default(Guid?), int?priority = default(int?), string name = default(string), List <MultiLanguageValueRm> descriptions = default(List <MultiLanguageValueRm>), List <MultiLanguageValueRm> details = default(List <MultiLanguageValueRm>), ProcessDeleteOptionsRm processDeleteOption = default(ProcessDeleteOptionsRm), List <Guid?> outcomes = default(List <Guid?>), Guid?diagramGroupId = default(Guid?), bool?allowMultipleProcess = default(bool?), List <ProcessDocumentParameterRm> documents = default(List <ProcessDocumentParameterRm>), CalendarInfoRm calendarInfo = default(CalendarInfoRm))
 {
     // to ensure "name" is required (not null)
     if (name == null)
     {
         throw new InvalidDataException("name is a required property for DiagramCreateRm and cannot be null");
     }
     else
     {
         this.Name = name;
     }
     // to ensure "processDeleteOption" is required (not null)
     if (processDeleteOption == null)
     {
         throw new InvalidDataException("processDeleteOption is a required property for DiagramCreateRm and cannot be null");
     }
     else
     {
         this.ProcessDeleteOption = processDeleteOption;
     }
     this.Id                   = id;
     this.Priority             = priority;
     this.Descriptions         = descriptions;
     this.Details              = details;
     this.Outcomes             = outcomes;
     this.DiagramGroupId       = diagramGroupId;
     this.AllowMultipleProcess = allowMultipleProcess;
     this.Documents            = documents;
     this.CalendarInfo         = calendarInfo;
 }