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
Group
public Group(int id,
String name)
Group
public Group(String name)
Group
public Group(int id,
String name,
int count)
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"}}
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2014–2017. All rights reserved.