public class WxCpUser extends Object implements Serializable
| 限定符和类型 | 类和说明 | 
|---|---|
| static class  | WxCpUser.AttrThe type Attr. | 
| static class  | WxCpUser.ExternalAttributeThe type External attribute. | 
| static class  | WxCpUser.WechatChannelsThe type Wechat channels. | 
| 构造器和说明 | 
|---|
| WxCpUser() | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| void | addExtAttr(String name,
          String value)Add ext attr. | 
| void | addExtAttr(WxCpUser.Attr attr)Add ext attr. | 
| void | addExternalAttr(WxCpUser.ExternalAttribute externalAttr)Add external attr. | 
| static WxCpUser | fromJson(String json)From json wx cp user. | 
| String | toJson()To json string. | 
public void addExternalAttr(WxCpUser.ExternalAttribute externalAttr)
externalAttr - the external attrpublic void addExtAttr(String name, String value)
name - the namevalue - the valuepublic void addExtAttr(WxCpUser.Attr attr)
attr - the attrpublic static WxCpUser fromJson(String json)
json - the jsonpublic String toJson()
Copyright © 2024. All rights reserved.