Table of Contents

Class ListPhoneNumbersRequest

Namespace
Livekit.Server.Sdk.Dotnet
Assembly
LivekitApi.dll

ListPhoneNumbersRequest - Request to list phone numbers

public sealed class ListPhoneNumbersRequest : IMessage<ListPhoneNumbersRequest>, IEquatable<ListPhoneNumbersRequest>, IDeepCloneable<ListPhoneNumbersRequest>, IBufferMessage, IMessage
Inheritance
ListPhoneNumbersRequest
Implements
IBufferMessage
Inherited Members

Constructors

ListPhoneNumbersRequest()

public ListPhoneNumbersRequest()

ListPhoneNumbersRequest(ListPhoneNumbersRequest)

public ListPhoneNumbersRequest(ListPhoneNumbersRequest other)

Parameters

other ListPhoneNumbersRequest

Properties

HasLimit

Gets whether the "limit" field is set

public bool HasLimit { get; }

Property Value

bool

HasSipDispatchRuleId

Gets whether the "sip_dispatch_rule_id" field is set

public bool HasSipDispatchRuleId { get; }

Property Value

bool

Limit

Maximum number of results (default: 50)

public int Limit { get; set; }

Property Value

int

PageToken

Token for pagination (empty for first page)

public TokenPagination PageToken { get; set; }

Property Value

TokenPagination

SipDispatchRuleId

Filter by SIP dispatch rule ID

public string SipDispatchRuleId { get; set; }

Property Value

string

Statuses

Filter by statuses (active, pending, released)

public RepeatedField<PhoneNumberStatus> Statuses { get; }

Property Value

RepeatedField<PhoneNumberStatus>

Methods

ClearLimit()

Clears the value of the "limit" field

public void ClearLimit()

ClearSipDispatchRuleId()

Clears the value of the "sip_dispatch_rule_id" field

public void ClearSipDispatchRuleId()