equals

open operator override fun equals(other: Any?): Boolean(source)

Checks if this RequestPresentation object is equal to the specified other object.

Two RequestPresentation objects are considered equal if they meet the following conditions:

  • The two objects have the same class type.

  • The id, body, attachments, thid, from, to, and type properties of the two objects are also equal.

Return

true if the specified other object is equal to this RequestPresentation object, false otherwise.

Parameters

other

The object to compare with this RequestPresentation object.