MicrosoftGraphHashes Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphHashes
- com.
Implements
public final class MicrosoftGraphHashes
implements JsonSerializable<MicrosoftGraphHashes>
hashes.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphHashes() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
crc32Hash()
Get the crc32Hash property: The CRC32 value of the file in little endian (if available). |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
String |
quickXorHash()
Get the quick |
String |
sha1Hash()
Get the sha1Hash property: SHA1 hash for the contents of the file (if available). |
String |
sha256Hash()
Get the sha256Hash property: SHA256 hash for the contents of the file (if available). |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withCrc32Hash(String crc32Hash)
Set the crc32Hash property: The CRC32 value of the file in little endian (if available). |
Microsoft |
withQuickXorHash(String quickXorHash)
Set the quick |
Microsoft |
withSha1Hash(String sha1Hash)
Set the sha1Hash property: SHA1 hash for the contents of the file (if available). |
Microsoft |
withSha256Hash(String sha256Hash)
Set the sha256Hash property: SHA256 hash for the contents of the file (if available). |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphHashes
public MicrosoftGraphHashes()
Creates an instance of MicrosoftGraphHashes class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: hashes.
Returns:
crc32Hash
public String crc32Hash()
Get the crc32Hash property: The CRC32 value of the file in little endian (if available). Read-only.
Returns:
fromJson
public static MicrosoftGraphHashes fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphHashes from the JsonReader.
Parameters:
Returns:
Throws:
quickXorHash
public String 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:
sha1Hash
public String sha1Hash()
Get the sha1Hash property: SHA1 hash for the contents of the file (if available). Read-only.
Returns:
sha256Hash
public String sha256Hash()
Get the sha256Hash property: SHA256 hash for the contents of the file (if available). Read-only.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphHashes withAdditionalProperties(Map
Set the additionalProperties property: hashes.
Parameters:
Returns:
withCrc32Hash
public MicrosoftGraphHashes withCrc32Hash(String crc32Hash)
Set the crc32Hash property: The CRC32 value of the file in little endian (if available). Read-only.
Parameters:
Returns:
withQuickXorHash
public MicrosoftGraphHashes 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). Read-only.
Parameters:
Returns:
withSha1Hash
public MicrosoftGraphHashes withSha1Hash(String sha1Hash)
Set the sha1Hash property: SHA1 hash for the contents of the file (if available). Read-only.
Parameters:
Returns:
withSha256Hash
public MicrosoftGraphHashes withSha256Hash(String sha256Hash)
Set the sha256Hash property: SHA256 hash for the contents of the file (if available). Read-only.
Parameters:
Returns:
Applies to
Azure SDK for Java