Package com.bandwidth.sdk.model
Class ConferenceMemberJoinCallback
java.lang.Object
com.bandwidth.sdk.model.ConferenceMemberJoinCallback
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.6.0")
public class ConferenceMemberJoinCallback
extends Object
The Conference Member Join event is fired whenever a caller joins a conference that specified a callbackUrl. The response may be either empty or a BXML document. Only the following verbs are valid for conferences: PlayAudio, SpeakSentence, StartRecording, StopRecording, PauseRecording, ResumeRecording. Audio verbs will be heard by all members of the conference. Recordings capture audio from all members who are not muted or on hold, as well as any audio verbs that are played into the conference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconferenceId
(String conferenceId) boolean
eventTime
(OffsetDateTime eventTime) static ConferenceMemberJoinCallback
Create an instance of ConferenceMemberJoinCallback given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The call id associated with the event.The unique, Bandwidth-generated ID of the conference that was recordedThe approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format.The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.getFrom()
The provided identifier of the caller.getName()
The user-specified name of the conference that was recordedgetTag()
(optional) The tag specified on call creation.getTo()
The phone number that received the call, in E.164 format (e.g.int
hashCode()
putAdditionalProperty
(String key, Object value) Set the additional (undeclared) property with the specified name and value.void
void
setConferenceId
(String conferenceId) void
setEventTime
(OffsetDateTime eventTime) void
setEventType
(String eventType) void
void
void
void
toJson()
Convert an instance of ConferenceMemberJoinCallback to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_EVENT_TYPE
- See Also:
-
SERIALIZED_NAME_EVENT_TIME
- See Also:
-
SERIALIZED_NAME_CONFERENCE_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_FROM
- See Also:
-
SERIALIZED_NAME_TO
- See Also:
-
SERIALIZED_NAME_CALL_ID
- See Also:
-
SERIALIZED_NAME_TAG
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ConferenceMemberJoinCallback
public ConferenceMemberJoinCallback()
-
-
Method Details
-
eventType
-
getEventType
The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.- Returns:
- eventType
-
setEventType
-
eventTime
-
getEventTime
The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution.- Returns:
- eventTime
-
setEventTime
-
conferenceId
-
getConferenceId
The unique, Bandwidth-generated ID of the conference that was recorded- Returns:
- conferenceId
-
setConferenceId
-
name
-
getName
The user-specified name of the conference that was recorded- Returns:
- name
-
setName
-
from
-
getFrom
The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555).- Returns:
- from
-
setFrom
-
to
-
getTo
The phone number that received the call, in E.164 format (e.g. +15555555555).- Returns:
- to
-
setTo
-
callId
-
getCallId
The call id associated with the event.- Returns:
- callId
-
setCallId
-
tag
-
getTag
(optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.- Returns:
- tag
-
setTag
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key
- name of the propertyvalue
- value of the property- Returns:
- the ConferenceMemberJoinCallback instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key
- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement
- JSON Element- Throws:
IOException
- if the JSON Element is invalid with respect to ConferenceMemberJoinCallback
-
fromJson
Create an instance of ConferenceMemberJoinCallback given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of ConferenceMemberJoinCallback
- Throws:
IOException
- if the JSON string is invalid with respect to ConferenceMemberJoinCallback
-
toJson
Convert an instance of ConferenceMemberJoinCallback to an JSON string- Returns:
- JSON string
-