PhoneNumberCapabilities Class

  • java.lang.Object
    • com.azure.communication.phonenumbers.models.PhoneNumberCapabilities

public final class PhoneNumberCapabilities

The PhoneNumberCapabilities model.

Constructor Summary

Constructor Description
PhoneNumberCapabilities()

Method Summary

Modifier and Type Method and Description
PhoneNumberCapabilityType getCalling()

Get the calling property: Capability value for calling.

PhoneNumberCapabilityType getSms()

Get the sms property: Capability value for SMS.

PhoneNumberCapabilities setCalling(PhoneNumberCapabilityType calling)

Set the calling property: Capability value for calling.

PhoneNumberCapabilities setSms(PhoneNumberCapabilityType sms)

Set the sms property: Capability value for SMS.

Methods inherited from java.lang.Object

Constructor Details

PhoneNumberCapabilities

public PhoneNumberCapabilities()

Method Details

getCalling

public PhoneNumberCapabilityType getCalling()

Get the calling property: Capability value for calling.

Returns:

the calling value.

getSms

public PhoneNumberCapabilityType getSms()

Get the sms property: Capability value for SMS.

Returns:

the sms value.

setCalling

public PhoneNumberCapabilities setCalling(PhoneNumberCapabilityType calling)

Set the calling property: Capability value for calling.

Parameters:

calling - the calling value to set.

Returns:

the PhoneNumberCapabilities object itself.

setSms

public PhoneNumberCapabilities setSms(PhoneNumberCapabilityType sms)

Set the sms property: Capability value for SMS.

Parameters:

sms - the sms value to set.

Returns:

the PhoneNumberCapabilities object itself.

Applies to