Skip to content

Instantly share code, notes, and snippets.

@pavelgordon
Created November 8, 2015 16:51
Show Gist options
  • Save pavelgordon/cdff942662024c09be1d to your computer and use it in GitHub Desktop.
Save pavelgordon/cdff942662024c09be1d to your computer and use it in GitHub Desktop.
Event
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