Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 3.41 KB

CallRecordingMetadata.md

File metadata and controls

47 lines (38 loc) · 3.41 KB

CallRecordingMetadata

Properties

Name Type Description Notes
application_id str The id of the application associated with the call. [optional]
account_id str The user account associated with the call. [optional]
call_id str The call id associated with the event. [optional]
parent_call_id str (optional) If the event is related to the B leg of a <Transfer>, the call id of the original call leg that executed the <Transfer>. Otherwise, this field will not be present. [optional]
recording_id str The unique ID of this recording [optional]
to str The phone number that received the call, in E.164 format (e.g. +15555555555). [optional]
var_from str The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). [optional]
transfer_caller_id str The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555). [optional]
transfer_to str The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555). [optional]
duration str The duration of the recording in ISO-8601 format [optional]
direction CallDirectionEnum [optional]
channels int Always `1` for conference recordings; multi-channel recordings are not supported on conferences. [optional]
start_time datetime Time the call was started, in ISO 8601 format. [optional]
end_time datetime The time that the recording ended in ISO-8601 format [optional]
file_format FileFormatEnum [optional]
status str 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. [optional]
media_url str The URL that can be used to download the recording. Only present if the recording is finished and may be downloaded. [optional]
transcription RecordingTranscriptionMetadata [optional]
recording_name str A name to identify this recording. [optional]

Example

from bandwidth.models.call_recording_metadata import CallRecordingMetadata

# TODO update the JSON string below
json = "{}"
# create an instance of CallRecordingMetadata from a JSON string
call_recording_metadata_instance = CallRecordingMetadata.from_json(json)
# print the JSON string representation of the object
print(CallRecordingMetadata.to_json())

# convert the object into a dict
call_recording_metadata_dict = call_recording_metadata_instance.to_dict()
# create an instance of CallRecordingMetadata from a dict
call_recording_metadata_from_dict = CallRecordingMetadata.from_dict(call_recording_metadata_dict)

[Back to Model list] [Back to API list] [Back to README]