def __init__(self, account_id=None, conference_id=None, name=None, recording_id=None, duration=None, channels=None, start_time=None, end_time=None, file_format=None, status=None, media_url=None): """Constructor for the ConferenceRecordingMetadata class""" # Initialize members of the class self.account_id = account_id self.conference_id = conference_id self.name = name self.recording_id = recording_id self.duration = duration self.channels = channels self.start_time = APIHelper.RFC3339DateTime( start_time) if start_time else None self.end_time = APIHelper.RFC3339DateTime( end_time) if end_time else None self.file_format = file_format self.status = status self.media_url = media_url
def __init__(self, account_id=None, call_id=None, application_id=None, to=None, mfrom=None, call_url=None, answer_url=None, answer_method=None, disconnect_method=None, start_time=None, call_timeout=None, disconnect_url=None, username=None, password=None, tag=None): """Constructor for the ApiCallResponse class""" # Initialize members of the class self.account_id = account_id self.call_id = call_id self.application_id = application_id self.to = to self.mfrom = mfrom self.start_time = APIHelper.RFC3339DateTime(start_time) if start_time else None self.call_url = call_url self.call_timeout = call_timeout self.answer_url = answer_url self.answer_method = answer_method self.disconnect_url = disconnect_url self.disconnect_method = disconnect_method self.username = username self.password = password self.tag = tag
def __init__(self, call_id=None, parent_call_id=None, application_id=None, account_id=None, to=None, mfrom=None, direction=None, state=None, identity=None, stir_shaken=None, start_time=None, enqueued_time=None, answer_time=None, end_time=None, disconnect_cause=None, error_message=None, error_id=None, last_update=None): """Constructor for the CallState class""" # Initialize members of the class self.call_id = call_id self.parent_call_id = parent_call_id self.application_id = application_id self.account_id = account_id self.to = to self.mfrom = mfrom self.direction = direction self.state = state self.identity = identity self.stir_shaken = stir_shaken self.start_time = APIHelper.RFC3339DateTime( start_time) if start_time else None self.enqueued_time = APIHelper.RFC3339DateTime( enqueued_time) if enqueued_time else None self.answer_time = APIHelper.RFC3339DateTime( answer_time) if answer_time else None self.end_time = APIHelper.RFC3339DateTime( end_time) if end_time else None self.disconnect_cause = disconnect_cause self.error_message = error_message self.error_id = error_id self.last_update = APIHelper.RFC3339DateTime( last_update) if last_update else None
def __init__(self, application_id=None, account_id=None, call_id=None, parent_call_id=None, recording_id=None, to=None, mfrom=None, transfer_caller_id=None, transfer_to=None, duration=None, direction=None, channels=None, start_time=None, end_time=None, file_format=None, status=None, media_url=None, transcription=None): """Constructor for the CallRecordingMetadata class""" # Initialize members of the class self.application_id = application_id self.account_id = account_id self.call_id = call_id self.parent_call_id = parent_call_id self.recording_id = recording_id self.to = to self.mfrom = mfrom self.transfer_caller_id = transfer_caller_id self.transfer_to = transfer_to self.duration = duration self.direction = direction self.channels = channels self.start_time = APIHelper.RFC3339DateTime( start_time) if start_time else None self.end_time = APIHelper.RFC3339DateTime( end_time) if end_time else None self.file_format = file_format self.status = status self.media_url = media_url self.transcription = transcription
def __init__(self, id=None, name=None, created_time=None, completed_time=None, conference_event_url=None, conference_event_method=None, tag=None, active_members=None): """Constructor for the ConferenceState class""" # Initialize members of the class self.id = id self.name = name self.created_time = APIHelper.RFC3339DateTime( created_time) if created_time else None self.completed_time = APIHelper.RFC3339DateTime( completed_time) if completed_time else None self.conference_event_url = conference_event_url self.conference_event_method = conference_event_method self.tag = tag self.active_members = active_members
def __init__(self, account_id=None, call_id=None, application_id=None, to=None, mfrom=None, call_url=None, answer_url=None, answer_method=None, disconnect_method=None, enqueued_time=None, call_timeout=None, callback_timeout=None, answer_fallback_url=None, answer_fallback_method=None, disconnect_url=None, username=None, password=None, fallback_username=None, fallback_password=None, tag=None, priority=None): """Constructor for the CreateCallResponse class""" # Initialize members of the class self.account_id = account_id self.call_id = call_id self.application_id = application_id self.to = to self.mfrom = mfrom self.enqueued_time = APIHelper.RFC3339DateTime( enqueued_time) if enqueued_time else None, self.enqueued_time = enqueued_time self.call_url = call_url self.call_timeout = call_timeout self.callback_timeout = callback_timeout self.answer_url = answer_url self.answer_method = answer_method self.answer_fallback_url = answer_fallback_url self.answer_fallback_method = answer_fallback_method self.disconnect_url = disconnect_url self.disconnect_method = disconnect_method self.username = username self.password = password self.fallback_username = fallback_username self.fallback_password = fallback_password self.tag = tag self.priority = priority