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
-
public final class MicrosoftGraphListItem extends MicrosoftGraphBaseItemInner
listItem.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphListItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: listItem.MicrosoftGraphItemAnalyticsanalytics()Get the analytics property: itemAnalytics.MicrosoftGraphContentTypeInfocontentType()Get the contentType property: contentTypeInfo.MicrosoftGraphDriveItemdriveItem()Get the driveItem property: driveItem.MicrosoftGraphFieldValueSetfields()Get the fields property: fieldValueSet.MicrosoftGraphSharepointIdssharepointIds()Get the sharepointIds property: sharepointIds.voidvalidate()Validates the instance.List<MicrosoftGraphListItemVersion>versions()Get the versions property: The list of previous versions of the list item.MicrosoftGraphListItemwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: listItem.MicrosoftGraphListItemwithAnalytics(MicrosoftGraphItemAnalytics analytics)Set the analytics property: itemAnalytics.MicrosoftGraphListItemwithContentType(MicrosoftGraphContentTypeInfo contentType)Set the contentType property: contentTypeInfo.MicrosoftGraphListItemwithCreatedBy(MicrosoftGraphIdentitySet createdBy)Set the createdBy property: identitySet.MicrosoftGraphListItemwithCreatedByUser(MicrosoftGraphUserInner createdByUser)Set the createdByUser property: Represents an Azure Active Directory user object.MicrosoftGraphListItemwithCreatedDateTime(OffsetDateTime createdDateTime)Set the createdDateTime property: Date and time of item creation.MicrosoftGraphListItemwithDescription(String description)Set the description property: Provides a user-visible description of the item.MicrosoftGraphListItemwithDriveItem(MicrosoftGraphDriveItem driveItem)Set the driveItem property: driveItem.MicrosoftGraphListItemwithEtag(String etag)Set the etag property: ETag for the item.MicrosoftGraphListItemwithFields(MicrosoftGraphFieldValueSet fields)Set the fields property: fieldValueSet.MicrosoftGraphListItemwithId(String id)Set the id property: Read-only.MicrosoftGraphListItemwithLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)Set the lastModifiedBy property: identitySet.MicrosoftGraphListItemwithLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)Set the lastModifiedByUser property: Represents an Azure Active Directory user object.MicrosoftGraphListItemwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Set the lastModifiedDateTime property: Date and time the item was last modified.MicrosoftGraphListItemwithName(String name)Set the name property: The name of the item.MicrosoftGraphListItemwithParentReference(MicrosoftGraphItemReference parentReference)Set the parentReference property: itemReference.MicrosoftGraphListItemwithSharepointIds(MicrosoftGraphSharepointIds sharepointIds)Set the sharepointIds property: sharepointIds.MicrosoftGraphListItemwithVersions(List<MicrosoftGraphListItemVersion> versions)Set the versions property: The list of previous versions of the list item.MicrosoftGraphListItemwithWebUrl(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, webUrl
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
contentType
public MicrosoftGraphContentTypeInfo contentType()
Get the contentType property: contentTypeInfo.- Returns:
- the contentType value.
-
withContentType
public MicrosoftGraphListItem withContentType(MicrosoftGraphContentTypeInfo contentType)
Set the contentType property: contentTypeInfo.- Parameters:
contentType- the contentType value to set.- Returns:
- the MicrosoftGraphListItem object itself.
-
sharepointIds
public MicrosoftGraphSharepointIds sharepointIds()
Get the sharepointIds property: sharepointIds.- Returns:
- the sharepointIds value.
-
withSharepointIds
public MicrosoftGraphListItem withSharepointIds(MicrosoftGraphSharepointIds sharepointIds)
Set the sharepointIds property: sharepointIds.- Parameters:
sharepointIds- the sharepointIds value to set.- Returns:
- the MicrosoftGraphListItem object itself.
-
analytics
public MicrosoftGraphItemAnalytics analytics()
Get the analytics property: itemAnalytics.- Returns:
- the analytics value.
-
withAnalytics
public MicrosoftGraphListItem withAnalytics(MicrosoftGraphItemAnalytics analytics)
Set the analytics property: itemAnalytics.- Parameters:
analytics- the analytics value to set.- Returns:
- the MicrosoftGraphListItem object itself.
-
driveItem
public MicrosoftGraphDriveItem driveItem()
Get the driveItem property: driveItem.- Returns:
- the driveItem value.
-
withDriveItem
public MicrosoftGraphListItem withDriveItem(MicrosoftGraphDriveItem driveItem)
Set the driveItem property: driveItem.- Parameters:
driveItem- the driveItem value to set.- Returns:
- the MicrosoftGraphListItem object itself.
-
fields
public MicrosoftGraphFieldValueSet fields()
Get the fields property: fieldValueSet.- Returns:
- the fields value.
-
withFields
public MicrosoftGraphListItem withFields(MicrosoftGraphFieldValueSet fields)
Set the fields property: fieldValueSet.- Parameters:
fields- the fields value to set.- Returns:
- the MicrosoftGraphListItem object itself.
-
versions
public List<MicrosoftGraphListItemVersion> versions()
Get the versions property: The list of previous versions of the list item.- Returns:
- the versions value.
-
withVersions
public MicrosoftGraphListItem withVersions(List<MicrosoftGraphListItemVersion> versions)
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
public Map<String,Object> additionalProperties()
Get the additionalProperties property: listItem.- Overrides:
additionalPropertiesin classMicrosoftGraphBaseItemInner- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphListItem withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: listItem.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphBaseItemInner- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphListItem object itself.
-
withCreatedBy
public MicrosoftGraphListItem withCreatedBy(MicrosoftGraphIdentitySet createdBy)
Set the createdBy property: identitySet.- Overrides:
withCreatedByin classMicrosoftGraphBaseItemInner- Parameters:
createdBy- the createdBy value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withCreatedDateTime
public MicrosoftGraphListItem withCreatedDateTime(OffsetDateTime createdDateTime)
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
public MicrosoftGraphListItem withDescription(String description)
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
public MicrosoftGraphListItem withEtag(String etag)
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
public MicrosoftGraphListItem withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.- Overrides:
withLastModifiedByin classMicrosoftGraphBaseItemInner- Parameters:
lastModifiedBy- the lastModifiedBy value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withLastModifiedDateTime
public MicrosoftGraphListItem withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
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
public MicrosoftGraphListItem withName(String name)
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
public MicrosoftGraphListItem withParentReference(MicrosoftGraphItemReference parentReference)
Set the parentReference property: itemReference.- Overrides:
withParentReferencein classMicrosoftGraphBaseItemInner- Parameters:
parentReference- the parentReference value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withWebUrl
public MicrosoftGraphListItem withWebUrl(String webUrl)
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
public MicrosoftGraphListItem withCreatedByUser(MicrosoftGraphUserInner createdByUser)
Set the createdByUser property: Represents an Azure Active Directory user object.- Overrides:
withCreatedByUserin classMicrosoftGraphBaseItemInner- Parameters:
createdByUser- the createdByUser value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withLastModifiedByUser
public MicrosoftGraphListItem withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)
Set the lastModifiedByUser property: Represents an Azure Active Directory user object.- Overrides:
withLastModifiedByUserin classMicrosoftGraphBaseItemInner- Parameters:
lastModifiedByUser- the lastModifiedByUser value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withId
public MicrosoftGraphListItem withId(String id)
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.
-
-