Файл: sngine-v2.8/Script/includes/libs/Twilio/Rest/Pricing/V2/Voice/NumberList.php
Строк: 61
<?php
/**
* This code was generated by
* / _ _ _| _ _
* | (_)/(_)(_|/| |(/_ v1.0.0
* / /
*/
namespace TwilioRestPricingV2Voice;
use TwilioListResource;
use TwilioVersion;
class NumberList extends ListResource {
/**
* Construct the NumberList
*
* @param Version $version Version that contains the resource
*/
public function __construct(Version $version) {
parent::__construct($version);
// Path Solution
$this->solution = [];
}
/**
* Constructs a NumberContext
*
* @param string $destinationNumber The destination number for which to fetch
* pricing information
*/
public function getContext(string $destinationNumber): NumberContext {
return new NumberContext($this->version, $destinationNumber);
}
/**
* Provide a friendly representation
*
* @return string Machine friendly representation
*/
public function __toString(): string {
return '[Twilio.Pricing.V2.NumberList]';
}
}