Enum Type

  • All Implemented Interfaces:
    EnumParam, java.io.Serializable, java.lang.Comparable<Type>

    public enum Type
    extends java.lang.Enum<Type>
    implements EnumParam
    • Enum Constant Detail

      • POST

        @SerializedName("post")
        public static final Type POST
      • COMMENT

        @SerializedName("comment")
        public static final Type COMMENT
      • PHOTO

        @SerializedName("photo")
        public static final Type PHOTO
      • AUDIO

        @SerializedName("audio")
        public static final Type AUDIO
      • VIDEO

        @SerializedName("video")
        public static final Type VIDEO
      • NOTE

        @SerializedName("note")
        public static final Type NOTE
      • MARKET

        @SerializedName("market")
        public static final Type MARKET
      • PHOTO_COMMENT

        @SerializedName("photo_comment")
        public static final Type PHOTO_COMMENT
      • VIDEO_COMMENT

        @SerializedName("video_comment")
        public static final Type VIDEO_COMMENT
      • TOPIC_COMMENT

        @SerializedName("topic_comment")
        public static final Type TOPIC_COMMENT
      • MARKET_COMMENT

        @SerializedName("market_comment")
        public static final Type MARKET_COMMENT
      • SITEPAGE

        @SerializedName("sitepage")
        public static final Type SITEPAGE
      • TEXTPOST

        @SerializedName("textpost")
        public static final Type TEXTPOST
    • Method Detail

      • values

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

        public static Type 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
      • getValue

        public java.lang.String getValue()
        Specified by:
        getValue in interface EnumParam
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<Type>