Enum TDAPI_MAIL_PRIORITIES

  • All Implemented Interfaces:
    com4j.ComEnum, java.io.Serializable, java.lang.Comparable<TDAPI_MAIL_PRIORITIES>

    public enum TDAPI_MAIL_PRIORITIES
    extends java.lang.Enum<TDAPI_MAIL_PRIORITIES>
    implements com4j.ComEnum

    Mail Priority.

    • Enum Constant Detail

      • MAIL_PRIORITY_LOW

        public static final TDAPI_MAIL_PRIORITIES MAIL_PRIORITY_LOW

        Low mail importance.

        The value of this constant is 5

      • MAIL_PRIORITY_NORMAL

        public static final TDAPI_MAIL_PRIORITIES MAIL_PRIORITY_NORMAL

        Normal mail importance.

        The value of this constant is 3

      • MAIL_PRIORITY_HIGH

        public static final TDAPI_MAIL_PRIORITIES MAIL_PRIORITY_HIGH

        High mail importance.

        The value of this constant is 1

    • Method Detail

      • values

        public static TDAPI_MAIL_PRIORITIES[] 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 (TDAPI_MAIL_PRIORITIES c : TDAPI_MAIL_PRIORITIES.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TDAPI_MAIL_PRIORITIES valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • comEnumValue

        public int comEnumValue()
        Specified by:
        comEnumValue in interface com4j.ComEnum