Class Option

java.lang.Object
com.microsoft.graph.options.Option
Direct Known Subclasses:
FunctionOption, HeaderOption, QueryOption

public class Option extends Object
An option that is settable for a request
  • Constructor Details

    • Option

      protected Option(@Nonnull String name, @Nullable Object value)
      Creates an option object
      Parameters:
      name - the name of the option
      value - the value of the option
  • Method Details

    • getName

      @Nonnull public String getName()
      Gets the name of the option
      Returns:
      the name of the option
    • getValue

      @Nullable public Object getValue()
      Gets the value of the option
      Returns:
      the value of the option