@classmethod
def login_fail(cls, val):
    """
        Create an instance of this class set to the ``login_fail`` tag with
        value ``val``.

        :param LoginFailType val:
        :rtype: EventType
        """
    return cls('login_fail', val)
