TaskAssignment

public class TaskAssignment : BoxModel

Task assignment to a single user. There can be multiple assignments on a given task.

BoxModel

  • Box item type.

    Declaration

    Swift

    public var type: String
  • Declaration

    Swift

    public private(set) var rawData: [String : Any] { get }

Properties

  • id

    Identifier

    Declaration

    Swift

    public let id: String
  • File an assignment is on.

    Declaration

    Swift

    public let item: TaskItem?
  • Date of assignment.

    Declaration

    Swift

    public let assignedAt: Date?
  • Assignment status.

    Declaration

    Swift

    public let status: AssignmentStatus?
  • A message from the assignee about this task.

    Declaration

    Swift

    public let message: String?
  • The user task is assigned to.

    Declaration

    Swift

    public let assignedTo: User?
  • The user task is assigned by.

    Declaration

    Swift

    public let assignedBy: User?
  • State of assignment. Can be completed, incomplete, approved, or rejected.

    Declaration

    Swift

    public let resolutionState: AssignmentState?
  • Initializer.

    Throws

    Decoding error.

    Declaration

    Swift

    public required init(json: [String : Any]) throws

    Parameters

    json

    JSON dictionary.