Table of Contents

Class ListSIPDispatchRuleRequest

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

ListSIPDispatchRuleRequest lists dispatch rules for given filters. If no filters are set, all rules are listed.

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

Constructors

ListSIPDispatchRuleRequest()

public ListSIPDispatchRuleRequest()

ListSIPDispatchRuleRequest(ListSIPDispatchRuleRequest)

public ListSIPDispatchRuleRequest(ListSIPDispatchRuleRequest other)

Parameters

other ListSIPDispatchRuleRequest

Fields

DispatchRuleIdsFieldNumber

Field number for the "dispatch_rule_ids" field.

public const int DispatchRuleIdsFieldNumber = 1

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 = 2

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

DispatchRuleIds

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

public RepeatedField<string> DispatchRuleIds { get; }

Property Value

RepeatedField<string>

Page

public Pagination Page { get; set; }

Property Value

Pagination

Parser

public static MessageParser<ListSIPDispatchRuleRequest> Parser { get; }

Property Value

MessageParser<ListSIPDispatchRuleRequest>

TrunkIds

Only list rules that contain one of the Trunk IDs, including wildcard rules.

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

Returns

ListSIPDispatchRuleRequest

A deep clone of this object.

Equals(ListSIPDispatchRuleRequest)

public bool Equals(ListSIPDispatchRuleRequest other)

Parameters

other ListSIPDispatchRuleRequest

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

Merges the given message into this one.

public void MergeFrom(ListSIPDispatchRuleRequest other)

Parameters

other ListSIPDispatchRuleRequest

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.