response

fun response(name: String): Response?

Returns the response associated with the name or null if the named element is not in the model. Note that this will also return any instances for subclasses of Response (i.e., including TWResponse)

Return

the associated Response. May be null if the provided name does not exist in the model

Note for Java users: This method may return null. Always check for null before using the result.

Parameters

name

The name of the Response model element