NIMSDK-AOS  10.6.0
EventSubscribeRequest.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.event.model;
2 
3 import java.util.List;
4 
9 public class EventSubscribeRequest {
10 
14  private int eventType;
15 
19  private long expiry;
20 
24  private boolean syncCurrentValue;
25 
29  private List<String> publishers;
30 
31  public void setEventType(int eventType) {
32  this.eventType = eventType;
33  }
34 
35  public void setExpiry(long expiry) {
36  this.expiry = expiry;
37  }
38 
39  public void setSyncCurrentValue(boolean syncCurrentValue) {
40  this.syncCurrentValue = syncCurrentValue;
41  }
42 
43  public void setPublishers(List<String> publishers) {
44  this.publishers = publishers;
45  }
46 
47  public int getEventType() {
48  return eventType;
49  }
50 
51  public boolean isSyncCurrentValue() {
52  return syncCurrentValue;
53  }
54 
55  public List<String> getPublishers() {
56  return publishers;
57  }
58 
59  public long getExpiry() {
60  return expiry;
61  }
62 }