com.voxeo.tropo.TropoSession Maven / Gradle / Ivy
package com.voxeo.tropo;
import java.io.Serializable;
import java.util.HashMap;
public class TropoSession implements Serializable {
private static final long serialVersionUID = -4017185052524417287L;
public String accountId;
public String callId;
public String id;
public String initialText;
public String timestamp;
public String userType;
private TropoEntity to;
private TropoEntity from;
private HashMap headers;
private HashMap parameters;
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public String getCallId() {
return callId;
}
public void setCallId(String callId) {
this.callId = callId;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getInitialText() {
return initialText;
}
public void setInitialText(String initialText) {
this.initialText = initialText;
}
public HashMap getParameters() {
return parameters;
}
public void setParameters(HashMap parameters) {
this.parameters = parameters;
}
public String getTimestamp() {
return timestamp;
}
public void setTimestamp(String timestamp) {
this.timestamp = timestamp;
}
public String getUserType() {
return userType;
}
public void setUserType(String userType) {
this.userType = userType;
}
public TropoEntity getTo() {
return to;
}
public void setTo(TropoEntity to) {
this.to = to;
}
public HashMap getHeaders() {
return headers;
}
public void setHeaders(HashMap headers) {
this.headers = headers;
}
public TropoEntity getFrom() {
return from;
}
public void setFrom(TropoEntity from) {
this.from = from;
}
@Override
public String toString(){
return TropoUtils.toPrettyString(this);
}
}