Class KeyValue

java.lang.Object
com.microsoft.graph.models.KeyValue
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class KeyValue extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Key Value.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • key

      @SerializedName(value="key", alternate="Key") @Expose @Nullable public String key
      The Key. Contains the name of the field that a value is associated with. When a sign in or domain hint is included in the sign-in request, corresponding fields are included as key-value pairs. Possible keys: Login hint present, Domain hint present.
    • value

      @SerializedName(value="value", alternate="Value") @Expose @Nullable public String value
      The Value. Contains the corresponding value for the specified key. The value is true if a sign in hint was included in the sign-in request; otherwise false. The value is true if a domain hint was included in the sign-in request; otherwise false.
  • Constructor Details

    • KeyValue

      public KeyValue()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObject
    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to