Package com.foxinmy.weixin4j.qy.model
Class IdParameter
- java.lang.Object
-
- com.foxinmy.weixin4j.qy.model.IdParameter
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Contacts
,JSSDKContactParameter
public class IdParameter extends Object implements Serializable
id参数集- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static char
SEPARATOR
static String
SEPARATORS
-
Constructor Summary
Constructors Modifier Constructor Description protected
IdParameter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IdParameter
get()
Map<String,String>
getParameter()
生成某些接口需要的目标参数 如发送客服消息接口List<Integer>
getPartyIds()
List<Integer>
getTagIds()
List<String>
getUserIds()
IdParameter
putPartyIds(Integer... partyIds)
新增部门ID列表,最多支持100个IdParameter
putTagIds(Integer... tagIds)
新增标签ID列表IdParameter
putUserIds(String... userIds)
增加成员ID列表,最多支持1000个void
setPartyIds(List<Integer> partyIds)
void
setTagIds(List<Integer> tagIds)
void
setUserIds(List<String> userIds)
String
toString()
-
-
-
Field Detail
-
SEPARATOR
public static final char SEPARATOR
- See Also:
- Constant Field Values
-
SEPARATORS
public static final String SEPARATORS
-
-
Method Detail
-
get
public static IdParameter get()
-
putUserIds
public IdParameter putUserIds(String... userIds)
增加成员ID列表,最多支持1000个- Parameters:
userIds
-- Returns:
-
putPartyIds
public IdParameter putPartyIds(Integer... partyIds)
新增部门ID列表,最多支持100个- Parameters:
partyIds
-- Returns:
-
putTagIds
public IdParameter putTagIds(Integer... tagIds)
新增标签ID列表- Parameters:
tagIds
-- Returns:
-
-