nullableHasOneRelationship
fun <R : Resource, RL : Resource> R.nullableHasOneRelationship(name: String, defaultValue: RL? = null): MapDelegate<R, RL?>(source)
Delegate for relationships. Let you specify the name of the relationship to delegate to.
Parameters
name
The name of the relationship.
defaultValue
The default value of the relationship.
R
The type of the resource.
RL
The type of the relationship.