hash Code
Calculates the hash code for the IssueCredential
object.
The hash code is calculated using the following formula:
The hash code of the
id
field is calculated using itshashCode()
method.The hash code of the
body
field is calculated using itshashCode()
method.The hash code of the
attachments
field is calculated using itscontentHashCode()
method.The hash code of the
thid
field is calculated using itshashCode()
method, or zero if it is null.The hash code of the
from
field is calculated using itshashCode()
method.The hash code of the
to
field is calculated using itshashCode()
method.The hash code of the
type
field is calculated using itshashCode()
method.The final hash code is calculated by multiplying each field's hash code by 31 and summing them up.
Return
The calculated hash code value for the IssueCredential
object.