Interface IJsonBackedObject

All Known Subinterfaces:
ICollectionResponse<T>
All Known Implementing Classes:
BaseCollectionPage, BaseCollectionResponse, DeltaCollectionPage, GraphErrorResponse, ReferenceRequestBody

public interface IJsonBackedObject
An object that was parsed from JSON
  • Method Summary

    Modifier and Type
    Method
    Description
    Provides access to objects not anticipated in the model, as well as request and response data from the HTTP call
    void
    setRawObject​(ISerializer serializer, com.google.gson.JsonObject json)
    Sets the raw JSON object this object was parsed from
  • Method Details

    • setRawObject

      void setRawObject(@Nonnull ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object this object was parsed from
      Parameters:
      serializer - the serializer for sub class deserialization
      json - the JSON that this object was derived from
    • additionalDataManager

      @Nullable AdditionalDataManager additionalDataManager()
      Provides access to objects not anticipated in the model, as well as request and response data from the HTTP call
      Returns:
      the AddtionalDataManager