Class ReferenceRequestBody

java.lang.Object
com.microsoft.graph.http.ReferenceRequestBody
All Implemented Interfaces:
IJsonBackedObject

public class ReferenceRequestBody extends Object implements IJsonBackedObject
Represents the body to use with an OData method
  • Field Details

    • odataId

      @SerializedName("@odata.id") @Expose @Nonnull public String odataId
      the odata id
  • Constructor Details

    • ReferenceRequestBody

      public ReferenceRequestBody(@Nonnull String payload)
      Instanciates a new reference request body from the serialized payload
      Parameters:
      payload - payload to instanciate the body from
  • Method Details

    • setRawObject

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

      @Nonnull public final AdditionalDataManager additionalDataManager()
      Description copied from interface: IJsonBackedObject
      Provides access to objects not anticipated in the model, as well as request and response data from the HTTP call
      Specified by:
      additionalDataManager in interface IJsonBackedObject
      Returns:
      the AddtionalDataManager