use of com.fanap.podchat.localmodel.SetRuleVO in project pod-chat-android-sdk by FanapSoft.
the class ChatCore method removeAdmin.
public String removeAdmin(RequestSetAdmin request) {
SetRuleVO setRuleVO = new SetRuleVO();
setRuleVO.setRoles(request.getRoles());
setRuleVO.setThreadId(request.getThreadId());
setRuleVO.setTypeCode(getTypeCode());
return removeRole(setRuleVO);
}
use of com.fanap.podchat.localmodel.SetRuleVO in project pod-chat-android-sdk by FanapSoft.
the class ChatCore method addAuditor.
public String addAuditor(RequestSetAuditor request) {
SetRuleVO setRuleVO = new SetRuleVO();
setRuleVO.setRoles(request.getRoles());
setRuleVO.setThreadId(request.getThreadId());
setRuleVO.setTypeCode(getTypeCode());
return setRole(setRuleVO);
}
use of com.fanap.podchat.localmodel.SetRuleVO in project pod-chat-android-sdk by FanapSoft.
the class ChatCore method addAdmin.
/**
* @param request You can add or remove someone as admin to some thread set
* and roles to them
*/
public String addAdmin(RequestSetAdmin request) {
SetRuleVO setRuleVO = new SetRuleVO();
setRuleVO.setRoles(request.getRoles());
setRuleVO.setThreadId(request.getThreadId());
setRuleVO.setTypeCode(getTypeCode());
return setRole(setRuleVO);
}
use of com.fanap.podchat.localmodel.SetRuleVO in project pod-chat-android-sdk by FanapSoft.
the class ChatCore method removeAuditor.
public String removeAuditor(RequestSetAuditor request) {
SetRuleVO setRuleVO = new SetRuleVO();
setRuleVO.setRoles(request.getRoles());
setRuleVO.setThreadId(request.getThreadId());
setRuleVO.setTypeCode(getTypeCode());
return removeRole(setRuleVO);
}
Aggregations