public enum ContactUserType extends Enum<ContactUserType>
Enum Constant and Description |
---|
WECHAT
微信用户
|
WORK_WECHAT
企业微信用户
|
Modifier and Type | Field and Description |
---|---|
private int |
type |
Modifier and Type | Method and Description |
---|---|
static ContactUserType |
deserialize(int type)
Deserialize contact user type.
|
int |
getType()
Gets type.
|
static ContactUserType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContactUserType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContactUserType WECHAT
public static final ContactUserType WORK_WECHAT
public static ContactUserType[] values()
for (ContactUserType c : ContactUserType.values()) System.out.println(c);
public static ContactUserType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getType()
public static ContactUserType deserialize(int type)
type
- the typeCopyright © 2025. All rights reserved.