Enum DeviceAPI

    • Enum Constant Detail

      • GET_BY_ID

        public static final DeviceAPI GET_BY_ID
      • GET_BY_USER_ID

        public static final DeviceAPI GET_BY_USER_ID
      • COUNT_BY_USER_ID

        public static final DeviceAPI COUNT_BY_USER_ID
      • GET_ACTIVE_BY_USER_ID

        public static final DeviceAPI GET_ACTIVE_BY_USER_ID
      • GET_DEVICE_TOKEN

        public static final DeviceAPI GET_DEVICE_TOKEN
      • GET_DEVICE_BY_TOKEN

        public static final DeviceAPI GET_DEVICE_BY_TOKEN
      • DELETE

        public static final DeviceAPI DELETE
      • DELETE_BY_USER_ID

        public static final DeviceAPI DELETE_BY_USER_ID
      • CREATE

        public static final DeviceAPI CREATE
      • ENABLE

        public static final DeviceAPI ENABLE
      • DISABLE

        public static final DeviceAPI DISABLE
      • REGISTER

        public static final DeviceAPI REGISTER
      • RESET_TOKEN

        public static final DeviceAPI RESET_TOKEN
      • GET_HASHED_TRANSACTION_FOR_DEVICE

        public static final DeviceAPI GET_HASHED_TRANSACTION_FOR_DEVICE
      • MAKE_LOGIN_ATTEMPT_REQUEST_ON_DEVICE

        public static final DeviceAPI MAKE_LOGIN_ATTEMPT_REQUEST_ON_DEVICE
    • Method Detail

      • values

        public static DeviceAPI[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DeviceAPI c : DeviceAPI.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DeviceAPI valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null