public class PSTNSessionInfo extends AbstractModel
header, skipSign| Constructor and Description |
|---|
PSTNSessionInfo() |
PSTNSessionInfo(PSTNSessionInfo 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 |
|---|---|
String |
getAcceptTimestamp()
Get Answer time.
|
String |
getCallee()
Get Called.
|
String |
getCaller()
Get Caller.
|
Long |
getDirection()
Get Session call direction, 0 - inbound | 1 - outbound.
|
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 Agent status inprogress ongoing.
|
String |
getStaffEmail()
Get Agent email.
|
String |
getStaffNumber()
Get Agent id.
|
String |
getStartTimestamp()
Get Start time.
|
void |
setAcceptTimestamp(String 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 |
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 Agent status inprogress ongoing.
|
void |
setStaffEmail(String StaffEmail)
Set Agent email.
|
void |
setStaffNumber(String StaffNumber)
Set Agent id.
|
void |
setStartTimestamp(String 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, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic PSTNSessionInfo()
public PSTNSessionInfo(PSTNSessionInfo 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 String getStartTimestamp()
public void setStartTimestamp(String StartTimestamp)
StartTimestamp - Start time. unix timestamp.public String getAcceptTimestamp()
public void setAcceptTimestamp(String 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 id.public String getSessionStatus()
public void setSessionStatus(String SessionStatus)
SessionStatus - Agent status inprogress ongoing.public Long getDirection()
public void setDirection(Long Direction)
Direction - Session call direction, 0 - inbound | 1 - outbound.public Long getRingTimestamp()
public void setRingTimestamp(Long RingTimestamp)
RingTimestamp - Ring time. unix timestamp.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 © 2025. All rights reserved.