Пример #1
0
 /// <summary>
 /// Initializes a new instance of the TaskNoteDto class.
 /// </summary>
 /// <param name="key">Key</param>
 /// <param name="tenantId">Gets or Sets the Tenant Id.</param>
 /// <param name="organizationUnitId">Gets or sets the
 /// folder/organization-unit id.</param>
 /// <param name="taskId">Gets or sets the Id of Task to which this Note
 /// belongs to.</param>
 /// <param name="text">Gets or sets the text note for the task.</param>
 /// <param name="creatorUserId">Gets or sets the id of the user who
 /// created the Task Note.</param>
 /// <param name="creationTime">Gets or sets time at which this task was
 /// created.</param>
 public TaskNoteDto(UserLoginInfoDto creatorUser = default(UserLoginInfoDto), UserLoginInfoDto lastModifiedUser = default(UserLoginInfoDto), System.Guid?key = default(System.Guid?), int?tenantId = default(int?), long?organizationUnitId = default(long?), long?taskId = default(long?), string text = default(string), long?creatorUserId = default(long?), System.DateTime?creationTime = default(System.DateTime?), long?id = default(long?))
 {
     CreatorUser      = creatorUser;
     LastModifiedUser = lastModifiedUser;
     Key                = key;
     TenantId           = tenantId;
     OrganizationUnitId = organizationUnitId;
     TaskId             = taskId;
     Text               = text;
     CreatorUserId      = creatorUserId;
     CreationTime       = creationTime;
     Id = id;
     CustomInit();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the TaskActivityDto class.
 /// </summary>
 /// <param name="key">Key</param>
 /// <param name="tenantId">Gets or Sets the Tenant Id.</param>
 /// <param name="organizationUnitId">Gets or sets the
 /// folder/organization-unit id.</param>
 /// <param name="taskId">Gets or sets the Id of Task to which this Note
 /// belongs to.</param>
 /// <param name="activityType">Gets or sets the activity type performed
 /// on Task. Possible values include: 'Created', 'Assigned',
 /// 'ReAssigned', 'UnAssigned', 'Saved', 'Forwarded',
 /// 'Completed'</param>
 /// <param name="creatorUserId">Gets or sets the id of the user who
 /// created the Task Note.</param>
 /// <param name="targetUserId">user to whom the Task is assigned on
 /// this activity</param>
 /// <param name="taskNoteId">Gets or sets the Id of the TaskNote
 /// created for this activity.</param>
 /// <param name="creationTime">Gets or sets time at which this task was
 /// created.</param>
 public TaskActivityDto(UserLoginInfoDto creatorUser = default(UserLoginInfoDto), UserLoginInfoDto targetUser = default(UserLoginInfoDto), TaskDto task = default(TaskDto), TaskNoteDto taskNote = default(TaskNoteDto), System.Guid?key = default(System.Guid?), int?tenantId = default(int?), long?organizationUnitId = default(long?), long?taskId = default(long?), TaskActivityMetadataDtoActivityType?activityType = default(TaskActivityMetadataDtoActivityType?), long?creatorUserId = default(long?), long?targetUserId = default(long?), long?taskNoteId = default(long?), System.DateTime?creationTime = default(System.DateTime?), long?id = default(long?))
 {
     CreatorUser        = creatorUser;
     TargetUser         = targetUser;
     Task               = task;
     TaskNote           = taskNote;
     Key                = key;
     TenantId           = tenantId;
     OrganizationUnitId = organizationUnitId;
     TaskId             = taskId;
     ActivityType       = activityType;
     CreatorUserId      = creatorUserId;
     TargetUserId       = targetUserId;
     TaskNoteId         = taskNoteId;
     CreationTime       = creationTime;
     Id = id;
     CustomInit();
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the TaskDto class.
 /// </summary>
 /// <param name="status">Gets or sets the status of this task. Possible
 /// values include: 'Unassigned', 'Pending', 'Completed'</param>
 /// <param name="taskCatalogName">Gets or sets the task
 /// catalog/category of the task</param>
 /// <param name="title">Gets or sets title of this task.</param>
 /// <param name="type">Gets or sets type of this task. Possible values
 /// include: 'FormTask', 'ExternalTask', 'DocumentValidationTask',
 /// 'DocumentClassificationTask'</param>
 /// <param name="priority">Gets or sets priority of this task. Possible
 /// values include: 'Low', 'Medium', 'High', 'Critical'</param>
 /// <param name="assignedToUserId">Gets the id of the actual assigned
 /// user, if any.</param>
 /// <param name="creatorUserId">Gets the id of the user who created the
 /// task.</param>
 /// <param name="lastModifierUserId">Gets the id of the user who
 /// modified the task, if any.</param>
 /// <param name="creationTime">Gets or sets time at which this task was
 /// created.</param>
 /// <param name="lastModificationTime">Gets or sets time at which this
 /// task was last modified.</param>
 /// <param name="organizationUnitId">Gets or sets the
 /// folder/organization-unit id.</param>
 /// <param name="externalTag">Identifier of external system where this
 /// task is handled</param>
 public TaskDto(TaskDtoStatus?status = default(TaskDtoStatus?), UserLoginInfoDto assignedToUser = default(UserLoginInfoDto), string taskCatalogName = default(string), bool?isCompleted = default(bool?), string title = default(string), TaskMetadataDtoType?type = default(TaskMetadataDtoType?), TaskMetadataDtoPriority?priority = default(TaskMetadataDtoPriority?), long?assignedToUserId = default(long?), long?creatorUserId = default(long?), long?lastModifierUserId = default(long?), System.DateTime?creationTime = default(System.DateTime?), System.DateTime?lastModificationTime = default(System.DateTime?), long?organizationUnitId = default(long?), string externalTag = default(string), long?id = default(long?))
 {
     Status               = status;
     AssignedToUser       = assignedToUser;
     TaskCatalogName      = taskCatalogName;
     IsCompleted          = isCompleted;
     Title                = title;
     Type                 = type;
     Priority             = priority;
     AssignedToUserId     = assignedToUserId;
     CreatorUserId        = creatorUserId;
     LastModifierUserId   = lastModifierUserId;
     CreationTime         = creationTime;
     LastModificationTime = lastModificationTime;
     OrganizationUnitId   = organizationUnitId;
     ExternalTag          = externalTag;
     Id = id;
     CustomInit();
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the TaskFormDto class.
 /// </summary>
 /// <param name="formLayout">Task Form Layout json</param>
 /// <param name="actionLabel">Task form action label</param>
 /// <param name="status">Task status. Possible values include:
 /// 'Unassigned', 'Pending', 'Completed'</param>
 /// <param name="data">Task form data json</param>
 /// <param name="action">Task form action</param>
 /// <param name="title">Gets or sets title of this task.</param>
 /// <param name="type">Gets or sets type of this task. Possible values
 /// include: 'FormTask', 'ExternalTask', 'DocumentValidationTask',
 /// 'DocumentClassificationTask'</param>
 /// <param name="priority">Gets or sets priority of this task. Possible
 /// values include: 'Low', 'Medium', 'High', 'Critical'</param>
 /// <param name="assignedToUserId">Gets the id of the actual assigned
 /// user, if any.</param>
 /// <param name="creatorUserId">Gets the id of the user who created the
 /// task.</param>
 /// <param name="lastModifierUserId">Gets the id of the user who
 /// modified the task, if any.</param>
 /// <param name="creationTime">Gets or sets time at which this task was
 /// created.</param>
 /// <param name="lastModificationTime">Gets or sets time at which this
 /// task was last modified.</param>
 /// <param name="organizationUnitId">Gets or sets the
 /// folder/organization-unit id.</param>
 /// <param name="externalTag">Identifier of external system where this
 /// task is handled</param>
 public TaskFormDto(object formLayout = default(object), string actionLabel = default(string), UserLoginInfoDto assignedToUser = default(UserLoginInfoDto), TaskDataDtoStatus?status = default(TaskDataDtoStatus?), object data = default(object), string action = default(string), string title = default(string), TaskMetadataDtoType?type = default(TaskMetadataDtoType?), TaskMetadataDtoPriority?priority = default(TaskMetadataDtoPriority?), long?assignedToUserId = default(long?), long?creatorUserId = default(long?), long?lastModifierUserId = default(long?), System.DateTime?creationTime = default(System.DateTime?), System.DateTime?lastModificationTime = default(System.DateTime?), long?organizationUnitId = default(long?), string externalTag = default(string), long?id = default(long?))
 {
     FormLayout           = formLayout;
     ActionLabel          = actionLabel;
     AssignedToUser       = assignedToUser;
     Status               = status;
     Data                 = data;
     Action               = action;
     Title                = title;
     Type                 = type;
     Priority             = priority;
     AssignedToUserId     = assignedToUserId;
     CreatorUserId        = creatorUserId;
     LastModifierUserId   = lastModifierUserId;
     CreationTime         = creationTime;
     LastModificationTime = lastModificationTime;
     OrganizationUnitId   = organizationUnitId;
     ExternalTag          = externalTag;
     Id = id;
     CustomInit();
 }