Class ListSIPDispatchRuleRequest
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
-
IMessage<ListSIPDispatchRuleRequest>IDeepCloneable<ListSIPDispatchRuleRequest>IBufferMessageIMessage
- Inherited Members
Constructors
ListSIPDispatchRuleRequest()
public ListSIPDispatchRuleRequest()
ListSIPDispatchRuleRequest(ListSIPDispatchRuleRequest)
public ListSIPDispatchRuleRequest(ListSIPDispatchRuleRequest other)
Parameters
Fields
DispatchRuleIdsFieldNumber
Field number for the "dispatch_rule_ids" field.
public const int DispatchRuleIdsFieldNumber = 1
Field Value
PageFieldNumber
Field number for the "page" field.
public const int PageFieldNumber = 3
Field Value
TrunkIdsFieldNumber
Field number for the "trunk_ids" field.
public const int TrunkIdsFieldNumber = 2
Field Value
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
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
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(ListSIPDispatchRuleRequest)
Merges the given message into this one.
public void MergeFrom(ListSIPDispatchRuleRequest other)
Parameters
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.