MicrosoftGraphFile Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphFile

public final class MicrosoftGraphFile

file.

Constructor Summary

Constructor Description
MicrosoftGraphFile()

Creates an instance of MicrosoftGraphFile class.

Method Summary

Modifier and Type Method and 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.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphFile

public MicrosoftGraphFile()

Creates an instance of MicrosoftGraphFile class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: file.

Returns:

the additionalProperties value.

hashes

public MicrosoftGraphHashes hashes()

Get the hashes property: hashes.

Returns:

the hashes value.

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.

processingMetadata

public Boolean processingMetadata()

Get the processingMetadata property: The processingMetadata property.

Returns:

the processingMetadata value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphFile withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: file.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphFile object itself.

withHashes

public MicrosoftGraphFile withHashes(MicrosoftGraphHashes hashes)

Set the hashes property: hashes.

Parameters:

hashes - the hashes value to set.

Returns:

the MicrosoftGraphFile object itself.

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.

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.

Applies to