Enum Class Tone

java.lang.Object
java.lang.Enum<Tone>
com.microsoft.graph.models.Tone
All Implemented Interfaces:
com.microsoft.kiota.serialization.ValuedEnum, Serializable, Comparable<Tone>, Constable

@Generated("com.microsoft.kiota") public enum Tone extends Enum<Tone> implements com.microsoft.kiota.serialization.ValuedEnum
  • Enum Constant Details

    • Tone0

      public static final Tone Tone0
    • Tone1

      public static final Tone Tone1
    • Tone2

      public static final Tone Tone2
    • Tone3

      public static final Tone Tone3
    • Tone4

      public static final Tone Tone4
    • Tone5

      public static final Tone Tone5
    • Tone6

      public static final Tone Tone6
    • Tone7

      public static final Tone Tone7
    • Tone8

      public static final Tone Tone8
    • Tone9

      public static final Tone Tone9
    • Star

      public static final Tone Star
    • Pound

      public static final Tone Pound
    • A

      public static final Tone A
    • B

      public static final Tone B
    • C

      public static final Tone C
    • D

      public static final Tone D
    • Flash

      public static final Tone Flash
  • Field Details

    • value

      public final String value
  • Method Details

    • values

      public static Tone[] 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 Tone 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
    • getValue

      @Nonnull public String getValue()
      Specified by:
      getValue in interface com.microsoft.kiota.serialization.ValuedEnum
    • forValue

      @Nullable public static Tone forValue(@Nonnull String searchValue)