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

MicrosoftGraphList Class

public final class MicrosoftGraphList
extends MicrosoftGraphBaseItemInner

list.

Constructor Summary

Constructor Description
MicrosoftGraphList()

Creates an instance of MicrosoftGraphList class.

Method Summary

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

Get the additionalProperties property: list.

List<MicrosoftGraphColumnDefinition> columns()

Get the columns property: The collection of field definitions for this list.

List<MicrosoftGraphContentType> contentTypes()

Get the contentTypes property: The collection of content types present in this list.

String displayName()

Get the displayName property: The displayable title of the list.

MicrosoftGraphDrive drive()

Get the drive property: drive.

static MicrosoftGraphList fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphList from the JsonReader.

List<MicrosoftGraphListItem> items()

Get the items property: All items contained in the list.

MicrosoftGraphListInfo list()

Get the list property: listInfo.

MicrosoftGraphSharepointIds sharepointIds()

Get the sharepointIds property: sharepointIds.

List<MicrosoftGraphSubscription> subscriptions()

Get the subscriptions property: The set of subscriptions on the list.

Map<String,Object> system()

Get the system property: systemFacet.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphList withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: list.

MicrosoftGraphList withColumns(List<MicrosoftGraphColumnDefinition> columns)

Set the columns property: The collection of field definitions for this list.

MicrosoftGraphList withContentTypes(List<MicrosoftGraphContentType> contentTypes)

Set the contentTypes property: The collection of content types present in this list.

MicrosoftGraphList withCreatedBy(MicrosoftGraphIdentitySet createdBy)

Set the createdBy property: identitySet.

MicrosoftGraphList withCreatedByUser(MicrosoftGraphUserInner createdByUser)

Set the createdByUser property: Represents an Azure Active Directory user object.

MicrosoftGraphList withCreatedDateTime(OffsetDateTime createdDateTime)

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

MicrosoftGraphList withDescription(String description)

Set the description property: Provides a user-visible description of the item.

MicrosoftGraphList withDisplayName(String displayName)

Set the displayName property: The displayable title of the list.

MicrosoftGraphList withDrive(MicrosoftGraphDrive drive)

Set the drive property: drive.

MicrosoftGraphList withEtag(String etag)

Set the etag property: ETag for the item.

MicrosoftGraphList withId(String id)

Set the id property: Read-only.

MicrosoftGraphList withItems(List<MicrosoftGraphListItem> items)

Set the items property: All items contained in the list.

MicrosoftGraphList withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

MicrosoftGraphList withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)

Set the lastModifiedByUser property: Represents an Azure Active Directory user object.

MicrosoftGraphList withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

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

MicrosoftGraphList withList(MicrosoftGraphListInfo list)

Set the list property: listInfo.

MicrosoftGraphList withName(String name)

Set the name property: The name of the item.

MicrosoftGraphList withParentReference(MicrosoftGraphItemReference parentReference)

Set the parentReference property: itemReference.

MicrosoftGraphList withSharepointIds(MicrosoftGraphSharepointIds sharepointIds)

Set the sharepointIds property: sharepointIds.

MicrosoftGraphList withSubscriptions(List<MicrosoftGraphSubscription> subscriptions)

Set the subscriptions property: The set of subscriptions on the list.

MicrosoftGraphList withSystem(Map<String,Object> system)

Set the system property: systemFacet.

MicrosoftGraphList withWebUrl(String webUrl)

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

Methods inherited from MicrosoftGraphBaseItemInner

Methods inherited from MicrosoftGraphEntity

id

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphList

public MicrosoftGraphList()

Creates an instance of MicrosoftGraphList class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: list.

Overrides:

MicrosoftGraphList.additionalProperties()

Returns:

the additionalProperties value.

columns

public List columns()

Get the columns property: The collection of field definitions for this list.

Returns:

the columns value.

contentTypes

public List contentTypes()

Get the contentTypes property: The collection of content types present in this list.

Returns:

the contentTypes value.

displayName

public String displayName()

Get the displayName property: The displayable title of the list.

Returns:

the displayName value.

drive

public MicrosoftGraphDrive drive()

Get the drive property: drive.

Returns:

the drive value.

fromJson

public static MicrosoftGraphList fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

items

public List items()

Get the items property: All items contained in the list.

Returns:

the items value.

list

public MicrosoftGraphListInfo list()

Get the list property: listInfo.

Returns:

the list value.

sharepointIds

public MicrosoftGraphSharepointIds sharepointIds()

Get the sharepointIds property: sharepointIds.

Returns:

the sharepointIds value.

subscriptions

public List subscriptions()

Get the subscriptions property: The set of subscriptions on the list.

Returns:

the subscriptions value.

system

public Map system()

Get the system property: systemFacet.

Returns:

the system value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphList.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphList.validate()

withAdditionalProperties

public MicrosoftGraphList withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: list.

Overrides:

MicrosoftGraphList.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphList object itself.

withColumns

public MicrosoftGraphList withColumns(List columns)

Set the columns property: The collection of field definitions for this list.

Parameters:

columns - the columns value to set.

Returns:

the MicrosoftGraphList object itself.

withContentTypes

public MicrosoftGraphList withContentTypes(List contentTypes)

Set the contentTypes property: The collection of content types present in this list.

Parameters:

contentTypes - the contentTypes value to set.

Returns:

the MicrosoftGraphList object itself.

withCreatedBy

public MicrosoftGraphList withCreatedBy(MicrosoftGraphIdentitySet createdBy)

Set the createdBy property: identitySet.

Overrides:

MicrosoftGraphList.withCreatedBy(MicrosoftGraphIdentitySet createdBy)

Parameters:

createdBy

withCreatedByUser

public MicrosoftGraphList withCreatedByUser(MicrosoftGraphUserInner createdByUser)

Set the createdByUser property: Represents an Azure Active Directory user object.

Overrides:

MicrosoftGraphList.withCreatedByUser(MicrosoftGraphUserInner createdByUser)

Parameters:

createdByUser

withCreatedDateTime

public MicrosoftGraphList withCreatedDateTime(OffsetDateTime createdDateTime)

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

Overrides:

MicrosoftGraphList.withCreatedDateTime(OffsetDateTime createdDateTime)

Parameters:

createdDateTime

withDescription

public MicrosoftGraphList withDescription(String description)

Set the description property: Provides a user-visible description of the item. Optional.

Overrides:

MicrosoftGraphList.withDescription(String description)

Parameters:

description

withDisplayName

public MicrosoftGraphList withDisplayName(String displayName)

Set the displayName property: The displayable title of the list.

Parameters:

displayName - the displayName value to set.

Returns:

the MicrosoftGraphList object itself.

withDrive

public MicrosoftGraphList withDrive(MicrosoftGraphDrive drive)

Set the drive property: drive.

Parameters:

drive - the drive value to set.

Returns:

the MicrosoftGraphList object itself.

withEtag

public MicrosoftGraphList withEtag(String etag)

Set the etag property: ETag for the item. Read-only.

Overrides:

MicrosoftGraphList.withEtag(String etag)

Parameters:

etag

withId

public MicrosoftGraphList withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphList.withId(String id)

Parameters:

id

withItems

public MicrosoftGraphList withItems(List items)

Set the items property: All items contained in the list.

Parameters:

items - the items value to set.

Returns:

the MicrosoftGraphList object itself.

withLastModifiedBy

public MicrosoftGraphList withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

Overrides:

MicrosoftGraphList.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Parameters:

lastModifiedBy

withLastModifiedByUser

public MicrosoftGraphList withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)

Set the lastModifiedByUser property: Represents an Azure Active Directory user object.

Overrides:

MicrosoftGraphList.withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)

Parameters:

lastModifiedByUser

withLastModifiedDateTime

public MicrosoftGraphList withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

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

Overrides:

MicrosoftGraphList.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Parameters:

lastModifiedDateTime

withList

public MicrosoftGraphList withList(MicrosoftGraphListInfo list)

Set the list property: listInfo.

Parameters:

list - the list value to set.

Returns:

the MicrosoftGraphList object itself.

withName

public MicrosoftGraphList withName(String name)

Set the name property: The name of the item. Read-write.

Overrides:

MicrosoftGraphList.withName(String name)

Parameters:

name

withParentReference

public MicrosoftGraphList withParentReference(MicrosoftGraphItemReference parentReference)

Set the parentReference property: itemReference.

Overrides:

MicrosoftGraphList.withParentReference(MicrosoftGraphItemReference parentReference)

Parameters:

parentReference

withSharepointIds

public MicrosoftGraphList withSharepointIds(MicrosoftGraphSharepointIds sharepointIds)

Set the sharepointIds property: sharepointIds.

Parameters:

sharepointIds - the sharepointIds value to set.

Returns:

the MicrosoftGraphList object itself.

withSubscriptions

public MicrosoftGraphList withSubscriptions(List subscriptions)

Set the subscriptions property: The set of subscriptions on the list.

Parameters:

subscriptions - the subscriptions value to set.

Returns:

the MicrosoftGraphList object itself.

withSystem

public MicrosoftGraphList withSystem(Map system)

Set the system property: systemFacet.

Parameters:

system - the system value to set.

Returns:

the MicrosoftGraphList object itself.

withWebUrl

public MicrosoftGraphList withWebUrl(String webUrl)

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

Overrides:

MicrosoftGraphList.withWebUrl(String webUrl)

Parameters:

webUrl

Applies to