Unverified Commit c146fd04 authored by hongyiheng's avatar hongyiheng Committed by GitHub

feat: add profile and relation chain response model (#7)

* feat: add profile response model * feat: add relation chain response model
parent a30fba31
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* @author hyh
* @since 2021/07/30 17:16
*/
public class BlackListAddResult extends GenericResult {
@JsonProperty("ResultItem")
private List<ResultItem> resultItemList;
@JsonProperty("Fail_Account")
private List<String> failAccount;
@JsonProperty("ErrorDisplay")
private String errorDisplay;
public List<ResultItem> getResultItemList() {
return resultItemList;
}
public void setResultItemList(List<ResultItem> resultItemList) {
this.resultItemList = resultItemList;
}
public List<String> getFailAccount() {
return failAccount;
}
public void setFailAccount(List<String> failAccount) {
this.failAccount = failAccount;
}
public String getErrorDisplay() {
return errorDisplay;
}
public void setErrorDisplay(String errorDisplay) {
this.errorDisplay = errorDisplay;
}
}
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* @author hyh
* @since 2021/07/30 17:29
*/
public class BlackListCheckItem {
@JsonProperty("To_Account")
private String toAccount;
@JsonProperty("Relation")
private String relation;
@JsonProperty("ResultCode")
private Integer resultCode;
@JsonProperty("ResultInfo")
private String resultInfo;
public String getToAccount() {
return toAccount;
}
public void setToAccount(String toAccount) {
this.toAccount = toAccount;
}
public String getRelation() {
return relation;
}
public void setRelation(String relation) {
this.relation = relation;
}
public Integer getResultCode() {
return resultCode;
}
public void setResultCode(Integer resultCode) {
this.resultCode = resultCode;
}
public String getResultInfo() {
return resultInfo;
}
public void setResultInfo(String resultInfo) {
this.resultInfo = resultInfo;
}
}
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* @author hyh
* @since 2021/07/30 17:27
*/
public class BlackListCheckResult extends GenericResult {
@JsonProperty("BlackListCheckItem")
private List<BlackListCheckItem> blackListCheckItemList;
@JsonProperty("Fail_Account")
private List<String> failAccount;
@JsonProperty("ErrorDisplay")
private String errorDisplay;
public List<BlackListCheckItem> getBlackListCheckItemList() {
return blackListCheckItemList;
}
public void setBlackListCheckItemList(List<BlackListCheckItem> blackListCheckItemList) {
this.blackListCheckItemList = blackListCheckItemList;
}
public List<String> getFailAccount() {
return failAccount;
}
public void setFailAccount(List<String> failAccount) {
this.failAccount = failAccount;
}
public String getErrorDisplay() {
return errorDisplay;
}
public void setErrorDisplay(String errorDisplay) {
this.errorDisplay = errorDisplay;
}
}
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* @author hyh
* @since 2021/07/30 17:19
*/
public class BlackListDeleteResult extends GenericResult {
@JsonProperty("ResultItem")
private List<ResultItem> resultItemList;
@JsonProperty("Fail_Account")
private List<String> failAccount;
@JsonProperty("ErrorDisplay")
private String errorDisplay;
public List<ResultItem> getResultItemList() {
return resultItemList;
}
public void setResultItemList(List<ResultItem> resultItemList) {
this.resultItemList = resultItemList;
}
public List<String> getFailAccount() {
return failAccount;
}
public void setFailAccount(List<String> failAccount) {
this.failAccount = failAccount;
}
public String getErrorDisplay() {
return errorDisplay;
}
public void setErrorDisplay(String errorDisplay) {
this.errorDisplay = errorDisplay;
}
}
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* @author hyh
* @since 2021/07/30 17:21
*/
public class BlackListGetResult extends GenericResult {
@JsonProperty("BlackListItem")
private List<BlackListItem> blackListItemList;
@JsonProperty("StartIndex")
private Integer startIndex;
@JsonProperty("CurruentSequence")
private Integer currentSequence;
@JsonProperty("ErrorDisplay")
private String errorDisplay;
public List<BlackListItem> getBlackListItemList() {
return blackListItemList;
}
public void setBlackListItemList(List<BlackListItem> blackListItemList) {
this.blackListItemList = blackListItemList;
}
public Integer getStartIndex() {
return startIndex;
}
public void setStartIndex(Integer startIndex) {
this.startIndex = startIndex;
}
public Integer getCurrentSequence() {
return currentSequence;
}
public void setCurrentSequence(Integer currentSequence) {
this.currentSequence = currentSequence;
}
public String getErrorDisplay() {
return errorDisplay;
}
public void setErrorDisplay(String errorDisplay) {
this.errorDisplay = errorDisplay;
}
}
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* @author hyh
* @since 2021/07/30 17:24
*/
public class BlackListItem {
@JsonProperty("To_Account")
private String toAccount;
@JsonProperty("AddBlackTimeStamp")
private Integer addBlackTimeStamp;
public String getToAccount() {
return toAccount;
}
public void setToAccount(String toAccount) {
this.toAccount = toAccount;
}
public Integer getAddBlackTimeStamp() {
return addBlackTimeStamp;
}
public void setAddBlackTimeStamp(Integer addBlackTimeStamp) {
this.addBlackTimeStamp = addBlackTimeStamp;
}
}
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* @author hyh
* @since 2021/07/30 15:14
*/
public class FriendAddResult extends GenericResult{
@JsonProperty("ResultItem")
private List<ResultItem> resultItemList;
@JsonProperty("ActionStatus")
private String actionStatus;
@JsonProperty("ErrorDisplay")
private String errorDisplay;
public List<ResultItem> getResultItemList() {
return resultItemList;
}
public void setResultItemList(List<ResultItem> resultItemList) {
this.resultItemList = resultItemList;
}
@Override
public String getActionStatus() {
return actionStatus;
}
@Override
public void setActionStatus(String actionStatus) {
this.actionStatus = actionStatus;
}
public String getErrorDisplay() {
return errorDisplay;
}
public void setErrorDisplay(String errorDisplay) {
this.errorDisplay = errorDisplay;
}
}
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* @author hyh
* @since 2021/07/30 16:41
*/
public class FriendCheckInfoItem {
@JsonProperty("To_Account")
private String toAccount;
@JsonProperty("Relation")
private String relation;
@JsonProperty("ResultCode")
private Integer resultCode;
@JsonProperty("ResultInfo")
private String resultInfo;
public String getToAccount() {
return toAccount;
}
public void setToAccount(String toAccount) {
this.toAccount = toAccount;
}
public String getRelation() {
return relation;
}
public void setRelation(String relation) {
this.relation = relation;
}
public Integer getResultCode() {
return resultCode;
}
public void setResultCode(Integer resultCode) {
this.resultCode = resultCode;
}
public String getResultInfo() {
return resultInfo;
}
public void setResultInfo(String resultInfo) {
this.resultInfo = resultInfo;
}
}
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* @author hyh
* @since 2021/07/30 16:39
*/
public class FriendCheckResult extends GenericResult {
@JsonProperty("InfoItem")
private List<FriendCheckInfoItem> friendCheckInfoItemList;
@JsonProperty("Fail_Account")
private List<String> failAccount;
@JsonProperty("ErrorDisplay")
private String errorDisplay;
public List<FriendCheckInfoItem> getFriendCheckInfoItemList() {
return friendCheckInfoItemList;
}
public void setFriendCheckInfoItemList(List<FriendCheckInfoItem> friendCheckInfoItemList) {
this.friendCheckInfoItemList = friendCheckInfoItemList;
}
public List<String> getFailAccount() {
return failAccount;
}
public void setFailAccount(List<String> failAccount) {
this.failAccount = failAccount;
}
public String getErrorDisplay() {
return errorDisplay;
}
public void setErrorDisplay(String errorDisplay) {
this.errorDisplay = errorDisplay;
}
}
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* @author hyh
* @since 2021/07/30 16:38
*/
public class FriendDeleteAllResult extends GenericResult {
@JsonProperty("ErrorDisplay")
private String errorDisplay;
public String getErrorDisplay() {
return errorDisplay;
}
public void setErrorDisplay(String errorDisplay) {
this.errorDisplay = errorDisplay;
}
}
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* @author hyh
* @since 2021/07/30 16:28
*/
public class FriendDeleteResult extends GenericResult {
@JsonProperty("ErrorDisplay")
private String errorDisplay;
@JsonProperty("ResultItem")
private List<ResultItem> resultItemList;
public String getErrorDisplay() {
return errorDisplay;
}
public void setErrorDisplay(String errorDisplay) {
this.errorDisplay = errorDisplay;
}
public List<ResultItem> getResultItemList() {
return resultItemList;
}
public void setResultItemList(List<ResultItem> resultItemList) {
this.resultItemList = resultItemList;
}
}
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* @author hyh
* @since 2021/07/30 17:03
*/
public class FriendGetListInfoItem {
@JsonProperty("To_Account")
private String toAccount;
@JsonProperty("SnsProfileItem")
private List<SnsProfileItem> snsProfileItemList;
@JsonProperty("ResultCode")
private Integer resultCode;
@JsonProperty("ResultInfo")
private String resultInfo;
public String getToAccount() {
return toAccount;
}
public void setToAccount(String toAccount) {
this.toAccount = toAccount;
}
public List<SnsProfileItem> getSnsProfileItemList() {
return snsProfileItemList;
}
public void setSnsProfileItemList(List<SnsProfileItem> snsProfileItemList) {
this.snsProfileItemList = snsProfileItemList;
}
public Integer getResultCode() {
return resultCode;
}
public void setResultCode(Integer resultCode) {
this.resultCode = resultCode;
}
public String getResultInfo() {
return resultInfo;
}
public void setResultInfo(String resultInfo) {
this.resultInfo = resultInfo;
}
}
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* @author hyh
* @since 2021/07/30 16:56
*/
public class FriendGetListResult {
@JsonProperty("InfoItem")
private List<FriendGetListInfoItem> infoItemList;
@JsonProperty("Fail_Account")
private List<String> failAccount;
@JsonProperty("ErrorDisplay")
private String errorDisplay;
public List<FriendGetListInfoItem> getInfoItemList() {
return infoItemList;
}
public void setInfoItemList(List<FriendGetListInfoItem> infoItemList) {
this.infoItemList = infoItemList;
}
public List<String> getFailAccount() {
return failAccount;
}
public void setFailAccount(List<String> failAccount) {
this.failAccount = failAccount;
}
public String getErrorDisplay() {
return errorDisplay;
}
public void setErrorDisplay(String errorDisplay) {
this.errorDisplay = errorDisplay;
}
}
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* @author hyh
* @since 2021/07/30 16:47
*/
public class FriendGetResult extends GenericResult {
@JsonProperty("UserDataItem")
private List<UserDataItem> userDataItemList;
@JsonProperty("StandardSequence")
private Integer standardSequence;
@JsonProperty("CustomSequence")
private Integer customSequence;
@JsonProperty("FriendNum")
private Integer friendNum;
@JsonProperty("CompleteFlag")
private Integer completeFlag;
@JsonProperty("NextStartIndex")
private Integer nextStartIndex;
@JsonProperty("ErrorDisplay")
private Integer errorDisplay;
public List<UserDataItem> getUserDataItemList() {
return userDataItemList;
}
public void setUserDataItemList(List<UserDataItem> userDataItemList) {
this.userDataItemList = userDataItemList;
}
public Integer getStandardSequence() {
return standardSequence;
}
public void setStandardSequence(Integer standardSequence) {
this.standardSequence = standardSequence;
}
public Integer getCustomSequence() {
return customSequence;
}
public void setCustomSequence(Integer customSequence) {
this.customSequence = customSequence;
}
public Integer getFriendNum() {
return friendNum;
}
public void setFriendNum(Integer friendNum) {
this.friendNum = friendNum;
}
public Integer getCompleteFlag() {
return completeFlag;
}
public void setCompleteFlag(Integer completeFlag) {
this.completeFlag = completeFlag;
}
public Integer getNextStartIndex() {
return nextStartIndex;
}
public void setNextStartIndex(Integer nextStartIndex) {
this.nextStartIndex = nextStartIndex;
}
public Integer getErrorDisplay() {
return errorDisplay;
}
public void setErrorDisplay(Integer errorDisplay) {
this.errorDisplay = errorDisplay;
}
}
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* @author hyh
* @since 2021/07/30 16:20
*/
public class FriendUpdateResult extends GenericResult {
@JsonProperty("ResultItem")
private List<ResultItem> resultItemList;
@JsonProperty("ErrorDisplay")
private String errorDisplay;
@JsonProperty("Fail_Account")
private List<String> failAccount;
public List<ResultItem> getResultItemList() {
return resultItemList;
}
public void setResultItemList(List<ResultItem> resultItemList) {
this.resultItemList = resultItemList;
}
public String getErrorDisplay() {
return errorDisplay;
}
public void setErrorDisplay(String errorDisplay) {
this.errorDisplay = errorDisplay;
}
public List<String> getFailAccount() {
return failAccount;
}
public void setFailAccount(List<String> failAccount) {
this.failAccount = failAccount;
}
}
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* @author hyh
* @since 2021/07/30 17:31
*/
public class GroupAddResult extends GenericResult {
@JsonProperty("ResultItem")
private List<ResultItem> resultItemList;
@JsonProperty("Fail_Account")
private List<String> failAccount;
@JsonProperty("CurrentSequence")
private Integer currentSequence;
@JsonProperty("ErrorDisplay")
private String errorDisplay;
public List<ResultItem> getResultItemList() {
return resultItemList;
}
public void setResultItemList(List<ResultItem> resultItemList) {
this.resultItemList = resultItemList;
}
public List<String> getFailAccount() {
return failAccount;
}
public void setFailAccount(List<String> failAccount) {
this.failAccount = failAccount;
}
public Integer getCurrentSequence() {
return currentSequence;
}
public void setCurrentSequence(Integer currentSequence) {
this.currentSequence = currentSequence;
}
public String getErrorDisplay() {
return errorDisplay;
}
public void setErrorDisplay(String errorDisplay) {
this.errorDisplay = errorDisplay;
}
}
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* @author hyh
* @since 2021/07/30 17:37
*/
public class GroupDeleteResult extends GenericResult {
@JsonProperty("CurrentSequence")
private Integer currentSequence;
@JsonProperty("ErrorDisplay")
private String errorDisplay;
public Integer getCurrentSequence() {
return currentSequence;
}
public void setCurrentSequence(Integer currentSequence) {
this.currentSequence = currentSequence;
}
public String getErrorDisplay() {
return errorDisplay;
}
public void setErrorDisplay(String errorDisplay) {
this.errorDisplay = errorDisplay;
}
}
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* @author hyh
* @since 2021/07/30 17:38
*/
public class GroupGetResult extends GenericResult {
@JsonProperty("ResultItem")
private List<GroupGetResultItem> resultItemList;
@JsonProperty("CurrentSequence")
private Integer currentSequence;
@JsonProperty("ErrorDisplay")
private String errorDisplay;
public List<GroupGetResultItem> getResultItemList() {
return resultItemList;
}
public void setResultItemList(List<GroupGetResultItem> resultItemList) {
this.resultItemList = resultItemList;
}
public Integer getCurrentSequence() {
return currentSequence;
}
public void setCurrentSequence(Integer currentSequence) {
this.currentSequence = currentSequence;
}
public String getErrorDisplay() {
return errorDisplay;
}
public void setErrorDisplay(String errorDisplay) {
this.errorDisplay = errorDisplay;
}
}
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* @author hyh
* @since 2021/07/30 17:43
*/
public class GroupGetResultItem {
@JsonProperty("GroupName")
private String groupName;
@JsonProperty("FriendNumber")
private Integer friendNumber;
public String getGroupName() {
return groupName;
}
public void setGroupName(String groupName) {
this.groupName = groupName;
}
public Integer getFriendNumber() {
return friendNumber;
}
public void setFriendNumber(Integer friendNumber) {
this.friendNumber = friendNumber;
}
}
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* @author hyh
* @since 2021/07/30 14:57
*/
public class PortraitGetResult extends GenericResult {
@JsonProperty("ErrorDisplay")
private String errorDisplay;
@JsonProperty("UserProfileItem")
private List<UserProfileItem> userProfileItemList;
@JsonProperty("Fail_Account")
private List<String> failAccount;
public String getErrorDisplay() {
return errorDisplay;
}
public void setErrorDisplay(String errorDisplay) {
this.errorDisplay = errorDisplay;
}
public List<UserProfileItem> getUserProfileItemList() {
return userProfileItemList;
}
public void setUserProfileItemList(List<UserProfileItem> userProfileItemList) {
this.userProfileItemList = userProfileItemList;
}
public List<String> getFailAccount() {
return failAccount;
}
public void setFailAccount(List<String> failAccount) {
this.failAccount = failAccount;
}
}
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* @author hyh
* @since 2021/07/30 17:11
*/
public class SnsProfileItem {
@JsonProperty("Tag")
private String tag;
@JsonProperty("Value")
private String value;
public String getTag() {
return tag;
}
public void setTag(String tag) {
this.tag = tag;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
}
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* @author hyh
* @since 2021/07/30 16:53
*/
public class UserDataItem {
@JsonProperty("To_Account")
private String toAccount;
@JsonProperty("ValueItem")
private List<ValueItem> valueItemList;
}
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.qcloud.im.model.request.ProfileItem;
import java.util.List;
/**
* @author hyh
* @since 2021/07/30 15:04
*/
public class UserProfileItem {
@JsonProperty("To_Account")
private String toAccount;
@JsonProperty("ProfileItem")
private List<ProfileItem> profileItemList;
@JsonProperty("ResultCode")
private Integer resultCode;
@JsonProperty("ResultInfo")
private String resultInfo;
public String getToAccount() {
return toAccount;
}
public void setToAccount(String toAccount) {
this.toAccount = toAccount;
}
public List<ProfileItem> getProfileItemList() {
return profileItemList;
}
public void setProfileItemList(List<ProfileItem> profileItemList) {
this.profileItemList = profileItemList;
}
public Integer getResultCode() {
return resultCode;
}
public void setResultCode(Integer resultCode) {
this.resultCode = resultCode;
}
public String getResultInfo() {
return resultInfo;
}
public void setResultInfo(String resultInfo) {
this.resultInfo = resultInfo;
}
}
package com.qcloud.im.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* @author hyh
* @since 2021/07/30 16:54
*/
public class ValueItem {
@JsonProperty("Tag")
private String tag;
@JsonProperty("Value")
private String value;
public String getTag() {
return tag;
}
public void setTag(String tag) {
this.tag = tag;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment