Class Package

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

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

    • oDataType

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

      @SerializedName(value="type", alternate="Type") @Expose @Nullable public String type
      The Type. A string indicating the type of package. While oneNote is the only currently defined value, you should expect other package types to be returned and handle them accordingly.
  • Constructor Details

    • Package

      public Package()
  • 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