/// <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="assignedToUserId">Gets or sets the actual assigned /// user, if any.</param> /// <param name="assignedToUser">Gets or sets stores the actual /// assigned user, if any.</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="externalTag">Name of external system where this task /// is handled</param> /// <param name="organizationUnitId">Gets or sets the /// folder/organization-unit id.</param> public TaskFormDto(object formLayout = default(object), string actionLabel = default(string), long?assignedToUserId = default(long?), UserLoginInfoDto assignedToUser = default(UserLoginInfoDto), TaskFormDtoStatus?status = default(TaskFormDtoStatus?), object data = default(object), string action = default(string), string externalTag = default(string), long?organizationUnitId = default(long?), long?id = default(long?)) { FormLayout = formLayout; ActionLabel = actionLabel; AssignedToUserId = assignedToUserId; AssignedToUser = assignedToUser; Status = status; Data = data; Action = action; ExternalTag = externalTag; OrganizationUnitId = organizationUnitId; Id = id; CustomInit(); }
/// <summary> /// Initializes a new instance of the TaskDto class. /// </summary> /// <param name="title">Gets or sets title of this task.</param> /// <param name="type">Gets or sets type of this task. Possible values /// include: 'DocumentValidationTask', 'ExternalTask', /// 'FormTask'</param> /// <param name="priority">Gets or sets priority of this task. Possible /// values include: 'Low', 'Medium', 'High', 'Critical'</param> /// <param name="status">Gets or sets the status of this task. Possible /// values include: 'Unassigned', 'Pending', 'Completed'</param> /// <param name="assignedToUser">Gets or sets stores the actual /// assigned user, if any.</param> /// <param name="creationTime">Gets or sets time at which this task was /// created.</param> /// <param name="taskCatalogName">Gets or sets the task /// catalog/category of the task</param> /// <param name="organizationUnitId">Gets or sets organization unit id /// of the task</param> /// <param name="externalTag">Name of external system where this task /// is handled</param> public TaskDto(string title = default(string), TaskDtoType?type = default(TaskDtoType?), TaskDtoPriority?priority = default(TaskDtoPriority?), TaskDtoStatus?status = default(TaskDtoStatus?), UserLoginInfoDto assignedToUser = default(UserLoginInfoDto), System.DateTime?creationTime = default(System.DateTime?), string taskCatalogName = default(string), long?organizationUnitId = default(long?), bool?isCompleted = default(bool?), string externalTag = default(string), long?id = default(long?)) { Title = title; Type = type; Priority = priority; Status = status; AssignedToUser = assignedToUser; CreationTime = creationTime; TaskCatalogName = taskCatalogName; OrganizationUnitId = organizationUnitId; IsCompleted = isCompleted; ExternalTag = externalTag; Id = id; CustomInit(); }