示例#1
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();
 }
示例#2
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();
 }