PhoneNumberAssignmentType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. communication. phonenumbers. models. PhoneNumberAssignmentType
- com.
- com.
public final class PhoneNumberAssignmentType
extends ExpandableStringEnum<PhoneNumberAssignmentType>
Represents the assignment type of the offering.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Phone |
APPLICATION
Static value application for Phone |
|
static final
Phone |
PERSON
Static value person for Phone |
Constructor Summary
| Constructor | Description |
|---|---|
| PhoneNumberAssignmentType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Phone |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Phone |
fromString(String name)
Creates or finds a Phone |
|
static
Collection<Phone |
values()
Gets known Phone |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
APPLICATION
public static final PhoneNumberAssignmentType APPLICATION
Static value application for PhoneNumberAssignmentType.
PERSON
public static final PhoneNumberAssignmentType PERSON
Static value person for PhoneNumberAssignmentType.
Constructor Details
PhoneNumberAssignmentType
@Deprecated
public PhoneNumberAssignmentType()
Deprecated
Creates a new instance of PhoneNumberAssignmentType value.
Method Details
fromString
public static PhoneNumberAssignmentType fromString(String name)
Creates or finds a PhoneNumberAssignmentType from its string representation.
Parameters:
Returns:
values
public static Collection<PhoneNumberAssignmentType> values()
Gets known PhoneNumberAssignmentType values.
Returns: