@DomainNode
class Assignment(createdAt: OffsetDateTime, lastModifiedAt: OffsetDateTime) : PublicTimelineItem

Event representing that a User is assigned to an Issue. An Assignment is only active if it is still in `assignments` on Issue. READ is granted if READ is granted on `issue`.

Constructors

Link copied to clipboard
constructor(createdAt: OffsetDateTime, lastModifiedAt: OffsetDateTime)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@FilterProperty
@OrderProperty
val createdAt: OffsetDateTime

The DateTime this entity was created at.

Link copied to clipboard
@NodeRelationship(type = "CREATED_BY", direction = Direction.OUTGOING)
@FilterProperty
val createdBy: LazyLoadingDelegate<User, NodePropertyDelegate.NodeProperty>

The User who created this entity.

Link copied to clipboard
internal var fieldCache: MutableMap<String, Any?>
Link copied to clipboard
val graphQLId: ID

The unique id of this node

Link copied to clipboard
@Id
@GeneratedValue(generatorRef = "nodeIdGenerator")
internal var id: String?
Link copied to clipboard
@NodeRelationship(type = "INITIAL_TYPE", direction = Direction.OUTGOING)
@FilterProperty
val initialType: LazyLoadingDelegate<AssignmentType?, NodePropertyDelegate.NodeProperty>

The initial type of Assignment, e.g. REVIEWER. Allowed types are defined by the IssueTemplate.

Link copied to clipboard
Link copied to clipboard
internal var isSaved: Boolean
Link copied to clipboard
@NodeRelationship(type = "TIMELINE", direction = Direction.INCOMING)
@GraphQLNullable
@FilterProperty
val issue: LazyLoadingDelegate<Issue, NodePropertyDelegate.NodeProperty>

The Issue this TimelineItem is part of.

Link copied to clipboard
@FilterProperty
@OrderProperty
var lastModifiedAt: OffsetDateTime

The DateTime this entity was last modified at.

Link copied to clipboard
@NodeRelationship(type = "LAST_MODIFIED_BY", direction = Direction.OUTGOING)
@FilterProperty
val lastModifiedBy: LazyLoadingDelegate<User, NodePropertyDelegate.NodeProperty>

The User who last modified this entity.

Link copied to clipboard
@ConvertWith(converter = LazyLoadingContextConverter::class)
internal var lazyLoadingContext: LazyLoadingContext?
Link copied to clipboard
@Version
private var nodeVersion: Long

Version used for optimistic locking

Link copied to clipboard
internal var orderFields: MutableMap<String, Any?>?
Link copied to clipboard
@NodeRelationship(type = "CHILD_ITEMS", direction = Direction.INCOMING)
@FilterProperty
val parentItem: LazyLoadingDelegate<ParentTimelineItem?, NodePropertyDelegate.NodeProperty>

If existing, the parent TimelineItem

Link copied to clipboard
internal val propertyLookup: MutableMap<String, PropertyDelegate<*>>
Link copied to clipboard
Link copied to clipboard
@NodeRelationship(type = "TYPE", direction = Direction.OUTGOING)
@FilterProperty
val type: LazyLoadingDelegate<AssignmentType?, NodePropertyDelegate.NodeProperty>

The type of Assignment, e.g. REVIEWER. Allowed types are defined by the IssueTemplate.

Link copied to clipboard
@NodeRelationship(type = "USER", direction = Direction.OUTGOING)
@FilterProperty
val user: LazyLoadingDelegate<User, NodePropertyDelegate.NodeProperty>

The User assigned to the Issue.

Functions

Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
internal suspend fun getFromGraphQL(@Autowired nodeQueryParser: NodeQueryParser, dataFetchingEnvironment: DataFetchingEnvironment): Any?
Link copied to clipboard
internal fun <T : PropertyDelegate<*>> getProperty(property: KProperty1<*, *>): T
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
internal suspend fun <T : Node?> loadNodesOfRelationship(property: KProperty1<*, *>, loader: LazyLoadingSubqueryGenerator<T>.() -> Unit?)
Link copied to clipboard
protected fun <T : Node?> NodeProperty(): PropertyDelegateProvider<Node, NodePropertyDelegate<T>>
Link copied to clipboard
protected fun <T : Node> NodeSetProperty(): PropertyDelegateProvider<Node, NodeSetPropertyDelegate<T>>
Link copied to clipboard
internal fun registerQueryResult(entry: NodeQueryEntry<*>, queryResult: Any?)
Link copied to clipboard
open override fun toString(): String