ZyncProjectAssignment

data class ZyncProjectAssignment(val projectUid: String, val userUid: String? = null, val user: User? = null, val teamUid: String? = null, val team: Team? = null, val assignmentType: ZyncProjectAssignmentType, val projectRole: ZyncProjectRole = ZyncProjectRole.MEMBER, val isPrimary: Boolean = false, val assignedAt: String, val assignedByUid: String? = null, val assignedBy: User? = null, val acceptanceStatus: ZyncProjectAssignmentStatus = ZyncProjectAssignmentStatus.PENDING)

Domain model representing project assignment.

Constructors

Link copied to clipboard
constructor(projectUid: String, userUid: String? = null, user: User? = null, teamUid: String? = null, team: Team? = null, assignmentType: ZyncProjectAssignmentType, projectRole: ZyncProjectRole = ZyncProjectRole.MEMBER, isPrimary: Boolean = false, assignedAt: String, assignedByUid: String? = null, assignedBy: User? = null, acceptanceStatus: ZyncProjectAssignmentStatus = ZyncProjectAssignmentStatus.PENDING)

Properties

Link copied to clipboard
Link copied to clipboard
val assignedBy: User? = null
Link copied to clipboard
val assignedByUid: String? = null
Link copied to clipboard

Get assignee display name.

Link copied to clipboard

Check if assignment is accepted.

Link copied to clipboard

Check if assignment is pending.

Link copied to clipboard
val isPrimary: Boolean = false
Link copied to clipboard

Check if assignment is rejected.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val team: Team? = null
Link copied to clipboard
val teamUid: String? = null
Link copied to clipboard
val user: User? = null
Link copied to clipboard
val userUid: String? = null