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

MicrosoftGraphRemoteItem Class

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

Implements

public final class MicrosoftGraphRemoteItem
implements JsonSerializable<MicrosoftGraphRemoteItem>

remoteItem.

Constructor Summary

Constructor Description
MicrosoftGraphRemoteItem()

Creates an instance of MicrosoftGraphRemoteItem class.

Method Summary

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

Get the additionalProperties property: remoteItem.

MicrosoftGraphIdentitySet createdBy()

Get the createdBy property: identitySet.

OffsetDateTime createdDateTime()

Get the createdDateTime property: Date and time of item creation.

MicrosoftGraphFile file()

Get the file property: file.

MicrosoftGraphFileSystemInfo fileSystemInfo()

Get the fileSystemInfo property: fileSystemInfo.

MicrosoftGraphFolder folder()

Get the folder property: folder.

static MicrosoftGraphRemoteItem fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphRemoteItem from the JsonReader.

String id()

Get the id property: Unique identifier for the remote item in its drive.

MicrosoftGraphImage image()

Get the image property: image.

MicrosoftGraphIdentitySet lastModifiedBy()

Get the lastModifiedBy property: identitySet.

OffsetDateTime lastModifiedDateTime()

Get the lastModifiedDateTime property: Date and time the item was last modified.

String name()

Get the name property: Optional.

MicrosoftGraphPackage packageProperty()

Get the packageProperty property: package.

MicrosoftGraphItemReference parentReference()

Get the parentReference property: itemReference.

MicrosoftGraphShared shared()

Get the shared property: shared.

MicrosoftGraphSharepointIds sharepointIds()

Get the sharepointIds property: sharepointIds.

Long size()

Get the size property: Size of the remote item.

MicrosoftGraphSpecialFolder specialFolder()

Get the specialFolder property: specialFolder.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphVideo video()

Get the video property: video.

String webDavUrl()

Get the webDavUrl property: DAV compatible URL for the item.

String webUrl()

Get the webUrl property: URL that displays the resource in the browser.

MicrosoftGraphRemoteItem withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: remoteItem.

MicrosoftGraphRemoteItem withCreatedBy(MicrosoftGraphIdentitySet createdBy)

Set the createdBy property: identitySet.

MicrosoftGraphRemoteItem withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: Date and time of item creation.

MicrosoftGraphRemoteItem withFile(MicrosoftGraphFile file)

Set the file property: file.

MicrosoftGraphRemoteItem withFileSystemInfo(MicrosoftGraphFileSystemInfo fileSystemInfo)

Set the fileSystemInfo property: fileSystemInfo.

MicrosoftGraphRemoteItem withFolder(MicrosoftGraphFolder folder)

Set the folder property: folder.

MicrosoftGraphRemoteItem withId(String id)

Set the id property: Unique identifier for the remote item in its drive.

MicrosoftGraphRemoteItem withImage(MicrosoftGraphImage image)

Set the image property: image.

MicrosoftGraphRemoteItem withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

MicrosoftGraphRemoteItem withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Set the lastModifiedDateTime property: Date and time the item was last modified.

MicrosoftGraphRemoteItem withName(String name)

Set the name property: Optional.

MicrosoftGraphRemoteItem withPackageProperty(MicrosoftGraphPackage packageProperty)

Set the packageProperty property: package.

MicrosoftGraphRemoteItem withParentReference(MicrosoftGraphItemReference parentReference)

Set the parentReference property: itemReference.

MicrosoftGraphRemoteItem withShared(MicrosoftGraphShared shared)

Set the shared property: shared.

MicrosoftGraphRemoteItem withSharepointIds(MicrosoftGraphSharepointIds sharepointIds)

Set the sharepointIds property: sharepointIds.

MicrosoftGraphRemoteItem withSize(Long size)

Set the size property: Size of the remote item.

MicrosoftGraphRemoteItem withSpecialFolder(MicrosoftGraphSpecialFolder specialFolder)

Set the specialFolder property: specialFolder.

MicrosoftGraphRemoteItem withVideo(MicrosoftGraphVideo video)

Set the video property: video.

MicrosoftGraphRemoteItem withWebDavUrl(String webDavUrl)

Set the webDavUrl property: DAV compatible URL for the item.

MicrosoftGraphRemoteItem withWebUrl(String webUrl)

Set the webUrl property: URL that displays the resource in the browser.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphRemoteItem

public MicrosoftGraphRemoteItem()

Creates an instance of MicrosoftGraphRemoteItem class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: remoteItem.

Returns:

the additionalProperties value.

createdBy

public MicrosoftGraphIdentitySet createdBy()

Get the createdBy property: identitySet.

Returns:

the createdBy value.

createdDateTime

public OffsetDateTime createdDateTime()

Get the createdDateTime property: Date and time of item creation. Read-only.

Returns:

the createdDateTime value.

file

public MicrosoftGraphFile file()

Get the file property: file.

Returns:

the file value.

fileSystemInfo

public MicrosoftGraphFileSystemInfo fileSystemInfo()

Get the fileSystemInfo property: fileSystemInfo.

Returns:

the fileSystemInfo value.

folder

public MicrosoftGraphFolder folder()

Get the folder property: folder.

Returns:

the folder value.

fromJson

public static MicrosoftGraphRemoteItem fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphRemoteItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphRemoteItem 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 MicrosoftGraphRemoteItem.

id

public String id()

Get the id property: Unique identifier for the remote item in its drive. Read-only.

Returns:

the id value.

image

public MicrosoftGraphImage image()

Get the image property: image.

Returns:

the image value.

lastModifiedBy

public MicrosoftGraphIdentitySet lastModifiedBy()

Get the lastModifiedBy property: identitySet.

Returns:

the lastModifiedBy value.

lastModifiedDateTime

public OffsetDateTime lastModifiedDateTime()

Get the lastModifiedDateTime property: Date and time the item was last modified. Read-only.

Returns:

the lastModifiedDateTime value.

name

public String name()

Get the name property: Optional. Filename of the remote item. Read-only.

Returns:

the name value.

packageProperty

public MicrosoftGraphPackage packageProperty()

Get the packageProperty property: package.

Returns:

the packageProperty value.

parentReference

public MicrosoftGraphItemReference parentReference()

Get the parentReference property: itemReference.

Returns:

the parentReference value.

shared

public MicrosoftGraphShared shared()

Get the shared property: shared.

Returns:

the shared value.

sharepointIds

public MicrosoftGraphSharepointIds sharepointIds()

Get the sharepointIds property: sharepointIds.

Returns:

the sharepointIds value.

size

public Long size()

Get the size property: Size of the remote item. Read-only.

Returns:

the size value.

specialFolder

public MicrosoftGraphSpecialFolder specialFolder()

Get the specialFolder property: specialFolder.

Returns:

the specialFolder value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

video

public MicrosoftGraphVideo video()

Get the video property: video.

Returns:

the video value.

webDavUrl

public String webDavUrl()

Get the webDavUrl property: DAV compatible URL for the item.

Returns:

the webDavUrl value.

webUrl

public String webUrl()

Get the webUrl property: URL that displays the resource in the browser. Read-only.

Returns:

the webUrl value.

withAdditionalProperties

public MicrosoftGraphRemoteItem withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: remoteItem.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphRemoteItem object itself.

withCreatedBy

public MicrosoftGraphRemoteItem withCreatedBy(MicrosoftGraphIdentitySet createdBy)

Set the createdBy property: identitySet.

Parameters:

createdBy - the createdBy value to set.

Returns:

the MicrosoftGraphRemoteItem object itself.

withCreatedDateTime

public MicrosoftGraphRemoteItem withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: Date and time of item creation. Read-only.

Parameters:

createdDateTime - the createdDateTime value to set.

Returns:

the MicrosoftGraphRemoteItem object itself.

withFile

public MicrosoftGraphRemoteItem withFile(MicrosoftGraphFile file)

Set the file property: file.

Parameters:

file - the file value to set.

Returns:

the MicrosoftGraphRemoteItem object itself.

withFileSystemInfo

public MicrosoftGraphRemoteItem withFileSystemInfo(MicrosoftGraphFileSystemInfo fileSystemInfo)

Set the fileSystemInfo property: fileSystemInfo.

Parameters:

fileSystemInfo - the fileSystemInfo value to set.

Returns:

the MicrosoftGraphRemoteItem object itself.

withFolder

public MicrosoftGraphRemoteItem withFolder(MicrosoftGraphFolder folder)

Set the folder property: folder.

Parameters:

folder - the folder value to set.

Returns:

the MicrosoftGraphRemoteItem object itself.

withId

public MicrosoftGraphRemoteItem withId(String id)

Set the id property: Unique identifier for the remote item in its drive. Read-only.

Parameters:

id - the id value to set.

Returns:

the MicrosoftGraphRemoteItem object itself.

withImage

public MicrosoftGraphRemoteItem withImage(MicrosoftGraphImage image)

Set the image property: image.

Parameters:

image - the image value to set.

Returns:

the MicrosoftGraphRemoteItem object itself.

withLastModifiedBy

public MicrosoftGraphRemoteItem withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

Parameters:

lastModifiedBy - the lastModifiedBy value to set.

Returns:

the MicrosoftGraphRemoteItem object itself.

withLastModifiedDateTime

public MicrosoftGraphRemoteItem withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Set the lastModifiedDateTime property: Date and time the item was last modified. Read-only.

Parameters:

lastModifiedDateTime - the lastModifiedDateTime value to set.

Returns:

the MicrosoftGraphRemoteItem object itself.

withName

public MicrosoftGraphRemoteItem withName(String name)

Set the name property: Optional. Filename of the remote item. Read-only.

Parameters:

name - the name value to set.

Returns:

the MicrosoftGraphRemoteItem object itself.

withPackageProperty

public MicrosoftGraphRemoteItem withPackageProperty(MicrosoftGraphPackage packageProperty)

Set the packageProperty property: package.

Parameters:

packageProperty - the packageProperty value to set.

Returns:

the MicrosoftGraphRemoteItem object itself.

withParentReference

public MicrosoftGraphRemoteItem withParentReference(MicrosoftGraphItemReference parentReference)

Set the parentReference property: itemReference.

Parameters:

parentReference - the parentReference value to set.

Returns:

the MicrosoftGraphRemoteItem object itself.

withShared

public MicrosoftGraphRemoteItem withShared(MicrosoftGraphShared shared)

Set the shared property: shared.

Parameters:

shared - the shared value to set.

Returns:

the MicrosoftGraphRemoteItem object itself.

withSharepointIds

public MicrosoftGraphRemoteItem withSharepointIds(MicrosoftGraphSharepointIds sharepointIds)

Set the sharepointIds property: sharepointIds.

Parameters:

sharepointIds - the sharepointIds value to set.

Returns:

the MicrosoftGraphRemoteItem object itself.

withSize

public MicrosoftGraphRemoteItem withSize(Long size)

Set the size property: Size of the remote item. Read-only.

Parameters:

size - the size value to set.

Returns:

the MicrosoftGraphRemoteItem object itself.

withSpecialFolder

public MicrosoftGraphRemoteItem withSpecialFolder(MicrosoftGraphSpecialFolder specialFolder)

Set the specialFolder property: specialFolder.

Parameters:

specialFolder - the specialFolder value to set.

Returns:

the MicrosoftGraphRemoteItem object itself.

withVideo

public MicrosoftGraphRemoteItem withVideo(MicrosoftGraphVideo video)

Set the video property: video.

Parameters:

video - the video value to set.

Returns:

the MicrosoftGraphRemoteItem object itself.

withWebDavUrl

public MicrosoftGraphRemoteItem withWebDavUrl(String webDavUrl)

Set the webDavUrl property: DAV compatible URL for the item.

Parameters:

webDavUrl - the webDavUrl value to set.

Returns:

the MicrosoftGraphRemoteItem object itself.

withWebUrl

public MicrosoftGraphRemoteItem withWebUrl(String webUrl)

Set the webUrl property: URL that displays the resource in the browser. Read-only.

Parameters:

webUrl - the webUrl value to set.

Returns:

the MicrosoftGraphRemoteItem object itself.

Applies to