你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphListItem Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphBaseItemInner - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphListItem
- com.
- com.
- com.
public final class MicrosoftGraphListItem
extends MicrosoftGraphBaseItemInner
listItem.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphListItem() |
Creates an instance of Microsoft |
Method Summary
Methods inherited from MicrosoftGraphBaseItemInner
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphListItem
public MicrosoftGraphListItem()
Creates an instance of MicrosoftGraphListItem class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: listItem.
Overrides:
MicrosoftGraphListItem.additionalProperties()Returns:
analytics
public MicrosoftGraphItemAnalytics analytics()
Get the analytics property: itemAnalytics.
Returns:
contentType
public MicrosoftGraphContentTypeInfo contentType()
Get the contentType property: contentTypeInfo.
Returns:
driveItem
public MicrosoftGraphDriveItem driveItem()
Get the driveItem property: driveItem.
Returns:
fields
public MicrosoftGraphFieldValueSet fields()
Get the fields property: fieldValueSet.
Returns:
fromJson
public static MicrosoftGraphListItem fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphListItem from the JsonReader.
Parameters:
Returns:
Throws:
sharepointIds
public MicrosoftGraphSharepointIds sharepointIds()
Get the sharepointIds property: sharepointIds.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphListItem.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphListItem.validate()versions
public List
Get the versions property: The list of previous versions of the list item.
Returns:
withAdditionalProperties
public MicrosoftGraphListItem withAdditionalProperties(Map
Set the additionalProperties property: listItem.
Overrides:
MicrosoftGraphListItem.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withAnalytics
public MicrosoftGraphListItem withAnalytics(MicrosoftGraphItemAnalytics analytics)
Set the analytics property: itemAnalytics.
Parameters:
Returns:
withContentType
public MicrosoftGraphListItem withContentType(MicrosoftGraphContentTypeInfo contentType)
Set the contentType property: contentTypeInfo.
Parameters:
Returns:
withCreatedBy
public MicrosoftGraphListItem withCreatedBy(MicrosoftGraphIdentitySet createdBy)
Set the createdBy property: identitySet.
Overrides:
MicrosoftGraphListItem.withCreatedBy(MicrosoftGraphIdentitySet createdBy)Parameters:
withCreatedByUser
public MicrosoftGraphListItem withCreatedByUser(MicrosoftGraphUserInner createdByUser)
Set the createdByUser property: Represents an Azure Active Directory user object.
Overrides:
MicrosoftGraphListItem.withCreatedByUser(MicrosoftGraphUserInner createdByUser)Parameters:
withCreatedDateTime
public MicrosoftGraphListItem withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: Date and time of item creation. Read-only.
Overrides:
MicrosoftGraphListItem.withCreatedDateTime(OffsetDateTime createdDateTime)Parameters:
withDescription
public MicrosoftGraphListItem withDescription(String description)
Set the description property: Provides a user-visible description of the item. Optional.
Overrides:
MicrosoftGraphListItem.withDescription(String description)Parameters:
withDriveItem
public MicrosoftGraphListItem withDriveItem(MicrosoftGraphDriveItem driveItem)
Set the driveItem property: driveItem.
Parameters:
Returns:
withEtag
public MicrosoftGraphListItem withEtag(String etag)
Set the etag property: ETag for the item. Read-only.
Overrides:
MicrosoftGraphListItem.withEtag(String etag)Parameters:
withFields
public MicrosoftGraphListItem withFields(MicrosoftGraphFieldValueSet fields)
Set the fields property: fieldValueSet.
Parameters:
Returns:
withId
public MicrosoftGraphListItem withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphListItem.withId(String id)Parameters:
withLastModifiedBy
public MicrosoftGraphListItem withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.
Overrides:
MicrosoftGraphListItem.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)Parameters:
withLastModifiedByUser
public MicrosoftGraphListItem withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)
Set the lastModifiedByUser property: Represents an Azure Active Directory user object.
Overrides:
MicrosoftGraphListItem.withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)Parameters:
withLastModifiedDateTime
public MicrosoftGraphListItem withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: Date and time the item was last modified. Read-only.
Overrides:
MicrosoftGraphListItem.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Parameters:
withName
public MicrosoftGraphListItem withName(String name)
Set the name property: The name of the item. Read-write.
Overrides:
MicrosoftGraphListItem.withName(String name)Parameters:
withParentReference
public MicrosoftGraphListItem withParentReference(MicrosoftGraphItemReference parentReference)
Set the parentReference property: itemReference.
Overrides:
MicrosoftGraphListItem.withParentReference(MicrosoftGraphItemReference parentReference)Parameters:
withSharepointIds
public MicrosoftGraphListItem withSharepointIds(MicrosoftGraphSharepointIds sharepointIds)
Set the sharepointIds property: sharepointIds.
Parameters:
Returns:
withVersions
public MicrosoftGraphListItem withVersions(List
Set the versions property: The list of previous versions of the list item.
Parameters:
Returns:
withWebUrl
public MicrosoftGraphListItem withWebUrl(String webUrl)
Set the webUrl property: URL that displays the resource in the browser. Read-only.
Overrides:
MicrosoftGraphListItem.withWebUrl(String webUrl)Parameters: