def METHOD_NAME(self):
    a = WebhookInfo(
        url=self.url,
        has_custom_certificate=self.has_custom_certificate,
        pending_update_count=self.pending_update_count,
        last_error_date=self.last_error_date,
        max_connections=self.max_connections,
    )
    b = WebhookInfo(
        url=self.url,
        has_custom_certificate=self.has_custom_certificate,
        pending_update_count=self.pending_update_count,
        last_error_date=self.last_error_date,
        max_connections=self.max_connections,
    )
    c = WebhookInfo(
        url="http://github.com",
        has_custom_certificate=True,
        pending_update_count=78,
        last_error_date=0,
        max_connections=1,
    )
    d = WebhookInfo(
        url="http://github.com",
        has_custom_certificate=True,
        pending_update_count=78,
        last_error_date=0,
        max_connections=1,
        last_synchronization_error_date=123,
    )
    e = LoginUrl("text.com")
    assert a == b
    assert hash(a) == hash(b)
    assert a is not b
    assert a != c
    assert hash(a) != hash(c)
    assert a != d
    assert hash(a) != hash(d)
    assert a != e
    assert hash(a) != hash(e)