equals

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

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

Two AttachmentDescriptor objects are considered equal if they have the same values for the following properties:

  • id (unique identifier)

  • mediaType (media type of the attachment)

  • data (attachment data)

  • filename (array of filenames associated with the attachment)

  • format (format of the attachment)

  • lastModTime (last modification time of the attachment)

  • byteCount (byte count of the attachment)

  • description (description of the attachment)

Return

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

Parameters

other

The object to compare with this AttachmentDescriptor object.