public class PSTNSession extends AbstractModel
header, skipSign
Constructor and Description |
---|
PSTNSession() |
PSTNSession(PSTNSession source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getAcceptTimestamp()
Get Answer time.
|
String |
getCallee()
Get Called.
|
String |
getCaller()
Get Caller.
|
Long |
getDirection()
Get Session call direction, 0 - Inbound | 1 - Outbound.
|
String |
getOutBoundCallee()
Get Outbound callee.
|
String |
getOutBoundCaller()
Get The number used for transferring to the external line (Outbound Caller).
|
String |
getProtectedCallee()
Get Called number protection ID.
|
String |
getProtectedCaller()
Get Caller number protection ID.
|
Long |
getRingTimestamp()
Get Ring time.
|
String |
getRoomID()
Get Temporary room ID for session.
|
String |
getSessionID()
Get Session ID.
|
String |
getSessionStatus()
Get Session state.
|
String |
getStaffEmail()
Get Agent email.
|
String |
getStaffNumber()
Get Agent work number.
|
Long |
getStartTimestamp()
Get Start time.
|
void |
setAcceptTimestamp(Long AcceptTimestamp)
Set Answer time.
|
void |
setCallee(String Callee)
Set Called.
|
void |
setCaller(String Caller)
Set Caller.
|
void |
setDirection(Long Direction)
Set Session call direction, 0 - Inbound | 1 - Outbound.
|
void |
setOutBoundCallee(String OutBoundCallee)
Set Outbound callee.
|
void |
setOutBoundCaller(String OutBoundCaller)
Set The number used for transferring to the external line (Outbound Caller).
|
void |
setProtectedCallee(String ProtectedCallee)
Set Called number protection ID.
|
void |
setProtectedCaller(String ProtectedCaller)
Set Caller number protection ID.
|
void |
setRingTimestamp(Long RingTimestamp)
Set Ring time.
|
void |
setRoomID(String RoomID)
Set Temporary room ID for session.
|
void |
setSessionID(String SessionID)
Set Session ID.
|
void |
setSessionStatus(String SessionStatus)
Set Session state.
|
void |
setStaffEmail(String StaffEmail)
Set Agent email.
|
void |
setStaffNumber(String StaffNumber)
Set Agent work number.
|
void |
setStartTimestamp(Long StartTimestamp)
Set Start time.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public PSTNSession()
public PSTNSession(PSTNSession source)
public String getSessionID()
public void setSessionID(String SessionID)
SessionID
- Session ID.public String getRoomID()
public void setRoomID(String RoomID)
RoomID
- Temporary room ID for session.public String getCaller()
public void setCaller(String Caller)
Caller
- Caller.public String getCallee()
public void setCallee(String Callee)
Callee
- Called.public Long getStartTimestamp()
public void setStartTimestamp(Long StartTimestamp)
StartTimestamp
- Start time. Unix timestamp.public Long getRingTimestamp()
public void setRingTimestamp(Long RingTimestamp)
RingTimestamp
- Ring time. Unix timestamp.public Long getAcceptTimestamp()
public void setAcceptTimestamp(Long AcceptTimestamp)
AcceptTimestamp
- Answer time. Unix timestamp.public String getStaffEmail()
public void setStaffEmail(String StaffEmail)
StaffEmail
- Agent email.public String getStaffNumber()
public void setStaffNumber(String StaffNumber)
StaffNumber
- Agent work number.public String getSessionStatus()
public void setSessionStatus(String SessionStatus)
SessionStatus
- Session state.
ringing - In progress.
seatJoining - Waiting for agent to receive call.
InProgress - Ongoing.
finished - Completed.public Long getDirection()
public void setDirection(Long Direction)
Direction
- Session call direction, 0 - Inbound | 1 - Outbound.public String getOutBoundCaller()
public void setOutBoundCaller(String OutBoundCaller)
OutBoundCaller
- The number used for transferring to the external line (Outbound Caller).public String getOutBoundCallee()
public void setOutBoundCallee(String OutBoundCallee)
OutBoundCallee
- Outbound callee.public String getProtectedCaller()
public void setProtectedCaller(String ProtectedCaller)
ProtectedCaller
- Caller number protection ID. Effective when the number protection map feature is activated, and the Caller field is empty.public String getProtectedCallee()
public void setProtectedCallee(String ProtectedCallee)
ProtectedCallee
- Called number protection ID. Effective when the number protection map feature is activated, and the Callee field is empty.Copyright © 2024. All rights reserved.