Generates a hash code value for the object based on its properties.
The hash code value for the object.