« Twilio/Rest/Trunking/V1/Trunk/OriginationUrl.pm
↑ Summary
Twilio/Rest/Video/V1/CompositionHook.pm »
| 1 | # Generated by tools/generate.pl from Twilio's OpenAPI specs. Do not edit this file. | ||||||||||||||||||||
| 2 | package Twilio::Rest::Api::V2010::Account::Conference::Participant; | ||||||||||||||||||||
| 3 | |||||||||||||||||||||
| 4 | 3 | ▶ | use 5.016; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 5 | 3 | ▶ | use warnings; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 6 | |||||||||||||||||||||
| 7 | 3 | our $VERSION = '2.001'; | |||||||||||||||||||
| 8 | |||||||||||||||||||||
| 9 | package Twilio::Rest::Api::V2010::Account::Conference::ParticipantList; | ||||||||||||||||||||
| 10 | |||||||||||||||||||||
| 11 | 3 | ▶ | use parent 'Twilio::ListResource'; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 12 | |||||||||||||||||||||
| 13 | 3 | ▶ | use Twilio::Serialize; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 14 | |||||||||||||||||||||
| 15 | 6 | ▶ | sub new { | ||||||||||||||||||
|
Subroutine
new: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 16 | 6 | my ($class, $version, $account_sid, $conference_sid) = @_; | |||||||||||||||||||
| 17 | 6 | my $self = $class->SUPER::new($version); | |||||||||||||||||||
| 18 | 6 | $self->{solution} = { account_sid => $account_sid, conference_sid => $conference_sid }; | |||||||||||||||||||
| 19 | 6 | $self->{uri} = join q{}, '/Accounts/', Twilio::Serialize::path_segment($account_sid), | |||||||||||||||||||
| 20 | '/Conferences/', Twilio::Serialize::path_segment($conference_sid), '/Participants.json'; | ||||||||||||||||||||
| 21 | 6 | return $self; | |||||||||||||||||||
| 22 | } | ||||||||||||||||||||
| 23 | |||||||||||||||||||||
| 24 | 1 | ▶ | sub create { | ||||||||||||||||||
|
Subroutine
create: called CC=2 SCAR=7.0
| |||||||||||||||||||||
| 25 | 1 | my ($self, $from, $to, $options) = @_; | |||||||||||||||||||
| 26 | 1 | ▶ | $options //= {}; | ||||||||||||||||||
|
Condition50%1/2
$options //= {}
MC/DC0%0/1
$options //= {}
$options
Truth table50%1/2
A
A= $options
| |||||||||||||||||||||
| 27 | |||||||||||||||||||||
| 28 | my $data = { | ||||||||||||||||||||
| 29 | From => $from, | ||||||||||||||||||||
| 30 | To => $to, | ||||||||||||||||||||
| 31 | AmdStatusCallback => $options->{amd_status_callback}, | ||||||||||||||||||||
| 32 | AmdStatusCallbackMethod => $options->{amd_status_callback_method}, | ||||||||||||||||||||
| 33 | Beep => $options->{beep}, | ||||||||||||||||||||
| 34 | Byoc => $options->{byoc}, | ||||||||||||||||||||
| 35 | CallReason => $options->{call_reason}, | ||||||||||||||||||||
| 36 | CallSidToCoach => $options->{call_sid_to_coach}, | ||||||||||||||||||||
| 37 | CallToken => $options->{call_token}, | ||||||||||||||||||||
| 38 | CallerDisplayName => $options->{caller_display_name}, | ||||||||||||||||||||
| 39 | CallerId => $options->{caller_id}, | ||||||||||||||||||||
| 40 | ClientNotificationUrl => $options->{client_notification_url}, | ||||||||||||||||||||
| 41 | Coaching => Twilio::Serialize::boolean_to_string($options->{coaching}), | ||||||||||||||||||||
| 42 | ConferenceRecord => $options->{conference_record}, | ||||||||||||||||||||
| 43 | ConferenceRecordingStatusCallback => $options->{conference_recording_status_callback}, | ||||||||||||||||||||
| 44 | ConferenceRecordingStatusCallbackEvent => | ||||||||||||||||||||
| 45 | $options->{conference_recording_status_callback_event}, | ||||||||||||||||||||
| 46 | ConferenceRecordingStatusCallbackMethod => | ||||||||||||||||||||
| 47 | $options->{conference_recording_status_callback_method}, | ||||||||||||||||||||
| 48 | ConferenceStatusCallback => $options->{conference_status_callback}, | ||||||||||||||||||||
| 49 | ConferenceStatusCallbackEvent => $options->{conference_status_callback_event}, | ||||||||||||||||||||
| 50 | ConferenceStatusCallbackMethod => $options->{conference_status_callback_method}, | ||||||||||||||||||||
| 51 | ConferenceTrim => $options->{conference_trim}, | ||||||||||||||||||||
| 52 | EarlyMedia => Twilio::Serialize::boolean_to_string($options->{early_media}), | ||||||||||||||||||||
| 53 | EmergencyAddress => $options->{emergency_address}, | ||||||||||||||||||||
| 54 | EmergencyCallerLocation => $options->{emergency_caller_location}, | ||||||||||||||||||||
| 55 | EmergencyCallerPosition => $options->{emergency_caller_position}, | ||||||||||||||||||||
| 56 | EmergencyCity => $options->{emergency_city}, | ||||||||||||||||||||
| 57 | EmergencyCountry => $options->{emergency_country}, | ||||||||||||||||||||
| 58 | EmergencyName => $options->{emergency_name}, | ||||||||||||||||||||
| 59 | EmergencyState => $options->{emergency_state}, | ||||||||||||||||||||
| 60 | EmergencyZipCode => $options->{emergency_zip_code}, | ||||||||||||||||||||
| 61 | EndConferenceOnExit => Twilio::Serialize::boolean_to_string($options->{end_conference_on_exit}), | ||||||||||||||||||||
| 62 | JitterBufferSize => $options->{jitter_buffer_size}, | ||||||||||||||||||||
| 63 | Label => $options->{label}, | ||||||||||||||||||||
| 64 | MachineDetection => $options->{machine_detection}, | ||||||||||||||||||||
| 65 | MachineDetectionSilenceTimeout => $options->{machine_detection_silence_timeout}, | ||||||||||||||||||||
| 66 | MachineDetectionSpeechEndThreshold => $options->{machine_detection_speech_end_threshold}, | ||||||||||||||||||||
| 67 | MachineDetectionSpeechThreshold => $options->{machine_detection_speech_threshold}, | ||||||||||||||||||||
| 68 | MachineDetectionTimeout => $options->{machine_detection_timeout}, | ||||||||||||||||||||
| 69 | MaxParticipants => $options->{max_participants}, | ||||||||||||||||||||
| 70 | Muted => Twilio::Serialize::boolean_to_string($options->{muted}), | ||||||||||||||||||||
| 71 | Passports => $options->{passports}, | ||||||||||||||||||||
| 72 | Record => Twilio::Serialize::boolean_to_string($options->{record}), | ||||||||||||||||||||
| 73 | RecordingChannels => $options->{recording_channels}, | ||||||||||||||||||||
| 74 | RecordingConfigurationId => $options->{recording_configuration_id}, | ||||||||||||||||||||
| 75 | RecordingStatusCallback => $options->{recording_status_callback}, | ||||||||||||||||||||
| 76 | RecordingStatusCallbackEvent => $options->{recording_status_callback_event}, | ||||||||||||||||||||
| 77 | RecordingStatusCallbackMethod => $options->{recording_status_callback_method}, | ||||||||||||||||||||
| 78 | RecordingTrack => $options->{recording_track}, | ||||||||||||||||||||
| 79 | Region => $options->{region}, | ||||||||||||||||||||
| 80 | SipAuthPassword => $options->{sip_auth_password}, | ||||||||||||||||||||
| 81 | SipAuthUsername => $options->{sip_auth_username}, | ||||||||||||||||||||
| 82 | StartConferenceOnEnter => | ||||||||||||||||||||
| 83 | Twilio::Serialize::boolean_to_string($options->{start_conference_on_enter}), | ||||||||||||||||||||
| 84 | StatusCallback => $options->{status_callback}, | ||||||||||||||||||||
| 85 | StatusCallbackEvent => $options->{status_callback_event}, | ||||||||||||||||||||
| 86 | StatusCallbackMethod => $options->{status_callback_method}, | ||||||||||||||||||||
| 87 | TimeLimit => $options->{time_limit}, | ||||||||||||||||||||
| 88 | Timeout => $options->{timeout}, | ||||||||||||||||||||
| 89 | Trim => $options->{trim}, | ||||||||||||||||||||
| 90 | WaitMethod => $options->{wait_method}, | ||||||||||||||||||||
| 91 | WaitUrl => $options->{wait_url}, | ||||||||||||||||||||
| 92 | 1 | }; | |||||||||||||||||||
| 93 | |||||||||||||||||||||
| 94 | my $response = | ||||||||||||||||||||
| 95 | 1 | $self->{version}->handle_request('POST', $self->{uri}, 'create', { data => $data }); | |||||||||||||||||||
| 96 | return Twilio::Rest::Api::V2010::Account::Conference::ParticipantInstance->new( | ||||||||||||||||||||
| 97 | $self->{version}, $response->get_content, | ||||||||||||||||||||
| 98 | $self->{solution}{account_sid}, | ||||||||||||||||||||
| 99 | $self->{solution}{conference_sid} | ||||||||||||||||||||
| 100 | 1 | ); | |||||||||||||||||||
| 101 | } | ||||||||||||||||||||
| 102 | |||||||||||||||||||||
| 103 | 0 | ▶ | sub read { | ||||||||||||||||||
|
Subroutine
read: not called CC=1 SCAR=6.9
| |||||||||||||||||||||
| 104 | 0 | my ($self, @arguments) = @_; | |||||||||||||||||||
| 105 | 0 | return $self->read_records(@arguments); | |||||||||||||||||||
| 106 | } | ||||||||||||||||||||
| 107 | |||||||||||||||||||||
| 108 | 0 | ▶ | sub stream { | ||||||||||||||||||
|
Subroutine
stream: not called CC=1 SCAR=6.9
| |||||||||||||||||||||
| 109 | 0 | my ($self, @arguments) = @_; | |||||||||||||||||||
| 110 | 0 | return $self->stream_records(@arguments); | |||||||||||||||||||
| 111 | } | ||||||||||||||||||||
| 112 | |||||||||||||||||||||
| 113 | 1 | ▶ | sub page { | ||||||||||||||||||
|
Subroutine
page: called CC=2 SCAR=7.0
| |||||||||||||||||||||
| 114 | 1 | my ($self, $options, $page_size, $page_token, $page_number) = @_; | |||||||||||||||||||
| 115 | 1 | ▶ | $options //= {}; | ||||||||||||||||||
|
Condition50%1/2
$options //= {}
MC/DC0%0/1
$options //= {}
$options
Truth table50%1/2
A
A= $options
| |||||||||||||||||||||
| 116 | |||||||||||||||||||||
| 117 | my $params = { | ||||||||||||||||||||
| 118 | Coaching => Twilio::Serialize::boolean_to_string($options->{coaching}), | ||||||||||||||||||||
| 119 | Hold => Twilio::Serialize::boolean_to_string($options->{hold}), | ||||||||||||||||||||
| 120 | 1 | Muted => Twilio::Serialize::boolean_to_string($options->{muted}), | |||||||||||||||||||
| 121 | PageToken => $page_token, | ||||||||||||||||||||
| 122 | Page => $page_number, | ||||||||||||||||||||
| 123 | PageSize => $page_size, | ||||||||||||||||||||
| 124 | }; | ||||||||||||||||||||
| 125 | |||||||||||||||||||||
| 126 | 1 | my $response = $self->{version}->page('GET', $self->{uri}, { params => $params }); | |||||||||||||||||||
| 127 | 1 | return $self->_build_page($response); | |||||||||||||||||||
| 128 | } | ||||||||||||||||||||
| 129 | |||||||||||||||||||||
| 130 | 0 | ▶ | sub get_page { | ||||||||||||||||||
|
Subroutine
get_page: not called CC=1 SCAR=6.9
| |||||||||||||||||||||
| 131 | 0 | my ($self, $target_url) = @_; | |||||||||||||||||||
| 132 | 0 | my $client = $self->{version}->get_domain->get_client; | |||||||||||||||||||
| 133 | 0 | return $self->_build_page($client->request('GET', $target_url)); | |||||||||||||||||||
| 134 | } | ||||||||||||||||||||
| 135 | |||||||||||||||||||||
| 136 | 1 | ▶ | sub _build_page { | ||||||||||||||||||
|
Subroutine
_build_page: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 137 | 1 | my ($self, $response) = @_; | |||||||||||||||||||
| 138 | return Twilio::Rest::Api::V2010::Account::Conference::ParticipantPage->new($self->{version}, | ||||||||||||||||||||
| 139 | 1 | $response, $self->{solution}); | |||||||||||||||||||
| 140 | } | ||||||||||||||||||||
| 141 | |||||||||||||||||||||
| 142 | 4 | ▶ | sub get_context { | ||||||||||||||||||
|
Subroutine
get_context: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 143 | 4 | my ($self, $call_sid) = @_; | |||||||||||||||||||
| 144 | return Twilio::Rest::Api::V2010::Account::Conference::ParticipantContext->new( | ||||||||||||||||||||
| 145 | $self->{version}, | ||||||||||||||||||||
| 146 | $self->{solution}{account_sid}, | ||||||||||||||||||||
| 147 | 4 | $self->{solution}{conference_sid}, $call_sid | |||||||||||||||||||
| 148 | ); | ||||||||||||||||||||
| 149 | } | ||||||||||||||||||||
| 150 | |||||||||||||||||||||
| 151 | package Twilio::Rest::Api::V2010::Account::Conference::ParticipantPage; | ||||||||||||||||||||
| 152 | |||||||||||||||||||||
| 153 | 3 | ▶ | use parent 'Twilio::Page'; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 154 | |||||||||||||||||||||
| 155 | 1 | ▶ | sub records_key { return 'participants' } | ||||||||||||||||||
|
Subroutine
records_key: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 156 | |||||||||||||||||||||
| 157 | 1 | ▶ | sub build_instance { | ||||||||||||||||||
|
Subroutine
build_instance: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 158 | 1 | my ($self, $payload) = @_; | |||||||||||||||||||
| 159 | return Twilio::Rest::Api::V2010::Account::Conference::ParticipantInstance->new( | ||||||||||||||||||||
| 160 | $self->{version}, $payload, | ||||||||||||||||||||
| 161 | $self->{solution}{account_sid}, | ||||||||||||||||||||
| 162 | $self->{solution}{conference_sid} | ||||||||||||||||||||
| 163 | 1 | ); | |||||||||||||||||||
| 164 | } | ||||||||||||||||||||
| 165 | |||||||||||||||||||||
| 166 | package Twilio::Rest::Api::V2010::Account::Conference::ParticipantContext; | ||||||||||||||||||||
| 167 | |||||||||||||||||||||
| 168 | 3 | ▶ | use parent 'Twilio::InstanceContext'; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 169 | |||||||||||||||||||||
| 170 | 3 | ▶ | use Twilio::Serialize; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 171 | |||||||||||||||||||||
| 172 | 4 | ▶ | sub new { | ||||||||||||||||||
|
Subroutine
new: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 173 | 4 | my ($class, $version, $account_sid, $conference_sid, $call_sid) = @_; | |||||||||||||||||||
| 174 | 4 | my $self = $class->SUPER::new($version); | |||||||||||||||||||
| 175 | $self->{solution} = | ||||||||||||||||||||
| 176 | 4 | { account_sid => $account_sid, conference_sid => $conference_sid, call_sid => $call_sid }; | |||||||||||||||||||
| 177 | 4 | $self->{uri} = join q{}, '/Accounts/', Twilio::Serialize::path_segment($account_sid), | |||||||||||||||||||
| 178 | '/Conferences/', Twilio::Serialize::path_segment($conference_sid), '/Participants/', | ||||||||||||||||||||
| 179 | Twilio::Serialize::path_segment($call_sid), '.json'; | ||||||||||||||||||||
| 180 | 4 | return $self; | |||||||||||||||||||
| 181 | } | ||||||||||||||||||||
| 182 | |||||||||||||||||||||
| 183 | 1 | ▶ | sub delete { | ||||||||||||||||||
|
Subroutine
delete: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 184 | 1 | my ($self) = @_; | |||||||||||||||||||
| 185 | 1 | $self->{version}->handle_request('DELETE', $self->{uri}, 'delete'); | |||||||||||||||||||
| 186 | 1 | return 1; | |||||||||||||||||||
| 187 | } | ||||||||||||||||||||
| 188 | |||||||||||||||||||||
| 189 | 2 | ▶ | sub fetch { | ||||||||||||||||||
|
Subroutine
fetch: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 190 | 2 | my ($self) = @_; | |||||||||||||||||||
| 191 | |||||||||||||||||||||
| 192 | 2 | my $response = $self->{version}->handle_request('GET', $self->{uri}, 'fetch'); | |||||||||||||||||||
| 193 | 2 | return $self->_build_instance($response); | |||||||||||||||||||
| 194 | } | ||||||||||||||||||||
| 195 | |||||||||||||||||||||
| 196 | 1 | ▶ | sub update { | ||||||||||||||||||
|
Subroutine
update: called CC=2 SCAR=7.0
| |||||||||||||||||||||
| 197 | 1 | my ($self, $options) = @_; | |||||||||||||||||||
| 198 | 1 | ▶ | $options //= {}; | ||||||||||||||||||
|
Condition50%1/2
$options //= {}
MC/DC0%0/1
$options //= {}
$options
Truth table50%1/2
A
A= $options
| |||||||||||||||||||||
| 199 | |||||||||||||||||||||
| 200 | my $data = { | ||||||||||||||||||||
| 201 | AnnounceMethod => $options->{announce_method}, | ||||||||||||||||||||
| 202 | AnnounceUrl => $options->{announce_url}, | ||||||||||||||||||||
| 203 | BeepOnExit => Twilio::Serialize::boolean_to_string($options->{beep_on_exit}), | ||||||||||||||||||||
| 204 | CallSidToCoach => $options->{call_sid_to_coach}, | ||||||||||||||||||||
| 205 | Coaching => Twilio::Serialize::boolean_to_string($options->{coaching}), | ||||||||||||||||||||
| 206 | EndConferenceOnExit => Twilio::Serialize::boolean_to_string($options->{end_conference_on_exit}), | ||||||||||||||||||||
| 207 | Hold => Twilio::Serialize::boolean_to_string($options->{hold}), | ||||||||||||||||||||
| 208 | HoldMethod => $options->{hold_method}, | ||||||||||||||||||||
| 209 | HoldUrl => $options->{hold_url}, | ||||||||||||||||||||
| 210 | Muted => Twilio::Serialize::boolean_to_string($options->{muted}), | ||||||||||||||||||||
| 211 | WaitMethod => $options->{wait_method}, | ||||||||||||||||||||
| 212 | WaitUrl => $options->{wait_url}, | ||||||||||||||||||||
| 213 | 1 | }; | |||||||||||||||||||
| 214 | |||||||||||||||||||||
| 215 | my $response = | ||||||||||||||||||||
| 216 | 1 | $self->{version}->handle_request('POST', $self->{uri}, 'update', { data => $data }); | |||||||||||||||||||
| 217 | 1 | return $self->_build_instance($response); | |||||||||||||||||||
| 218 | } | ||||||||||||||||||||
| 219 | |||||||||||||||||||||
| 220 | 3 | ▶ | sub _build_instance { | ||||||||||||||||||
|
Subroutine
_build_instance: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 221 | 3 | my ($self, $response) = @_; | |||||||||||||||||||
| 222 | return Twilio::Rest::Api::V2010::Account::Conference::ParticipantInstance->new( | ||||||||||||||||||||
| 223 | $self->{version}, $response->get_content, | ||||||||||||||||||||
| 224 | $self->{solution}{account_sid}, | ||||||||||||||||||||
| 225 | $self->{solution}{conference_sid}, | ||||||||||||||||||||
| 226 | $self->{solution}{call_sid} | ||||||||||||||||||||
| 227 | 3 | ); | |||||||||||||||||||
| 228 | } | ||||||||||||||||||||
| 229 | |||||||||||||||||||||
| 230 | package Twilio::Rest::Api::V2010::Account::Conference::ParticipantInstance; | ||||||||||||||||||||
| 231 | |||||||||||||||||||||
| 232 | 3 | ▶ | use parent 'Twilio::InstanceResource'; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 233 | |||||||||||||||||||||
| 234 | 3 | ▶ | use Twilio::Deserialize; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 235 | |||||||||||||||||||||
| 236 | 5 | ▶ | sub new { | ||||||||||||||||||
|
Subroutine
new: called CC=2 SCAR=7.0
| |||||||||||||||||||||
| 237 | 5 | my ($class, $version, $payload, $account_sid, $conference_sid, $call_sid) = @_; | |||||||||||||||||||
| 238 | 5 | my $self = $class->SUPER::new($version, $payload); | |||||||||||||||||||
| 239 | $self->{solution} = { | ||||||||||||||||||||
| 240 | account_sid => $account_sid, | ||||||||||||||||||||
| 241 | conference_sid => $conference_sid, | ||||||||||||||||||||
| 242 | call_sid => $call_sid // $self->{properties}{call_sid} | ||||||||||||||||||||
| 243 | 5 | ▶ | }; | ||||||||||||||||||
|
Condition66%2/3
$call_sid // $self->{"properties"}{"call_sid"}
MC/DC0%0/2
$call_sid // $self->{"properties"}{"call_sid"}
$call_sid
$self->{"properties"}{"call_sid"}
Truth table66%2/3
A // B
A= $call_sidB= $self->{"properties"}{"call_sid"}
| |||||||||||||||||||||
| 244 | 5 | return $self; | |||||||||||||||||||
| 245 | } | ||||||||||||||||||||
| 246 | |||||||||||||||||||||
| 247 | 0 | ▶ | sub delete { | ||||||||||||||||||
|
Subroutine
delete: not called CC=1 SCAR=6.9
| |||||||||||||||||||||
| 248 | 0 | my ($self, @arguments) = @_; | |||||||||||||||||||
| 249 | 0 | return $self->_context->delete(@arguments); | |||||||||||||||||||
| 250 | } | ||||||||||||||||||||
| 251 | |||||||||||||||||||||
| 252 | 0 | ▶ | sub fetch { | ||||||||||||||||||
|
Subroutine
fetch: not called CC=1 SCAR=6.9
| |||||||||||||||||||||
| 253 | 0 | my ($self, @arguments) = @_; | |||||||||||||||||||
| 254 | 0 | return $self->_context->fetch(@arguments); | |||||||||||||||||||
| 255 | } | ||||||||||||||||||||
| 256 | |||||||||||||||||||||
| 257 | 0 | ▶ | sub update { | ||||||||||||||||||
|
Subroutine
update: not called CC=1 SCAR=6.9
| |||||||||||||||||||||
| 258 | 0 | my ($self, @arguments) = @_; | |||||||||||||||||||
| 259 | 0 | return $self->_context->update(@arguments); | |||||||||||||||||||
| 260 | } | ||||||||||||||||||||
| 261 | |||||||||||||||||||||
| 262 | 0 | ▶ | sub _context { | ||||||||||||||||||
|
Subroutine
_context: not called CC=1 SCAR=6.9
| |||||||||||||||||||||
| 263 | 0 | my ($self) = @_; | |||||||||||||||||||
| 264 | return Twilio::Rest::Api::V2010::Account::Conference::ParticipantContext->new( | ||||||||||||||||||||
| 265 | $self->{version}, $self->{solution}{account_sid}, | ||||||||||||||||||||
| 266 | $self->{solution}{conference_sid}, $self->{solution}{call_sid} | ||||||||||||||||||||
| 267 | 0 | ); | |||||||||||||||||||
| 268 | } | ||||||||||||||||||||
| 269 | |||||||||||||||||||||
| 270 | 4 | ▶ | sub account_sid { return $_[0]{properties}{account_sid} } | ||||||||||||||||||
|
Subroutine
account_sid: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 271 | 4 | ▶ | sub call_sid { return $_[0]{properties}{call_sid} } | ||||||||||||||||||
|
Subroutine
call_sid: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 272 | 4 | ▶ | sub call_sid_to_coach { return $_[0]{properties}{call_sid_to_coach} } | ||||||||||||||||||
|
Subroutine
call_sid_to_coach: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 273 | 4 | ▶ | sub coaching { return $_[0]{properties}{coaching} } | ||||||||||||||||||
|
Subroutine
coaching: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 274 | 4 | ▶ | sub conference_sid { return $_[0]{properties}{conference_sid} } | ||||||||||||||||||
|
Subroutine
conference_sid: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 275 | 4 | ▶ | sub date_created { return Twilio::Deserialize::date_time($_[0]{properties}{date_created}) } | ||||||||||||||||||
|
Subroutine
date_created: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 276 | 4 | ▶ | sub date_updated { return Twilio::Deserialize::date_time($_[0]{properties}{date_updated}) } | ||||||||||||||||||
|
Subroutine
date_updated: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 277 | 4 | ▶ | sub end_conference_on_exit { return $_[0]{properties}{end_conference_on_exit} } | ||||||||||||||||||
|
Subroutine
end_conference_on_exit: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 278 | 4 | ▶ | sub hold { return $_[0]{properties}{hold} } | ||||||||||||||||||
|
Subroutine
hold: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 279 | 4 | ▶ | sub label { return $_[0]{properties}{label} } | ||||||||||||||||||
|
Subroutine
label: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 280 | 4 | ▶ | sub muted { return $_[0]{properties}{muted} } | ||||||||||||||||||
|
Subroutine
muted: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 281 | 4 | ▶ | sub queue_time { return $_[0]{properties}{queue_time} } | ||||||||||||||||||
|
Subroutine
queue_time: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 282 | 4 | ▶ | sub start_conference_on_enter { return $_[0]{properties}{start_conference_on_enter} } | ||||||||||||||||||
|
Subroutine
start_conference_on_enter: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 283 | 4 | ▶ | sub status { return $_[0]{properties}{status} } | ||||||||||||||||||
|
Subroutine
status: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 284 | 4 | ▶ | sub uri { return $_[0]{properties}{uri} } | ||||||||||||||||||
|
Subroutine
uri: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 285 | |||||||||||||||||||||
| 286 | 3 | 1; | |||||||||||||||||||
| 287 | |||||||||||||||||||||
| 288 | __END__ | ||||||||||||||||||||