Table of Contents

Class ListSIPOutboundTrunkRequest

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

ListSIPOutboundTrunkRequest lists outbound trunks for given filters. If no filters are set, all trunks are listed.

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

Constructors

ListSIPOutboundTrunkRequest()

public ListSIPOutboundTrunkRequest()

ListSIPOutboundTrunkRequest(ListSIPOutboundTrunkRequest)

public ListSIPOutboundTrunkRequest(ListSIPOutboundTrunkRequest other)

Parameters

other ListSIPOutboundTrunkRequest

Fields

NumbersFieldNumber

Field number for the "numbers" field.

public const int NumbersFieldNumber = 2

Field Value

int

PageFieldNumber

Field number for the "page" field.

public const int PageFieldNumber = 3

Field Value

int

TrunkIdsFieldNumber

Field number for the "trunk_ids" field.

public const int TrunkIdsFieldNumber = 1

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Numbers

Only list trunks that contain one of the numbers, including wildcard trunks.

public RepeatedField<string> Numbers { get; }

Property Value

RepeatedField<string>

Page

public Pagination Page { get; set; }

Property Value

Pagination

Parser

public static MessageParser<ListSIPOutboundTrunkRequest> Parser { get; }

Property Value

MessageParser<ListSIPOutboundTrunkRequest>

TrunkIds

Trunk IDs to list. If this option is set, the response will contains trunks in the same order. If any of the trunks is missing, a nil item in that position will be sent in the response.

public RepeatedField<string> TrunkIds { get; }

Property Value

RepeatedField<string>

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.

Clone()

Creates a deep clone of this object.

public ListSIPOutboundTrunkRequest Clone()

Returns

ListSIPOutboundTrunkRequest

A deep clone of this object.

Equals(ListSIPOutboundTrunkRequest)

public bool Equals(ListSIPOutboundTrunkRequest other)

Parameters

other ListSIPOutboundTrunkRequest

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

Merges the given message into this one.

public void MergeFrom(ListSIPOutboundTrunkRequest other)

Parameters

other ListSIPOutboundTrunkRequest

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.