Class MicrosoftGraphFile
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphFile
-
public final class MicrosoftGraphFile extends Object
file.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: file.MicrosoftGraphHashes
hashes()
Get the hashes property: hashes.String
mimeType()
Get the mimeType property: The MIME type for the file.Boolean
processingMetadata()
Get the processingMetadata property: The processingMetadata property.void
validate()
Validates the instance.MicrosoftGraphFile
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: file.MicrosoftGraphFile
withHashes(MicrosoftGraphHashes hashes)
Set the hashes property: hashes.MicrosoftGraphFile
withMimeType(String mimeType)
Set the mimeType property: The MIME type for the file.MicrosoftGraphFile
withProcessingMetadata(Boolean processingMetadata)
Set the processingMetadata property: The processingMetadata property.
-
-
-
Method Detail
-
hashes
public MicrosoftGraphHashes hashes()
Get the hashes property: hashes.- Returns:
- the hashes value.
-
withHashes
public MicrosoftGraphFile withHashes(MicrosoftGraphHashes hashes)
Set the hashes property: hashes.- Parameters:
hashes
- the hashes value to set.- Returns:
- the MicrosoftGraphFile object itself.
-
mimeType
public String 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
public MicrosoftGraphFile withMimeType(String mimeType)
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
public Boolean processingMetadata()
Get the processingMetadata property: The processingMetadata property.- Returns:
- the processingMetadata value.
-
withProcessingMetadata
public MicrosoftGraphFile withProcessingMetadata(Boolean processingMetadata)
Set the processingMetadata property: The processingMetadata property.- Parameters:
processingMetadata
- the processingMetadata value to set.- Returns:
- the MicrosoftGraphFile object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: file.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphFile withAdditionalProperties(Map<String,Object> additionalProperties)
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.
-
-