@classmethod
def get(cls, channel: int):
    """
        Get the attribute for an input number.

        :param channel: the channel number (1..4)
        :return: the enum for the desired channel.
        """
    return getattr(cls, 'input_{}'.format(channel))
