Class MicrosoftGraphHashes
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphHashes
hashes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: hashes.Get the crc32Hash property: The CRC32 value of the file in little endian (if available).Get the quickXorHash property: A proprietary hash of the file that can be used to determine if the contents of the file have changed (if available).sha1Hash()Get the sha1Hash property: SHA1 hash for the contents of the file (if available).Get the sha256Hash property: SHA256 hash for the contents of the file (if available).voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: hashes.withCrc32Hash(String crc32Hash) Set the crc32Hash property: The CRC32 value of the file in little endian (if available).withQuickXorHash(String quickXorHash) Set the quickXorHash property: A proprietary hash of the file that can be used to determine if the contents of the file have changed (if available).withSha1Hash(String sha1Hash) Set the sha1Hash property: SHA1 hash for the contents of the file (if available).withSha256Hash(String sha256Hash) Set the sha256Hash property: SHA256 hash for the contents of the file (if available).
-
Constructor Details
-
MicrosoftGraphHashes
public MicrosoftGraphHashes()Creates an instance of MicrosoftGraphHashes class.
-
-
Method Details
-
crc32Hash
Get the crc32Hash property: The CRC32 value of the file in little endian (if available). Read-only.- Returns:
- the crc32Hash value.
-
withCrc32Hash
Set the crc32Hash property: The CRC32 value of the file in little endian (if available). Read-only.- Parameters:
crc32Hash- the crc32Hash value to set.- Returns:
- the MicrosoftGraphHashes object itself.
-
quickXorHash
Get the quickXorHash property: A proprietary hash of the file that can be used to determine if the contents of the file have changed (if available). Read-only.- Returns:
- the quickXorHash value.
-
withQuickXorHash
Set the quickXorHash property: A proprietary hash of the file that can be used to determine if the contents of the file have changed (if available). Read-only.- Parameters:
quickXorHash- the quickXorHash value to set.- Returns:
- the MicrosoftGraphHashes object itself.
-
sha1Hash
Get the sha1Hash property: SHA1 hash for the contents of the file (if available). Read-only.- Returns:
- the sha1Hash value.
-
withSha1Hash
Set the sha1Hash property: SHA1 hash for the contents of the file (if available). Read-only.- Parameters:
sha1Hash- the sha1Hash value to set.- Returns:
- the MicrosoftGraphHashes object itself.
-
sha256Hash
Get the sha256Hash property: SHA256 hash for the contents of the file (if available). Read-only.- Returns:
- the sha256Hash value.
-
withSha256Hash
Set the sha256Hash property: SHA256 hash for the contents of the file (if available). Read-only.- Parameters:
sha256Hash- the sha256Hash value to set.- Returns:
- the MicrosoftGraphHashes object itself.
-
additionalProperties
Get the additionalProperties property: hashes.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: hashes.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphHashes object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-