Package com.foxinmy.weixin4j.qy.message
Enum CustomeMessage.CustomeIdType
- java.lang.Object
-
- java.lang.Enum<CustomeMessage.CustomeIdType>
-
- com.foxinmy.weixin4j.qy.message.CustomeMessage.CustomeIdType
-
- All Implemented Interfaces:
Serializable
,Comparable<CustomeMessage.CustomeIdType>
- Enclosing class:
- CustomeMessage
public static enum CustomeMessage.CustomeIdType extends Enum<CustomeMessage.CustomeIdType>
用户类型- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CustomeMessage.CustomeIdType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CustomeMessage.CustomeIdType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
kf
public static final CustomeMessage.CustomeIdType kf
客服
-
userid
public static final CustomeMessage.CustomeIdType userid
企业员工userid
-
openid
public static final CustomeMessage.CustomeIdType openid
公众号openid
-
-
Method Detail
-
values
public static CustomeMessage.CustomeIdType[] 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 (CustomeMessage.CustomeIdType c : CustomeMessage.CustomeIdType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CustomeMessage.CustomeIdType 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 nameNullPointerException
- if the argument is null
-
-