-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
UserStateListResult[] results = client.getUsersState("user1", "user2", "user3");
package cn.jmessage.api.user;
import cn.jiguang.common.resp.BaseResult;
import com.google.gson.annotations.Expose;
import java.util.ArrayList;
import java.util.List;
public class UserStateListResult extends BaseResult {
@Expose List<Device> devices = new ArrayList<Device>();
@Expose String username;
public String getUsername() {
return this.username;
}
private class Device {
@Expose boolean login;
@Expose boolean online;
@Expose String platform;
public boolean getLogin() {
return this.login;
}
public boolean getOnline() {
return this.online;
}
public String getPlatform() {
return this.platform;
}
}
}
@expose List devices = new ArrayList();
没有get怎么获取 还有Device 私有化 没办法获取
Metadata
Metadata
Assignees
Labels
No labels