public function page($options = array(), $pageSize = Values::NONE, $pageToken = Values::NONE, $pageNumber = Values::NONE) {
        $options = new Values($options);
        $params = Values::of(array(
            'AreaCode' => $options['areaCode'],
            'Contains' => $options['contains'],
            'SmsEnabled' => Serialize::booleanToString($options['smsEnabled']),
            'MmsEnabled' => Serialize::booleanToString($options['mmsEnabled']),
            'VoiceEnabled' => Serialize::booleanToString($options['voiceEnabled']),
            'ExcludeAllAddressRequired' => Serialize::booleanToString($options['excludeAllAddressRequired']),
            'ExcludeLocalAddressRequired' => Serialize::booleanToString($options['excludeLocalAddressRequired']),
            'ExcludeForeignAddressRequired' => Serialize::booleanToString($options['excludeForeignAddressRequired']),
            'Beta' => Serialize::booleanToString($options['beta']),
            'NearNumber' => $options['nearNumber'],
            'NearLatLong' => $options['nearLatLong'],
            'Distance' => $options['distance'],
            'InPostalCode' => $options['inPostalCode'],
            'InRegion' => $options['inRegion'],
            'InRateCenter' => $options['inRateCenter'],
            'InLata' => $options['inLata'],
            'InLocality' => $options['inLocality'],
            'FaxEnabled' => Serialize::booleanToString($options['faxEnabled']),
            'PageToken' => $pageToken,
            'Page' => $pageNumber,
            'PageSize' => $pageSize,
        ));

        $response = $this->version->page(
            'GET',
            $this->uri,
            $params
        );

        return new MobilePage($this->version, $response, $this->solution);
    }
public function page($options = array(), $pageSize = Values::NONE, $pageToken = Values::NONE, $pageNumber = Values::NONE) {
        $options = new Values($options);
        $params = Values::of(array(
            'AreaCode' => $options['areaCode'],
            'Contains' => $options['contains'],
            'SmsEnabled' => Serialize::booleanToString($options['smsEnabled']),
            'MmsEnabled' => Serialize::booleanToString($options['mmsEnabled']),
            'VoiceEnabled' => Serialize::booleanToString($options['voiceEnabled']),
            'ExcludeAllAddressRequired' => Serialize::booleanToString($options['excludeAllAddressRequired']),
            'ExcludeLocalAddressRequired' => Serialize::booleanToString($options['excludeLocalAddressRequired']),
            'ExcludeForeignAddressRequired' => Serialize::booleanToString($options['excludeForeignAddressRequired']),
            'Beta' => Serialize::booleanToString($options['beta']),
            'NearNumber' => $options['nearNumber'],
            'NearLatLong' => $options['nearLatLong'],
            'Distance' => $options['distance'],
            'InPostalCode' => $options['inPostalCode'],
            'InRegion' => $options['inRegion'],
            'InRateCenter' => $options['inRateCenter'],
            'InLata' => $options['inLata'],
            'InLocality' => $options['inLocality'],
            'FaxEnabled' => Serialize::booleanToString($options['faxEnabled']),
            'PageToken' => $pageToken,
            'Page' => $pageNumber,
            'PageSize' => $pageSize,
        ));

        $response = $this->version->page(
            'GET',
            $this->uri,
            $params
        );

        return new MobilePage($this->version, $response, $this->solution);
    }
public function page ( $ options = array ( ) , $ pageSize = Values :: NONE , $ pageToken = Values :: NONE , $ pageNumber = Values :: NONE ) { $ options = new Values ( $ options ) ; $ params = Values :: of ( array ( 'AreaCode' => $ options [ 'areaCode' ] , 'Contains' => $ options [ 'contains' ] , 'SmsEnabled' => Serialize :: booleanToString ( $ options [ 'smsEnabled' ] ) , 'MmsEnabled' => Serialize :: booleanToString ( $ options [ 'mmsEnabled' ] ) , 'VoiceEnabled' => Serialize :: booleanToString ( $ options [ 'voiceEnabled' ] ) , 'ExcludeAllAddressRequired' => Serialize :: booleanToString ( $ options [ 'excludeAllAddressRequired' ] ) , 'ExcludeLocalAddressRequired' => Serialize :: booleanToString ( $ options [ 'excludeLocalAddressRequired' ] ) , 'ExcludeForeignAddressRequired' => Serialize :: booleanToString ( $ options [ 'excludeForeignAddressRequired' ] ) , 'Beta' => Serialize :: booleanToString ( $ options [ 'beta' ] ) , 'NearNumber' => $ options [ 'nearNumber' ] , 'NearLatLong' => $ options [ 'nearLatLong' ] , 'Distance' => $ options [ 'distance' ] , 'InPostalCode' => $ options [ 'inPostalCode' ] , 'InRegion' => $ options [ 'inRegion' ] , 'InRateCenter' => $ options [ 'inRateCenter' ] , 'InLata' => $ options [ 'inLata' ] , 'InLocality' => $ options [ 'inLocality' ] , 'FaxEnabled' => Serialize :: booleanToString ( $ options [ 'faxEnabled' ] ) , 'PageToken' => $ pageToken , 'Page' => $ pageNumber , 'PageSize' => $ pageSize , ) ) ; $ response = $ this -> version -> page ( 'GET' , $ this -> uri , $ params ) ; return new MobilePage ( $ this -> version , $ response , $ this -> solution ) ; }
Retrieve a single page of MobileInstance records from the API.
Request is executed immediately

@param array|Options $options Optional Arguments
@param mixed $pageSize Number of records to return, defaults to 50
@param string $pageToken PageToken provided by the API
@param mixed $pageNumber Page Number, this value is simply for client state
@return \Twilio\Page Page of MobileInstance
Retrieve a single page of MobileInstance records from the API . Request is executed immediately