AnnotationAssistanceRequest
class AnnotationAssistanceRequest extends Model
With an annotation assistance request a BIIGLE user can consult some externa person for the label of a specific annotation.
Traits
Properties
protected array | $casts | The attributes that should be casted to native types. |
Methods
Generate a token for use in the annotation assistance request URL.
The user that created the assistance request.
The (optional) user that should receive the assistance request.
The annotation to which the assistance request belongs.
Get the chosen response label from the request labels array.
Create a new factory instance for the model.
Details
at line 38
static string
generateToken()
Generate a token for use in the annotation assistance request URL.
at line 52
BelongsTo
user()
The user that created the assistance request.
at line 62
BelongsTo
receiver()
The (optional) user that should receive the assistance request.
at line 72
BelongsTo
annotation()
The annotation to which the assistance request belongs.
at line 82
array
getResponseLabelAttribute()
Get the chosen response label from the request labels array.
at line 100
static protected Factory
newFactory()
Create a new factory instance for the model.