Class MicrosoftGraphFile
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphFile
file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: file.hashes()Get the hashes property: hashes.mimeType()Get the mimeType property: The MIME type for the file.Get the processingMetadata property: The processingMetadata property.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: file.withHashes(MicrosoftGraphHashes hashes) Set the hashes property: hashes.withMimeType(String mimeType) Set the mimeType property: The MIME type for the file.withProcessingMetadata(Boolean processingMetadata) Set the processingMetadata property: The processingMetadata property.
-
Constructor Details
-
MicrosoftGraphFile
public MicrosoftGraphFile()Creates an instance of MicrosoftGraphFile class.
-
-
Method Details
-
hashes
Get the hashes property: hashes.- Returns:
- the hashes value.
-
withHashes
Set the hashes property: hashes.- Parameters:
hashes- the hashes value to set.- Returns:
- the MicrosoftGraphFile object itself.
-
mimeType
Get the mimeType property: 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.- Returns:
- the mimeType value.
-
withMimeType
Set the mimeType property: 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.- Parameters:
mimeType- the mimeType value to set.- Returns:
- the MicrosoftGraphFile object itself.
-
processingMetadata
Get the processingMetadata property: The processingMetadata property.- Returns:
- the processingMetadata value.
-
withProcessingMetadata
Set the processingMetadata property: The processingMetadata property.- Parameters:
processingMetadata- the processingMetadata value to set.- Returns:
- the MicrosoftGraphFile object itself.
-
additionalProperties
Get the additionalProperties property: file.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: file.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphFile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-