Package com.foxinmy.weixin4j.mp.model
Class Group
- java.lang.Object
-
- com.foxinmy.weixin4j.mp.model.Group
-
- All Implemented Interfaces:
Serializable
public class Group extends Object implements Serializable
分组- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
getCount()
int
getId()
String
getName()
int
hashCode()
String
toCreateJson()
返回创建分组所需的json格式字符串String
toModifyJson()
返回修改分组所需的json格式字符串String
toString()
-
-
-
Method Detail
-
getId
public int getId()
-
getName
public String getName()
-
getCount
public int getCount()
-
toCreateJson
public String toCreateJson()
返回创建分组所需的json格式字符串- Returns:
- {"group": {"name": "test"}}
-
toModifyJson
public String toModifyJson()
返回修改分组所需的json格式字符串- Returns:
- {"group": {"id": 107, "name": "test"}}
-
-