Table of Contents

Class ListPhoneNumbersRequest

Namespace
LiveKit.Proto
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll

ListPhoneNumbersRequest - Request to list phone numbers

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

Constructors

ListPhoneNumbersRequest()

public ListPhoneNumbersRequest()

ListPhoneNumbersRequest(ListPhoneNumbersRequest)

public ListPhoneNumbersRequest(ListPhoneNumbersRequest other)

Parameters

other ListPhoneNumbersRequest

Fields

LimitFieldNumber

Field number for the "limit" field.

public const int LimitFieldNumber = 1

Field Value

int

PageTokenFieldNumber

Field number for the "page_token" field.

public const int PageTokenFieldNumber = 3

Field Value

int

SipDispatchRuleIdFieldNumber

Field number for the "sip_dispatch_rule_id" field.

public const int SipDispatchRuleIdFieldNumber = 4

Field Value

int

StatusesFieldNumber

Field number for the "statuses" field.

public const int StatusesFieldNumber = 2

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

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

Parser

public static MessageParser<ListPhoneNumbersRequest> Parser { get; }

Property Value

MessageParser<ListPhoneNumbersRequest>

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

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Returns

int

The number of bytes required to write this message to a coded output stream.

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()

Clone()

Creates a deep clone of this object.

public ListPhoneNumbersRequest Clone()

Returns

ListPhoneNumbersRequest

A deep clone of this object.

Equals(ListPhoneNumbersRequest)

public bool Equals(ListPhoneNumbersRequest other)

Parameters

other ListPhoneNumbersRequest

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

MergeFrom(ListPhoneNumbersRequest)

Merges the given message into this one.

public void MergeFrom(ListPhoneNumbersRequest other)

Parameters

other ListPhoneNumbersRequest

Remarks

See the user guide for precise merge semantics.

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.