Table of Contents

Class UpdatePhoneNumberRequest

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

UpdatePhoneNumberRequest - Request to update a phone number

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

Constructors

UpdatePhoneNumberRequest()

public UpdatePhoneNumberRequest()

UpdatePhoneNumberRequest(UpdatePhoneNumberRequest)

public UpdatePhoneNumberRequest(UpdatePhoneNumberRequest other)

Parameters

other UpdatePhoneNumberRequest

Fields

IdFieldNumber

Field number for the "id" field.

public const int IdFieldNumber = 1

Field Value

int

PhoneNumberFieldNumber

Field number for the "phone_number" field.

public const int PhoneNumberFieldNumber = 2

Field Value

int

SipDispatchRuleIdFieldNumber

Field number for the "sip_dispatch_rule_id" field.

public const int SipDispatchRuleIdFieldNumber = 3

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasId

Gets whether the "id" field is set

public bool HasId { get; }

Property Value

bool

HasPhoneNumber

Gets whether the "phone_number" field is set

public bool HasPhoneNumber { get; }

Property Value

bool

HasSipDispatchRuleId

Gets whether the "sip_dispatch_rule_id" field is set

public bool HasSipDispatchRuleId { get; }

Property Value

bool

Id

Use phone number ID for direct lookup

public string Id { get; set; }

Property Value

string

Parser

public static MessageParser<UpdatePhoneNumberRequest> Parser { get; }

Property Value

MessageParser<UpdatePhoneNumberRequest>

PhoneNumber

Use phone number string for lookup

public string PhoneNumber { get; set; }

Property Value

string

SipDispatchRuleId

SIP dispatch rule ID to assign to the phone number

public string SipDispatchRuleId { get; set; }

Property Value

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.

ClearId()

Clears the value of the "id" field

public void ClearId()

ClearPhoneNumber()

Clears the value of the "phone_number" field

public void ClearPhoneNumber()

ClearSipDispatchRuleId()

Clears the value of the "sip_dispatch_rule_id" field

public void ClearSipDispatchRuleId()

Clone()

Creates a deep clone of this object.

public UpdatePhoneNumberRequest Clone()

Returns

UpdatePhoneNumberRequest

A deep clone of this object.

Equals(UpdatePhoneNumberRequest)

public bool Equals(UpdatePhoneNumberRequest other)

Parameters

other UpdatePhoneNumberRequest

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

Merges the given message into this one.

public void MergeFrom(UpdatePhoneNumberRequest other)

Parameters

other UpdatePhoneNumberRequest

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.