Class UpdatePhoneNumberRequest
- Namespace
- Livekit.Server.Sdk.Dotnet
- Assembly
- LivekitApi.dll
UpdatePhoneNumberRequest - Request to update a phone number
public sealed class UpdatePhoneNumberRequest : IMessage<UpdatePhoneNumberRequest>, IEquatable<UpdatePhoneNumberRequest>, IDeepCloneable<UpdatePhoneNumberRequest>, IBufferMessage, IMessage
- Inheritance
-
UpdatePhoneNumberRequest
- Implements
-
IBufferMessage
- Inherited Members
Constructors
UpdatePhoneNumberRequest()
public UpdatePhoneNumberRequest()
UpdatePhoneNumberRequest(UpdatePhoneNumberRequest)
public UpdatePhoneNumberRequest(UpdatePhoneNumberRequest other)
Parameters
otherUpdatePhoneNumberRequest
Properties
HasId
Gets whether the "id" field is set
public bool HasId { get; }
Property Value
HasName
Gets whether the "name" field is set
public bool HasName { get; }
Property Value
HasPhoneNumber
Gets whether the "phone_number" field is set
public bool HasPhoneNumber { get; }
Property Value
HasSipDispatchRuleId
Gets whether the "sip_dispatch_rule_id" field is set
public bool HasSipDispatchRuleId { get; }
Property Value
Id
Use phone number ID for direct lookup
public string Id { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
PhoneNumber
Use phone number string for lookup
public string PhoneNumber { get; set; }
Property Value
SipDispatchRuleId
SIP dispatch rule ID to assign to the phone number
public string SipDispatchRuleId { get; set; }
Property Value
Methods
ClearId()
Clears the value of the "id" field
public void ClearId()
ClearName()
Clears the value of the "name" field
public void ClearName()
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()