你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphFileSystemInfo Class

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

Implements

public final class MicrosoftGraphFileSystemInfo
implements JsonSerializable<MicrosoftGraphFileSystemInfo>

fileSystemInfo.

Constructor Summary

Constructor Description
MicrosoftGraphFileSystemInfo()

Creates an instance of MicrosoftGraphFileSystemInfo class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: fileSystemInfo.

OffsetDateTime createdDateTime()

Get the createdDateTime property: The UTC date and time the file was created on a client.

static MicrosoftGraphFileSystemInfo fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphFileSystemInfo from the JsonReader.

OffsetDateTime lastAccessedDateTime()

Get the lastAccessedDateTime property: The UTC date and time the file was last accessed.

OffsetDateTime lastModifiedDateTime()

Get the lastModifiedDateTime property: The UTC date and time the file was last modified on a client.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphFileSystemInfo withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: fileSystemInfo.

MicrosoftGraphFileSystemInfo withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: The UTC date and time the file was created on a client.

MicrosoftGraphFileSystemInfo withLastAccessedDateTime(OffsetDateTime lastAccessedDateTime)

Set the lastAccessedDateTime property: The UTC date and time the file was last accessed.

MicrosoftGraphFileSystemInfo withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Set the lastModifiedDateTime property: The UTC date and time the file was last modified on a client.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphFileSystemInfo

public MicrosoftGraphFileSystemInfo()

Creates an instance of MicrosoftGraphFileSystemInfo class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: fileSystemInfo.

Returns:

the additionalProperties value.

createdDateTime

public OffsetDateTime createdDateTime()

Get the createdDateTime property: The UTC date and time the file was created on a client.

Returns:

the createdDateTime value.

fromJson

public static MicrosoftGraphFileSystemInfo fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphFileSystemInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphFileSystemInfo if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphFileSystemInfo.

lastAccessedDateTime

public OffsetDateTime lastAccessedDateTime()

Get the lastAccessedDateTime property: The UTC date and time the file was last accessed. Available for the recent file list only.

Returns:

the lastAccessedDateTime value.

lastModifiedDateTime

public OffsetDateTime lastModifiedDateTime()

Get the lastModifiedDateTime property: The UTC date and time the file was last modified on a client.

Returns:

the lastModifiedDateTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphFileSystemInfo withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: fileSystemInfo.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphFileSystemInfo object itself.

withCreatedDateTime

public MicrosoftGraphFileSystemInfo withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: The UTC date and time the file was created on a client.

Parameters:

createdDateTime - the createdDateTime value to set.

Returns:

the MicrosoftGraphFileSystemInfo object itself.

withLastAccessedDateTime

public MicrosoftGraphFileSystemInfo withLastAccessedDateTime(OffsetDateTime lastAccessedDateTime)

Set the lastAccessedDateTime property: The UTC date and time the file was last accessed. Available for the recent file list only.

Parameters:

lastAccessedDateTime - the lastAccessedDateTime value to set.

Returns:

the MicrosoftGraphFileSystemInfo object itself.

withLastModifiedDateTime

public MicrosoftGraphFileSystemInfo withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Set the lastModifiedDateTime property: The UTC date and time the file was last modified on a client.

Parameters:

lastModifiedDateTime - the lastModifiedDateTime value to set.

Returns:

the MicrosoftGraphFileSystemInfo object itself.

Applies to