示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CalendarRm" /> class.
 /// </summary>
 /// <param name="isDefault">Indicates if is the default calendar.</param>
 /// <param name="info">info.</param>
 /// <param name="id">Calendar identifier.</param>
 /// <param name="name">Calendar name.</param>
 /// <param name="calendarDays">Calendar day configuration.</param>
 /// <param name="dailyWorkingInterval">dailyWorkingInterval.</param>
 /// <param name="users">Users.</param>
 public CalendarRm(bool?isDefault = default(bool?), RecordInfoRm info = default(RecordInfoRm), Guid?id = default(Guid?), string name = default(string), List <CalendarDayModelRm> calendarDays = default(List <CalendarDayModelRm>), CalendarIntervalRm dailyWorkingInterval = default(CalendarIntervalRm), List <ArxivarUserInfoRm> users = default(List <ArxivarUserInfoRm>))
 {
     this.IsDefault            = isDefault;
     this.Info                 = info;
     this.Id                   = id;
     this.Name                 = name;
     this.CalendarDays         = calendarDays;
     this.DailyWorkingInterval = dailyWorkingInterval;
     this.Users                = users;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NoteRm" /> class.
 /// </summary>
 /// <param name="id">Note identifier.</param>
 /// <param name="text">Text of the note (HTML format) (required).</param>
 /// <param name="info">info.</param>
 public NoteRm(Guid?id = default(Guid?), string text = default(string), RecordInfoRm info = default(RecordInfoRm))
 {
     // to ensure "text" is required (not null)
     if (text == null)
     {
         throw new InvalidDataException("text is a required property for NoteRm and cannot be null");
     }
     else
     {
         this.Text = text;
     }
     this.Id   = id;
     this.Info = info;
 }
示例#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;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DiagramEventsRm" /> class.
 /// </summary>
 /// <param name="id">The event identifier.</param>
 /// <param name="diagramId">The diagram identifier.</param>
 /// <param name="srcId">The source diagram identifier.</param>
 /// <param name="name">The event name (required).</param>
 /// <param name="info">info (required).</param>
 public DiagramEventsRm(Guid?id = default(Guid?), Guid?diagramId = default(Guid?), Guid?srcId = default(Guid?), string name = default(string), RecordInfoRm info = default(RecordInfoRm))
 {
     // to ensure "name" is required (not null)
     if (name == null)
     {
         throw new InvalidDataException("name is a required property for DiagramEventsRm and cannot be null");
     }
     else
     {
         this.Name = name;
     }
     // to ensure "info" is required (not null)
     if (info == null)
     {
         throw new InvalidDataException("info is a required property for DiagramEventsRm and cannot be null");
     }
     else
     {
         this.Info = info;
     }
     this.Id        = id;
     this.DiagramId = diagramId;
     this.SrcId     = srcId;
 }
示例#5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProcessDocumentForDashboardRm" /> class.
 /// </summary>
 /// <param name="id">Process document identifier.</param>
 /// <param name="documentKind">Process document kind [0&#x3D;Primary, 1&#x3D;Secondary, 2&#x3D;Attachment].</param>
 /// <param name="filename">File name.</param>
 /// <param name="toSend">Defines if the process document can be sent.</param>
 /// <param name="isLocal">Defines if the process document is in the edit buffer.</param>
 /// <param name="info">info.</param>
 /// <param name="arxDocInfo">arxDocInfo.</param>
 public ProcessDocumentForDashboardRm(Guid?id = default(Guid?), int?documentKind = default(int?), string filename = default(string), bool?toSend = default(bool?), bool?isLocal = default(bool?), RecordInfoRm info = default(RecordInfoRm), ARXivarDocumentInfoRm arxDocInfo = default(ARXivarDocumentInfoRm))
 {
     this.Id           = id;
     this.DocumentKind = documentKind;
     this.Filename     = filename;
     this.ToSend       = toSend;
     this.IsLocal      = isLocal;
     this.Info         = info;
     this.ArxDocInfo   = arxDocInfo;
 }