public class WxCpTpXmlMessage extends Object implements Serializable
限定符和类型 | 类和说明 |
---|---|
static class |
WxCpTpXmlMessage.ApprovalInfo
已过时。
无法同时适配不同回调下的实体字段,使用WxCpXmlApprovalInfo可完美适配
|
static class |
WxCpTpXmlMessage.AuthUserInfo
The type Auth user info.
|
static class |
WxCpTpXmlMessage.BatchJob
The type Batch job.
|
static class |
WxCpTpXmlMessage.ContactSync
The type Contact sync.
|
限定符和类型 | 字段和说明 |
---|---|
protected Integer[] |
addPartyItems
The Add party items.
|
protected String[] |
addUserItems
The Add user items.
|
protected String |
agentID
The Agent id.
|
protected String |
alias
The Alias.
|
protected String |
authCode
The Auth code.
|
protected String |
authCorpId
The Auth corp id.
|
protected WxCpTpXmlMessage.AuthUserInfo |
authUserInfo
The Auth user info.
|
protected String |
avatar
The Avatar.
|
protected WxCpTpXmlMessage.BatchJob |
batchJob
The Batch job.
|
protected String |
changeType
The Change type.
|
protected String |
chatId
The Chat id.
|
protected WxCpTpXmlMessage.ContactSync |
contactSync
The Contact sync.
|
protected String |
content
The Content.
|
protected Long |
createTime
The Create time.
|
protected Integer[] |
delPartyItems
The Del party items.
|
protected String[] |
delUserItems
The Del user items.
|
protected Integer[] |
department
The Department.
|
protected String |
email
The Email.
|
protected String |
event
The Event.
|
protected String |
externalUserID
The External user id.
|
protected String |
failReason
The Fail reason.
|
protected String |
fromUser
The From user.
|
protected String |
fromUserName
The From user name.
|
protected Integer |
gender
The Gender.
|
protected String |
id
The Id.
|
protected String |
infoType
The Info type.
|
protected Integer[] |
isLeaderInDept
The Is leader in dept.
|
protected Integer |
joinScene
The Join scene.
|
protected Integer |
mainDepartment
The Main department.
|
protected String |
mediaId
The Media id.
|
protected Integer |
memChangeCnt
The Mem change cnt.
|
protected String |
mobile
The Mobile.
|
protected String |
msgId
The Msg id.
|
protected String |
msgType
The Msg type.
|
protected String |
name
The Name.
|
protected Integer |
order
The Order.
|
protected String |
parentId
The Parent id.
|
protected String |
picUrl
The Pic url.
|
protected String |
position
The Position.
|
protected Integer |
quitScene
The Quit scene.
|
protected String |
registerCode
The Register code.
|
protected String |
serviceCorpId
The Service corp id.
|
protected String |
source
The Source.
|
protected String |
state
The State.
|
protected String |
status
The Status.
|
protected String |
suiteId
The Suite id.
|
protected String |
suiteTicket
The Suite ticket.
|
protected Integer |
tagId
The Tag id.
|
protected String |
tagType
The Tag type.
|
protected String |
telephone
The Telephone.
|
protected String |
templateId
The Template id.
|
protected String |
timeStamp
The Time stamp.
|
protected String |
toUserName
The To user name.
|
protected String |
updateDetail
The Update detail.
|
protected String |
userID
The User id.
|
protected String |
welcomeCode
The 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.