Enum Fields

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

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

      • ID

        @SerializedName("id")
        public static final Fields ID
      • TITLE

        @SerializedName("title")
        public static final Fields TITLE
      • ADDRESS

        @SerializedName("address")
        public static final Fields ADDRESS
      • ADDITIONAL_ADDRESS

        @SerializedName("additional_address")
        public static final Fields ADDITIONAL_ADDRESS
      • COUNTRY_ID

        @SerializedName("country_id")
        public static final Fields COUNTRY_ID
      • CITY_ID

        @SerializedName("city_id")
        public static final Fields CITY_ID
      • METRO_STATION_ID

        @SerializedName("metro_station_id")
        public static final Fields METRO_STATION_ID
      • LATITUDE

        @SerializedName("latitude")
        public static final Fields LATITUDE
      • LONGITUDE

        @SerializedName("longitude")
        public static final Fields LONGITUDE
      • DISTANCE

        @SerializedName("distance")
        public static final Fields DISTANCE
      • WORK_INFO_STATUS

        @SerializedName("work_info_status")
        public static final Fields WORK_INFO_STATUS
      • TIMETABLE

        @SerializedName("timetable")
        public static final Fields TIMETABLE
      • PHONE

        @SerializedName("phone")
        public static final Fields PHONE
      • TIME_OFFSET

        @SerializedName("time_offset")
        public static final Fields TIME_OFFSET
    • Method Detail

      • values

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

        public static Fields 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<Fields>