public class WxCpTpXmlMessage extends Object implements Serializable
| 限定符和类型 | 类和说明 | 
|---|---|
| static class  | WxCpTpXmlMessage.ApprovalInfo已过时。 
 无法同时适配不同回调下的实体字段,使用WxCpXmlApprovalInfo可完美适配 | 
| static class  | WxCpTpXmlMessage.AuthUserInfoThe type Auth user info. | 
| static class  | WxCpTpXmlMessage.BatchJobThe type Batch job. | 
| static class  | WxCpTpXmlMessage.ContactSyncThe type Contact sync. | 
| 限定符和类型 | 字段和说明 | 
|---|---|
| protected Integer[] | addPartyItemsThe Add party items. | 
| protected String[] | addUserItemsThe Add user items. | 
| protected String | agentIDThe Agent id. | 
| protected String | aliasThe Alias. | 
| protected String | authCodeThe Auth code. | 
| protected String | authCorpIdThe Auth corp id. | 
| protected WxCpTpXmlMessage.AuthUserInfo | authUserInfoThe Auth user info. | 
| protected String | avatarThe Avatar. | 
| protected WxCpTpXmlMessage.BatchJob | batchJobThe Batch job. | 
| protected String | changeTypeThe Change type. | 
| protected String | chatIdThe Chat id. | 
| protected WxCpTpXmlMessage.ContactSync | contactSyncThe Contact sync. | 
| protected String | contentThe Content. | 
| protected Long | createTimeThe Create time. | 
| protected Integer[] | delPartyItemsThe Del party items. | 
| protected String[] | delUserItemsThe Del user items. | 
| protected Integer[] | departmentThe Department. | 
| protected String | emailThe Email. | 
| protected String | eventThe Event. | 
| protected String | externalUserIDThe External user id. | 
| protected String | failReasonThe Fail reason. | 
| protected String | fromUserThe From user. | 
| protected String | fromUserNameThe From user name. | 
| protected Integer | genderThe Gender. | 
| protected String | idThe Id. | 
| protected String | infoTypeThe Info type. | 
| protected Integer[] | isLeaderInDeptThe Is leader in dept. | 
| protected Integer | joinSceneThe Join scene. | 
| protected Integer | mainDepartmentThe Main department. | 
| protected String | mediaIdThe Media id. | 
| protected Integer | memChangeCntThe Mem change cnt. | 
| protected String | mobileThe Mobile. | 
| protected String | msgIdThe Msg id. | 
| protected String | msgTypeThe Msg type. | 
| protected String | nameThe Name. | 
| protected Integer | orderThe Order. | 
| protected String | parentIdThe Parent id. | 
| protected String | picUrlThe Pic url. | 
| protected String | positionThe Position. | 
| protected Integer | quitSceneThe Quit scene. | 
| protected String | registerCodeThe Register code. | 
| protected String | serviceCorpIdThe Service corp id. | 
| protected String | sourceThe Source. | 
| protected String | stateThe State. | 
| protected String | statusThe Status. | 
| protected String | suiteIdThe Suite id. | 
| protected String | suiteTicketThe Suite ticket. | 
| protected Integer | tagIdThe Tag id. | 
| protected String | tagTypeThe Tag type. | 
| protected String | telephoneThe Telephone. | 
| protected String | templateIdThe Template id. | 
| protected String | timeStampThe Time stamp. | 
| protected String | toUserNameThe To user name. | 
| protected String | updateDetailThe Update detail. | 
| protected String | userIDThe User id. | 
| protected String | welcomeCodeThe Welcome code. | 
| 构造器和说明 | 
|---|
| WxCpTpXmlMessage() | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| static WxCpTpXmlMessage | fromEncryptedXml(String encryptedXml,
                WxCpTpConfigStorage wxCpTpConfigStorage,
                String timestamp,
                String nonce,
                String msgSignature) | 
| static WxCpTpXmlMessage | fromXml(String xml)From xml wx cp tp xml message. | 
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String suiteId
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String infoType
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String timeStamp
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String suiteTicket
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String authCode
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String authCorpId
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String changeType
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String userID
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.IntegerArrayConverter.class) protected Integer[] department
@XStreamConverter(value=com.thoughtworks.xstream.converters.basic.IntConverter.class) protected Integer mainDepartment
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.IntegerArrayConverter.class) protected Integer[] isLeaderInDept
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String mobile
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String position
@XStreamConverter(value=com.thoughtworks.xstream.converters.basic.IntConverter.class) protected Integer gender
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String email
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String status
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String avatar
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String alias
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String telephone
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String id
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String name
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String parentId
@XStreamConverter(value=com.thoughtworks.xstream.converters.basic.IntConverter.class) protected Integer order
@XStreamConverter(value=com.thoughtworks.xstream.converters.basic.IntConverter.class) protected Integer tagId
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.StringArrayConverter.class) protected String[] addUserItems
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.StringArrayConverter.class) protected String[] delUserItems
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.IntegerArrayConverter.class) protected Integer[] addPartyItems
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.IntegerArrayConverter.class) protected Integer[] delPartyItems
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String serviceCorpId
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String registerCode
protected WxCpTpXmlMessage.ContactSync contactSync
protected WxCpTpXmlMessage.AuthUserInfo authUserInfo
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String templateId
protected Long createTime
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String toUserName
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String fromUserName
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String msgType
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String event
protected WxCpTpXmlMessage.BatchJob batchJob
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String externalUserID
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String state
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String source
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String failReason
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String chatId
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String updateDetail
protected Integer joinScene
protected Integer quitScene
protected Integer memChangeCnt
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String tagType
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String welcomeCode
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String fromUser
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String content
protected String msgId
protected String agentID
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String picUrl
@XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class) protected String mediaId
public static WxCpTpXmlMessage fromXml(String xml)
xml - the xmlpublic static WxCpTpXmlMessage fromEncryptedXml(String encryptedXml, WxCpTpConfigStorage wxCpTpConfigStorage, String timestamp, String nonce, String msgSignature)
encryptedXml - the encrypted xmlwxCpTpConfigStorage - the wx cp config storagetimestamp - the timestampnonce - the noncemsgSignature - the msg signatureCopyright © 2024. All rights reserved.