Class FileHash

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

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

    • oDataType

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

      @SerializedName(value="algorithm", alternate="Algorithm") @Expose @Nullable public FileHashAlgorithm algorithm
      The Algorithm. The hash algorithm type. Possible values are: unknown, md5, sha1, sha256, sha256ac, unknownFutureValue.
    • value

      @SerializedName(value="value", alternate="Value") @Expose @Nullable public String value
      The Value. The hash value.
  • Constructor Details

    • FileHash

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