添加频道获取自己信息的接口

This commit is contained in:
heavyrain.lee
2020-01-08 11:40:59 +08:00
parent e6ca9f5c78
commit 3b61f8f6dd
4 changed files with 137 additions and 17 deletions
@@ -50,6 +50,7 @@ public interface APIPath {
String Channel_User_Info = "/channel/user_info";
String Channel_Update_Profile = "/channel/update_profile";
String Channel_Get_Profile = "/channel/get_profile";
String Channel_Message_Send = "/channel/message/send";
String Channel_Subscribe = "/channel/subscribe";
String Channel_Subscriber_List = "/channel/subscriber_list";
@@ -0,0 +1,106 @@
/*
* This file is part of the Wildfire Chat package.
* (c) Heavyrain2012 <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
package cn.wildfirechat.pojos;
import cn.wildfirechat.proto.WFCMessage;
public class OutputGetChannelInfo {
private String channelId;
private String name;
private String desc;
private String portrait;
private String extra;
private String owner;
private int status;
private long updateDt;
private String callback;
private int automatic;
public String getChannelId() {
return channelId;
}
public void setChannelId(String channelId) {
this.channelId = channelId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getDesc() {
return desc;
}
public void setDesc(String desc) {
this.desc = desc;
}
public String getPortrait() {
return portrait;
}
public void setPortrait(String portrait) {
this.portrait = portrait;
}
public String getExtra() {
return extra;
}
public void setExtra(String extra) {
this.extra = extra;
}
public String getOwner() {
return owner;
}
public void setOwner(String owner) {
this.owner = owner;
}
public int getStatus() {
return status;
}
public void setStatus(int status) {
this.status = status;
}
public long getUpdateDt() {
return updateDt;
}
public void setUpdateDt(long updateDt) {
this.updateDt = updateDt;
}
public String getCallback() {
return callback;
}
public void setCallback(String callback) {
this.callback = callback;
}
public int getAutomatic() {
return automatic;
}
public void setAutomatic(int automatic) {
this.automatic = automatic;
}
}