Class MicrosoftGraphListItem
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphBaseItemInner
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphListItem
listItem.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphListItem class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: listItem.Get the analytics property: itemAnalytics.Get the contentType property: contentTypeInfo.Get the driveItem property: driveItem.fields()Get the fields property: fieldValueSet.Get the sharepointIds property: sharepointIds.voidvalidate()Validates the instance.versions()Get the versions property: The list of previous versions of the list item.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: listItem.withAnalytics(MicrosoftGraphItemAnalytics analytics) Set the analytics property: itemAnalytics.withContentType(MicrosoftGraphContentTypeInfo contentType) Set the contentType property: contentTypeInfo.withCreatedBy(MicrosoftGraphIdentitySet createdBy) Set the createdBy property: identitySet.withCreatedByUser(MicrosoftGraphUserInner createdByUser) Set the createdByUser property: userwithCreatedDateTime(OffsetDateTime createdDateTime) Set the createdDateTime property: Date and time of item creation.withDescription(String description) Set the description property: Provides a user-visible description of the item.withDriveItem(MicrosoftGraphDriveItem driveItem) Set the driveItem property: driveItem.Set the etag property: ETag for the item.Set the fields property: fieldValueSet.Set the id property: Read-only.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy) Set the lastModifiedBy property: identitySet.withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser) Set the lastModifiedByUser property: userwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime) Set the lastModifiedDateTime property: Date and time the item was last modified.Set the name property: The name of the item.withParentReference(MicrosoftGraphItemReference parentReference) Set the parentReference property: itemReference.withSharepointIds(MicrosoftGraphSharepointIds sharepointIds) Set the sharepointIds property: sharepointIds.withVersions(List<MicrosoftGraphListItemVersion> versions) Set the versions property: The list of previous versions of the list item.withWebUrl(String webUrl) Set the webUrl property: URL that displays the resource in the browser.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphBaseItemInner
createdBy, createdByUser, createdDateTime, description, etag, lastModifiedBy, lastModifiedByUser, lastModifiedDateTime, name, parentReference, webUrlMethods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphListItem
public MicrosoftGraphListItem()Creates an instance of MicrosoftGraphListItem class.
-
-
Method Details
-
contentType
Get the contentType property: contentTypeInfo.- Returns:
- the contentType value.
-
withContentType
Set the contentType property: contentTypeInfo.- Parameters:
contentType- the contentType value to set.- Returns:
- the MicrosoftGraphListItem object itself.
-
analytics
Get the analytics property: itemAnalytics.- Returns:
- the analytics value.
-
withAnalytics
Set the analytics property: itemAnalytics.- Parameters:
analytics- the analytics value to set.- Returns:
- the MicrosoftGraphListItem object itself.
-
driveItem
Get the driveItem property: driveItem.- Returns:
- the driveItem value.
-
withDriveItem
Set the driveItem property: driveItem.- Parameters:
driveItem- the driveItem value to set.- Returns:
- the MicrosoftGraphListItem object itself.
-
fields
Get the fields property: fieldValueSet.- Returns:
- the fields value.
-
withFields
Set the fields property: fieldValueSet.- Parameters:
fields- the fields value to set.- Returns:
- the MicrosoftGraphListItem object itself.
-
versions
Get the versions property: The list of previous versions of the list item.- Returns:
- the versions value.
-
withVersions
Set the versions property: The list of previous versions of the list item.- Parameters:
versions- the versions value to set.- Returns:
- the MicrosoftGraphListItem object itself.
-
additionalProperties
Get the additionalProperties property: listItem.- Overrides:
additionalPropertiesin classMicrosoftGraphBaseItemInner- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: listItem.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphBaseItemInner- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphListItem object itself.
-
withCreatedBy
Set the createdBy property: identitySet.- Overrides:
withCreatedByin classMicrosoftGraphBaseItemInner- Parameters:
createdBy- the createdBy value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withCreatedDateTime
Set the createdDateTime property: Date and time of item creation. Read-only.- Overrides:
withCreatedDateTimein classMicrosoftGraphBaseItemInner- Parameters:
createdDateTime- the createdDateTime value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withDescription
Set the description property: Provides a user-visible description of the item. Optional.- Overrides:
withDescriptionin classMicrosoftGraphBaseItemInner- Parameters:
description- the description value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withEtag
Set the etag property: ETag for the item. Read-only.- Overrides:
withEtagin classMicrosoftGraphBaseItemInner- Parameters:
etag- the etag value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withLastModifiedBy
Set the lastModifiedBy property: identitySet.- Overrides:
withLastModifiedByin classMicrosoftGraphBaseItemInner- Parameters:
lastModifiedBy- the lastModifiedBy value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withLastModifiedDateTime
Set the lastModifiedDateTime property: Date and time the item was last modified. Read-only.- Overrides:
withLastModifiedDateTimein classMicrosoftGraphBaseItemInner- Parameters:
lastModifiedDateTime- the lastModifiedDateTime value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withName
Set the name property: The name of the item. Read-write.- Overrides:
withNamein classMicrosoftGraphBaseItemInner- Parameters:
name- the name value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withParentReference
Set the parentReference property: itemReference.- Overrides:
withParentReferencein classMicrosoftGraphBaseItemInner- Parameters:
parentReference- the parentReference value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withWebUrl
Set the webUrl property: URL that displays the resource in the browser. Read-only.- Overrides:
withWebUrlin classMicrosoftGraphBaseItemInner- Parameters:
webUrl- the webUrl value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withCreatedByUser
Set the createdByUser property: userRepresents an Azure Active Directory user object.
- Overrides:
withCreatedByUserin classMicrosoftGraphBaseItemInner- Parameters:
createdByUser- the createdByUser value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withLastModifiedByUser
Set the lastModifiedByUser property: userRepresents an Azure Active Directory user object.
- Overrides:
withLastModifiedByUserin classMicrosoftGraphBaseItemInner- Parameters:
lastModifiedByUser- the lastModifiedByUser value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphBaseItemInner- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphBaseItemInner- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-