Enum Class PhoneType

java.lang.Object
java.lang.Enum<PhoneType>
com.microsoft.graph.models.PhoneType
All Implemented Interfaces:
Serializable, Comparable<PhoneType>, Constable

public enum PhoneType extends Enum<PhoneType>
The Enum Phone Type.
  • Enum Constant Details

    • HOME

      public static final PhoneType HOME
      home
    • BUSINESS

      public static final PhoneType BUSINESS
      business
    • MOBILE

      public static final PhoneType MOBILE
      mobile
    • OTHER

      public static final PhoneType OTHER
      other
    • ASSISTANT

      public static final PhoneType ASSISTANT
      assistant
    • HOME_FAX

      public static final PhoneType HOME_FAX
      home Fax
    • BUSINESS_FAX

      public static final PhoneType BUSINESS_FAX
      business Fax
    • OTHER_FAX

      public static final PhoneType OTHER_FAX
      other Fax
    • PAGER

      public static final PhoneType PAGER
      pager
    • RADIO

      public static final PhoneType RADIO
      radio
    • UNEXPECTED_VALUE

      public static final PhoneType UNEXPECTED_VALUE
      For PhoneType values that were not expected from the service
  • Method Details

    • values

      public static PhoneType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PhoneType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null