/var/www/hkosl.com/b2b2c/webadmin/libraies/twilio/sdk/Services/Twilio/Rest/Members.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php

class Services_Twilio_Rest_Members
    
extends Services_Twilio_ListResource
{
    
/**
     * Return the member at the front of the queue. Note that any operations 
     * performed on the Member returned from this function will use the /Front 
     * Uri, not the Member's CallSid.
     *
     * @return Services_Twilio_Rest_Member The member at the front of the queue
     */
    
public function front() {
        return new 
$this->instance_name($this->client$this->uri '/Front');
    }

    
/* Participants are identified by CallSid, not like ME123 */
    
public function getObjectFromJson($params$idParam 'sid') {
        return 
parent::getObjectFromJson($params'call_sid');
    }

    public function 
getResourceName($camelized false)
    {
        
// The JSON property name is atypical.
        
return $camelized 'Members' 'queue_members';
    }
}