Created
November 8, 2015 16:51
-
-
Save pavelgordon/cdff942662024c09be1d to your computer and use it in GitHub Desktop.
Event
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Event | |
{ | |
/** | |
* Event id | |
*/ | |
public String i; | |
/** | |
* Event parent | |
*/ | |
public String p; | |
/** | |
* Event type | |
*/ | |
public String tp; | |
/** | |
* Event value | |
*/ | |
public String m; | |
/** | |
* Event match | |
*/ | |
public String t; | |
/** | |
* Event key | |
*/ | |
public String k; | |
/** | |
* Event servertime | |
*/ | |
public String servertime; | |
public Event(String i, String p, String tp, String m, String t, String k, String servertime) | |
{ | |
this.i = i; | |
this.p = p; | |
this.tp = tp; | |
this.m = m; | |
this.t = t; | |
this.k = k; | |
this.servertime = servertime; | |
} | |
public Event(Event d) | |
{ | |
i = d.i; | |
p = d.p; | |
tp = d.tp; | |
m = d.m; | |
t = d.t; | |
k = d.k; | |
servertime = d.servertime; | |
} | |
public Event() | |
{ | |
} | |
@Override | |
public String toString() | |
{ | |
return "Event{" + "i=" + i + ", p=" + p + ", tp='" + tp + '\'' + ", m='" + m + '\'' + ", t='" + t + '\'' | |
+ ", k='" + k + '\'' + ", servertime='" + servertime + '\'' + '}'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment