Class File

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

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

    • oDataType

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

      @SerializedName(value="hashes", alternate="Hashes") @Expose @Nullable public Hashes hashes
      The Hashes. Hashes of the file's binary content, if available. Read-only.
    • mimeType

      @SerializedName(value="mimeType", alternate="MimeType") @Expose @Nullable public String mimeType
      The Mime Type. The MIME type for the file. This is determined by logic on the server and might not be the value provided when the file was uploaded. Read-only.
    • processingMetadata

      @SerializedName(value="processingMetadata", alternate="ProcessingMetadata") @Expose @Nullable public Boolean processingMetadata
      The Processing Metadata.
  • Constructor Details

    • File

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