Class PrintDocument

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

public class PrintDocument extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Print Document.
  • Field Details

    • contentType

      @SerializedName(value="contentType", alternate="ContentType") @Expose @Nullable public String contentType
      The Content Type. The document's content (MIME) type. Read-only.
    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. The document's name. Read-only.
    • size

      @SerializedName(value="size", alternate="Size") @Expose @Nullable public Long size
      The Size. The document's size in bytes. Read-only.
  • Constructor Details

    • PrintDocument

      public PrintDocument()
  • Method Details

    • 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
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to