Package com.foxinmy.weixin4j.qy.model
Class OUserInfo
- java.lang.Object
-
- com.foxinmy.weixin4j.qy.model.OUserInfo
-
- All Implemented Interfaces:
Serializable
public class OUserInfo extends Object implements Serializable
企业号oauth授权登陆信息&\u7b2c\u4e09\u65b9\u5e94\u7528\u6388\u6743\u4fe1\u606f- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OUserInfo.AgentItem
授权的应用信息static class
OUserInfo.AuthInfo
授权信息static class
OUserInfo.DepartItem
授权的通讯录部门
-
Constructor Summary
Constructors Constructor Description OUserInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description User
getAdminInfo()
List<OUserInfo.AgentItem>
getAgentInfo()
OUserInfo.AuthInfo
getAuthInfo()
CorpInfo
getCorpInfo()
LoginUserType
getFormatUserType()
com.foxinmy.weixin4j.model.Token
getRedirectLoginInfo()
int
getUserType()
boolean
isInnerAdmin()
boolean
isSysAdmin()
void
setAdminInfo(User adminInfo)
void
setAgentInfo(List<OUserInfo.AgentItem> agentInfo)
void
setAuthInfo(OUserInfo.AuthInfo authInfo)
void
setCorpInfo(CorpInfo corpInfo)
void
setInnerAdmin(boolean isInnerAdmin)
void
setRedirectLoginInfo(com.foxinmy.weixin4j.model.Token redirectLoginInfo)
void
setSysAdmin(boolean isSysAdmin)
void
setUserType(int userType)
String
toString()
-
-
-
Method Detail
-
isSysAdmin
public boolean isSysAdmin()
-
isInnerAdmin
public boolean isInnerAdmin()
-
getAdminInfo
public User getAdminInfo()
-
getCorpInfo
public CorpInfo getCorpInfo()
-
getAgentInfo
public List<OUserInfo.AgentItem> getAgentInfo()
-
getAuthInfo
public OUserInfo.AuthInfo getAuthInfo()
-
getRedirectLoginInfo
public com.foxinmy.weixin4j.model.Token getRedirectLoginInfo()
-
getUserType
public int getUserType()
-
getFormatUserType
public LoginUserType getFormatUserType()
-
setUserType
public void setUserType(int userType)
-
setSysAdmin
public void setSysAdmin(boolean isSysAdmin)
-
setInnerAdmin
public void setInnerAdmin(boolean isInnerAdmin)
-
setAdminInfo
public void setAdminInfo(User adminInfo)
-
setCorpInfo
public void setCorpInfo(CorpInfo corpInfo)
-
setAgentInfo
public void setAgentInfo(List<OUserInfo.AgentItem> agentInfo)
-
setAuthInfo
public void setAuthInfo(OUserInfo.AuthInfo authInfo)
-
setRedirectLoginInfo
public void setRedirectLoginInfo(com.foxinmy.weixin4j.model.Token redirectLoginInfo)
-
-