twilio.rest.insights.v1.conference package¶
Submodules¶
twilio.rest.insights.v1.conference.conference_participant module¶
This code was generated by / _ _ _| _ _
(_)/(_)(_|/| |(/_ v1.0.0 / /
-
class
twilio.rest.insights.v1.conference.conference_participant.
ConferenceParticipantContext
(version, conference_sid, participant_sid)[source]¶ Bases:
twilio.base.instance_context.InstanceContext
-
fetch
(events=<object object>, metrics=<object object>)[source]¶ Fetch the ConferenceParticipantInstance
Parameters: - events (unicode) – The events
- metrics (unicode) – The metrics
Returns: The fetched ConferenceParticipantInstance
Return type: twilio.rest.insights.v1.conference.conference_participant.ConferenceParticipantInstance
-
-
class
twilio.rest.insights.v1.conference.conference_participant.
ConferenceParticipantInstance
(version, payload, conference_sid, participant_sid=None)[source]¶ Bases:
twilio.base.instance_resource.InstanceResource
-
class
CallState
[source]¶ Bases:
object
-
ANSWERED
= 'answered'¶
-
BUSY
= 'busy'¶
-
CANCELED
= 'canceled'¶
-
COMPLETED
= 'completed'¶
-
FAIL
= 'fail'¶
-
NOANSWER
= 'noanswer'¶
-
RINGING
= 'ringing'¶
-
-
class
JitterBufferSize
[source]¶ Bases:
object
-
LARGE
= 'large'¶
-
MEDIUM
= 'medium'¶
-
OFF
= 'off'¶
-
SMALL
= 'small'¶
-
-
class
Region
[source]¶ Bases:
object
-
AU1
= 'au1'¶
-
BR1
= 'br1'¶
-
DE1
= 'de1'¶
-
IE1
= 'ie1'¶
-
JP1
= 'jp1'¶
-
SG1
= 'sg1'¶
-
US1
= 'us1'¶
-
US2
= 'us2'¶
-
-
account_sid
¶ Returns: The account_sid Return type: unicode
-
call_direction
¶ Returns: The call_direction Return type: ConferenceParticipantInstance.CallDirection
-
call_sid
¶ Returns: The call_sid Return type: unicode
-
call_state
¶ Returns: The call_state Return type: ConferenceParticipantInstance.CallState
-
call_type
¶ Returns: The call_type Return type: ConferenceParticipantInstance.CallType
-
conference_region
¶ Returns: The conference_region Return type: ConferenceParticipantInstance.Region
-
conference_sid
¶ Returns: The conference_sid Return type: unicode
-
country_code
¶ Returns: The country_code Return type: unicode
-
duration_seconds
¶ Returns: The duration_seconds Return type: unicode
-
fetch
(events=<object object>, metrics=<object object>)[source]¶ Fetch the ConferenceParticipantInstance
Parameters: - events (unicode) – The events
- metrics (unicode) – The metrics
Returns: The fetched ConferenceParticipantInstance
Return type: twilio.rest.insights.v1.conference.conference_participant.ConferenceParticipantInstance
-
from_
¶ Returns: The from Return type: unicode
-
jitter_buffer_size
¶ Returns: The jitter_buffer_size Return type: ConferenceParticipantInstance.JitterBufferSize
-
join_time
¶ Returns: The join_time Return type: datetime
-
label
¶ Returns: The label Return type: unicode
-
leave_time
¶ Returns: The leave_time Return type: datetime
-
outbound_queue_length
¶ Returns: The outbound_queue_length Return type: unicode
-
outbound_time_in_queue
¶ Returns: The outbound_time_in_queue Return type: unicode
-
participant_region
¶ Returns: The participant_region Return type: ConferenceParticipantInstance.Region
-
participant_sid
¶ Returns: The participant_sid Return type: unicode
-
quality_issues
¶ Returns: The quality_issues Return type: unicode
-
to
¶ Returns: The to Return type: unicode
-
url
¶ Returns: The url Return type: unicode
-
whisper
¶ Returns: The whisper Return type: unicode
-
class
-
class
twilio.rest.insights.v1.conference.conference_participant.
ConferenceParticipantList
(version, conference_sid)[source]¶ Bases:
twilio.base.list_resource.ListResource
-
get
(participant_sid)[source]¶ Constructs a ConferenceParticipantContext
Parameters: participant_sid – The participant_sid Returns: twilio.rest.insights.v1.conference.conference_participant.ConferenceParticipantContext Return type: twilio.rest.insights.v1.conference.conference_participant.ConferenceParticipantContext
-
get_page
(target_url)[source]¶ Retrieve a specific page of ConferenceParticipantInstance records from the API. Request is executed immediately
Parameters: target_url (str) – API-generated URL for the requested results page Returns: Page of ConferenceParticipantInstance Return type: twilio.rest.insights.v1.conference.conference_participant.ConferenceParticipantPage
-
list
(participant_sid=<object object>, label=<object object>, events=<object object>, limit=None, page_size=None)[source]¶ Lists ConferenceParticipantInstance records from the API as a list. Unlike stream(), this operation is eager and will load limit records into memory before returning.
Parameters: - participant_sid (unicode) – The participant_sid
- label (unicode) – The label
- events (unicode) – The events
- limit (int) – Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit
- page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, list() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns: Generator that will yield up to limit results
Return type: list[twilio.rest.insights.v1.conference.conference_participant.ConferenceParticipantInstance]
-
page
(participant_sid=<object object>, label=<object object>, events=<object object>, page_token=<object object>, page_number=<object object>, page_size=<object object>)[source]¶ Retrieve a single page of ConferenceParticipantInstance records from the API. Request is executed immediately
Parameters: Returns: Page of ConferenceParticipantInstance
Return type: twilio.rest.insights.v1.conference.conference_participant.ConferenceParticipantPage
-
stream
(participant_sid=<object object>, label=<object object>, events=<object object>, limit=None, page_size=None)[source]¶ Streams ConferenceParticipantInstance records from the API as a generator stream. This operation lazily loads records as efficiently as possible until the limit is reached. The results are returned as a generator, so this operation is memory efficient.
Parameters: - participant_sid (unicode) – The participant_sid
- label (unicode) – The label
- events (unicode) – The events
- limit (int) – Upper limit for the number of records to return. stream() guarantees to never return more than limit. Default is no limit
- page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, stream() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns: Generator that will yield up to limit results
Return type: list[twilio.rest.insights.v1.conference.conference_participant.ConferenceParticipantInstance]
-
-
class
twilio.rest.insights.v1.conference.conference_participant.
ConferenceParticipantPage
(version, response, solution)[source]¶ Bases:
twilio.base.page.Page
-
get_instance
(payload)[source]¶ Build an instance of ConferenceParticipantInstance
Parameters: payload (dict) – Payload response from the API Returns: twilio.rest.insights.v1.conference.conference_participant.ConferenceParticipantInstance Return type: twilio.rest.insights.v1.conference.conference_participant.ConferenceParticipantInstance
-
Module contents¶
This code was generated by / _ _ _| _ _
(_)/(_)(_|/| |(/_ v1.0.0 / /
-
class
twilio.rest.insights.v1.conference.
ConferenceContext
(version, conference_sid)[source]¶ Bases:
twilio.base.instance_context.InstanceContext
-
conference_participants
¶ Access the conference_participants
Returns: twilio.rest.insights.v1.conference.conference_participant.ConferenceParticipantList Return type: twilio.rest.insights.v1.conference.conference_participant.ConferenceParticipantList
-
fetch
()[source]¶ Fetch the ConferenceInstance
Returns: The fetched ConferenceInstance Return type: twilio.rest.insights.v1.conference.ConferenceInstance
-
-
class
twilio.rest.insights.v1.conference.
ConferenceInstance
(version, payload, conference_sid=None)[source]¶ Bases:
twilio.base.instance_resource.InstanceResource
-
class
ConferenceEndReason
[source]¶ Bases:
object
-
CONFERENCE_ENDED_VIA_API
= 'conference_ended_via_api'¶
-
LAST_PARTICIPANT_KICKED
= 'last_participant_kicked'¶
-
LAST_PARTICIPANT_LEFT
= 'last_participant_left'¶
-
PARTICIPANT_WITH_END_CONFERENCE_ON_EXIT_KICKED
= 'participant_with_end_conference_on_exit_kicked'¶
-
PARTICIPANT_WITH_END_CONFERENCE_ON_EXIT_LEFT
= 'participant_with_end_conference_on_exit_left'¶
-
-
class
ConferenceStatus
[source]¶ Bases:
object
-
COMPLETED
= 'completed'¶
-
IN_PROGRESS
= 'in_progress'¶
-
NOT_STARTED
= 'not_started'¶
-
SUMMARY_TIMEOUT
= 'summary_timeout'¶
-
-
class
Region
[source]¶ Bases:
object
-
AU1
= 'au1'¶
-
BR1
= 'br1'¶
-
DE1
= 'de1'¶
-
IE1
= 'ie1'¶
-
JP1
= 'jp1'¶
-
SG1
= 'sg1'¶
-
US1
= 'us1'¶
-
-
class
Tag
[source]¶ Bases:
object
-
DETECTED_SILENCE
= 'detected_silence'¶
-
DUPLICATE_IDENTITY
= 'duplicate_identity'¶
-
HIGH_JITTER
= 'high_jitter'¶
-
HIGH_LATENCY
= 'high_latency'¶
-
HIGH_PACKET_LOSS
= 'high_packet_loss'¶
-
INVALID_REQUESTED_REGION
= 'invalid_requested_region'¶
-
LOW_MOS
= 'low_mos'¶
-
PARTICIPANT_BEHAVIOR_ISSUES
= 'participant_behavior_issues'¶
-
QUALITY_WARNINGS
= 'quality_warnings'¶
-
REGION_CONFIGURATION_ISSUES
= 'region_configuration_issues'¶
-
START_FAILURE
= 'start_failure'¶
-
-
account_sid
¶ Returns: The account_sid Return type: unicode
-
conference_participants
¶ Access the conference_participants
Returns: twilio.rest.insights.v1.conference.conference_participant.ConferenceParticipantList Return type: twilio.rest.insights.v1.conference.conference_participant.ConferenceParticipantList
-
conference_sid
¶ Returns: The conference_sid Return type: unicode
-
connect_duration_seconds
¶ Returns: The connect_duration_seconds Return type: unicode
-
create_time
¶ Returns: The create_time Return type: datetime
-
duration_seconds
¶ Returns: The duration_seconds Return type: unicode
-
end_reason
¶ Returns: The end_reason Return type: ConferenceInstance.ConferenceEndReason
-
end_time
¶ Returns: The end_time Return type: datetime
-
ended_by
¶ Returns: The ended_by Return type: unicode
-
fetch
()[source]¶ Fetch the ConferenceInstance
Returns: The fetched ConferenceInstance Return type: twilio.rest.insights.v1.conference.ConferenceInstance
-
friendly_name
¶ Returns: The friendly_name Return type: unicode
-
links
¶ Returns: The links Return type: unicode
-
max_concurrent_participants
¶ Returns: The max_concurrent_participants Return type: unicode
-
max_participants
¶ Returns: The max_participants Return type: unicode
-
mixer_region
¶ Returns: The mixer_region Return type: ConferenceInstance.Region
-
mixer_region_requested
¶ Returns: The mixer_region_requested Return type: ConferenceInstance.Region
-
start_time
¶ Returns: The start_time Return type: datetime
-
status
¶ Returns: The status Return type: ConferenceInstance.ConferenceStatus
Returns: The tags Return type: list[ConferenceInstance.Tag]
-
unique_participants
¶ Returns: The unique_participants Return type: unicode
-
url
¶ Returns: The url Return type: unicode
-
class
-
class
twilio.rest.insights.v1.conference.
ConferenceList
(version)[source]¶ Bases:
twilio.base.list_resource.ListResource
-
get
(conference_sid)[source]¶ Constructs a ConferenceContext
Parameters: conference_sid – The conference_sid Returns: twilio.rest.insights.v1.conference.ConferenceContext Return type: twilio.rest.insights.v1.conference.ConferenceContext
-
get_page
(target_url)[source]¶ Retrieve a specific page of ConferenceInstance records from the API. Request is executed immediately
Parameters: target_url (str) – API-generated URL for the requested results page Returns: Page of ConferenceInstance Return type: twilio.rest.insights.v1.conference.ConferencePage
-
list
(conference_sid=<object object>, friendly_name=<object object>, status=<object object>, created_after=<object object>, created_before=<object object>, mixer_region=<object object>, tags=<object object>, subaccount=<object object>, detected_issues=<object object>, end_reason=<object object>, limit=None, page_size=None)[source]¶ Lists ConferenceInstance records from the API as a list. Unlike stream(), this operation is eager and will load limit records into memory before returning.
Parameters: - conference_sid (unicode) – The conference_sid
- friendly_name (unicode) – The friendly_name
- status (unicode) – The status
- created_after (unicode) – The created_after
- created_before (unicode) – The created_before
- mixer_region (unicode) – The mixer_region
- tags (unicode) – The tags
- subaccount (unicode) – The subaccount
- detected_issues (unicode) – The detected_issues
- end_reason (unicode) – The end_reason
- limit (int) – Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit
- page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, list() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns: Generator that will yield up to limit results
Return type:
-
page
(conference_sid=<object object>, friendly_name=<object object>, status=<object object>, created_after=<object object>, created_before=<object object>, mixer_region=<object object>, tags=<object object>, subaccount=<object object>, detected_issues=<object object>, end_reason=<object object>, page_token=<object object>, page_number=<object object>, page_size=<object object>)[source]¶ Retrieve a single page of ConferenceInstance records from the API. Request is executed immediately
Parameters: - conference_sid (unicode) – The conference_sid
- friendly_name (unicode) – The friendly_name
- status (unicode) – The status
- created_after (unicode) – The created_after
- created_before (unicode) – The created_before
- mixer_region (unicode) – The mixer_region
- tags (unicode) – The tags
- subaccount (unicode) – The subaccount
- detected_issues (unicode) – The detected_issues
- end_reason (unicode) – The end_reason
- page_token (str) – PageToken provided by the API
- page_number (int) – Page Number, this value is simply for client state
- page_size (int) – Number of records to return, defaults to 50
Returns: Page of ConferenceInstance
Return type:
-
stream
(conference_sid=<object object>, friendly_name=<object object>, status=<object object>, created_after=<object object>, created_before=<object object>, mixer_region=<object object>, tags=<object object>, subaccount=<object object>, detected_issues=<object object>, end_reason=<object object>, limit=None, page_size=None)[source]¶ Streams ConferenceInstance records from the API as a generator stream. This operation lazily loads records as efficiently as possible until the limit is reached. The results are returned as a generator, so this operation is memory efficient.
Parameters: - conference_sid (unicode) – The conference_sid
- friendly_name (unicode) – The friendly_name
- status (unicode) – The status
- created_after (unicode) – The created_after
- created_before (unicode) – The created_before
- mixer_region (unicode) – The mixer_region
- tags (unicode) – The tags
- subaccount (unicode) – The subaccount
- detected_issues (unicode) – The detected_issues
- end_reason (unicode) – The end_reason
- limit (int) – Upper limit for the number of records to return. stream() guarantees to never return more than limit. Default is no limit
- page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, stream() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns: Generator that will yield up to limit results
Return type:
-
-
class
twilio.rest.insights.v1.conference.
ConferencePage
(version, response, solution)[source]¶ Bases:
twilio.base.page.Page
-
get_instance
(payload)[source]¶ Build an instance of ConferenceInstance
Parameters: payload (dict) – Payload response from the API Returns: twilio.rest.insights.v1.conference.ConferenceInstance Return type: twilio.rest.insights.v1.conference.ConferenceInstance
-