PurchasePhoneNumberRequest
extends Message
in package
PurchasePhoneNumberRequest - Request to purchase phone numbers
Generated from protobuf message livekit.PurchasePhoneNumberRequest
Table of Contents
Properties
- $sip_dispatch_rule_id : mixed
- SIP dispatch rule ID to apply to all purchased numbers
- $phone_numbers : mixed
- Phone numbers to purchase (e.g., ["+1234567890", "+1234567891"])
Methods
- __construct() : mixed
- Constructor.
- clearSipDispatchRuleId() : mixed
- getPhoneNumbers() : RepeatedField<string|int, string>
- Phone numbers to purchase (e.g., ["+1234567890", "+1234567891"])
- getSipDispatchRuleId() : string
- SIP dispatch rule ID to apply to all purchased numbers
- hasSipDispatchRuleId() : mixed
- setPhoneNumbers() : $this
- Phone numbers to purchase (e.g., ["+1234567890", "+1234567891"])
- setSipDispatchRuleId() : $this
- SIP dispatch rule ID to apply to all purchased numbers
Properties
$sip_dispatch_rule_id
SIP dispatch rule ID to apply to all purchased numbers
protected
mixed
$sip_dispatch_rule_id
= null
Generated from protobuf field optional string sip_dispatch_rule_id = 2;
$phone_numbers
Phone numbers to purchase (e.g., ["+1234567890", "+1234567891"])
private
mixed
$phone_numbers
Generated from protobuf field repeated string phone_numbers = 1;
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
- $data : array<string|int, mixed> = null
-
{ Optional. Data for populating the Message object.
@type string[] $phone_numbers Phone numbers to purchase (e.g., ["+1234567890", "+1234567891"]) @type string $sip_dispatch_rule_id SIP dispatch rule ID to apply to all purchased numbers}
clearSipDispatchRuleId()
public
clearSipDispatchRuleId() : mixed
getPhoneNumbers()
Phone numbers to purchase (e.g., ["+1234567890", "+1234567891"])
public
getPhoneNumbers() : RepeatedField<string|int, string>
Generated from protobuf field repeated string phone_numbers = 1;
Return values
RepeatedField<string|int, string>getSipDispatchRuleId()
SIP dispatch rule ID to apply to all purchased numbers
public
getSipDispatchRuleId() : string
Generated from protobuf field optional string sip_dispatch_rule_id = 2;
Return values
stringhasSipDispatchRuleId()
public
hasSipDispatchRuleId() : mixed
setPhoneNumbers()
Phone numbers to purchase (e.g., ["+1234567890", "+1234567891"])
public
setPhoneNumbers(array<string|int, string> $var) : $this
Generated from protobuf field repeated string phone_numbers = 1;
Parameters
- $var : array<string|int, string>
Return values
$thissetSipDispatchRuleId()
SIP dispatch rule ID to apply to all purchased numbers
public
setSipDispatchRuleId(string $var) : $this
Generated from protobuf field optional string sip_dispatch_rule_id = 2;
Parameters
- $var : string