Share via


Option Class

  • java.lang.Object
    • com.microsoft.graph.options.Option

public class Option

An option that is settable for a request

Constructor Summary

Modifier Constructor Description
protected Option(String name, Object value)

Creates an option object

Method Summary

Modifier and Type Method and Description
java.lang.String getName()

Gets the name of the option

java.lang.Object getValue()

Gets the value of the option

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

Option

protected Option(String name, Object value)

Creates an option object

Parameters:

name - the name of the option
value - the value of the option

Method Details

getName

public String getName()

Gets the name of the option

Returns:

the name of the option

getValue

public Object getValue()

Gets the value of the option

Returns:

the value of the option

Applies to