Package com.bandwidth.sdk.model
Class ConferenceRecordingAvailableCallback
java.lang.Object
com.bandwidth.sdk.model.ConferenceRecordingAvailableCallback
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.6.0")
public class ConferenceRecordingAvailableCallback
extends Object
The Conference Recording Available event is sent after a conference recording has been processed. It indicates that the recording is available for download.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconferenceId
(String conferenceId) endTime
(OffsetDateTime endTime) boolean
eventTime
(OffsetDateTime eventTime) fileFormat
(FileFormatEnum fileFormat) Create an instance of ConferenceRecordingAvailableCallback given an JSON stringThe user account associated with the call.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Always `1` for conference recordings; multi-channel recordings are not supported on conferences.The unique, Bandwidth-generated ID of the conference that was recordedThe duration of the recording in ISO-8601 formatThe time that the recording ended in ISO-8601 formatThe 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.Get fileFormatThe URL that can be used to download the recording.getName()
The user-specified name of the conference that was recordedThe unique ID of this recordingTime the call was started, in ISO 8601 format.The current status of the process.getTag()
(optional) The tag specified on call creation.int
hashCode()
putAdditionalProperty
(String key, Object value) Set the additional (undeclared) property with the specified name and value.recordingId
(String recordingId) void
setAccountId
(String accountId) void
setChannels
(Integer channels) void
setConferenceId
(String conferenceId) void
setDuration
(String duration) void
setEndTime
(OffsetDateTime endTime) void
setEventTime
(OffsetDateTime eventTime) void
setEventType
(String eventType) void
setFileFormat
(FileFormatEnum fileFormat) void
setMediaUrl
(URI mediaUrl) void
void
setRecordingId
(String recordingId) void
setStartTime
(OffsetDateTime startTime) void
void
startTime
(OffsetDateTime startTime) toJson()
Convert an instance of ConferenceRecordingAvailableCallback 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_ACCOUNT_ID
- See Also:
-
SERIALIZED_NAME_RECORDING_ID
- See Also:
-
SERIALIZED_NAME_CHANNELS
- See Also:
-
SERIALIZED_NAME_START_TIME
- See Also:
-
SERIALIZED_NAME_END_TIME
- See Also:
-
SERIALIZED_NAME_DURATION
- See Also:
-
SERIALIZED_NAME_FILE_FORMAT
- See Also:
-
SERIALIZED_NAME_MEDIA_URL
- See Also:
-
SERIALIZED_NAME_TAG
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ConferenceRecordingAvailableCallback
public ConferenceRecordingAvailableCallback()
-
-
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
-
accountId
-
getAccountId
The user account associated with the call.- Returns:
- accountId
-
setAccountId
-
recordingId
-
getRecordingId
The unique ID of this recording- Returns:
- recordingId
-
setRecordingId
-
channels
-
getChannels
Always `1` for conference recordings; multi-channel recordings are not supported on conferences.- Returns:
- channels
-
setChannels
-
startTime
-
getStartTime
Time the call was started, in ISO 8601 format.- Returns:
- startTime
-
setStartTime
-
endTime
-
getEndTime
The time that the recording ended in ISO-8601 format- Returns:
- endTime
-
setEndTime
-
duration
-
getDuration
The duration of the recording in ISO-8601 format- Returns:
- duration
-
setDuration
-
fileFormat
-
getFileFormat
Get fileFormat- Returns:
- fileFormat
-
setFileFormat
-
mediaUrl
-
getMediaUrl
The URL that can be used to download the recording. Only present if the recording is finished and may be downloaded.- Returns:
- mediaUrl
-
setMediaUrl
-
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
-
status
-
getStatus
The current status of the process. For recording, current possible values are 'processing', 'partial', 'complete', 'deleted', and 'error'. For transcriptions, current possible values are 'none', 'processing', 'available', 'error', 'timeout', 'file-size-too-big', and 'file-size-too-small'. Additional states may be added in the future, so your application must be tolerant of unknown values.- Returns:
- status
-
setStatus
-
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 ConferenceRecordingAvailableCallback 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 ConferenceRecordingAvailableCallback
-
fromJson
Create an instance of ConferenceRecordingAvailableCallback given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of ConferenceRecordingAvailableCallback
- Throws:
IOException
- if the JSON string is invalid with respect to ConferenceRecordingAvailableCallback
-
toJson
Convert an instance of ConferenceRecordingAvailableCallback to an JSON string- Returns:
- JSON string
-