Package com.microsoft.graph.models
Class ListItem
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.BaseItem
com.microsoft.graph.models.ListItem
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class ListItem
extends BaseItem
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ListItemcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the analytics property value.Gets the contentType property value.Gets the documentSetVersions property value.Gets the driveItem property value.The deserialization information for the current modelGets the fields property value.Gets the sharepointIds property value.Gets the versions property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAnalytics(ItemAnalytics value) Sets the analytics property value.voidsetContentType(ContentTypeInfo value) Sets the contentType property value.voidSets the documentSetVersions property value.voidsetDriveItem(DriveItem value) Sets the driveItem property value.voidsetFields(FieldValueSet value) Sets the fields property value.voidsetSharepointIds(SharepointIds value) Sets the sharepointIds property value.voidsetVersions(List<ListItemVersion> value) Sets the versions property value.Methods inherited from class com.microsoft.graph.models.BaseItem
getCreatedBy, getCreatedByUser, getCreatedDateTime, getDescription, getETag, getLastModifiedBy, getLastModifiedByUser, getLastModifiedDateTime, getName, getParentReference, getWebUrl, setCreatedBy, setCreatedByUser, setCreatedDateTime, setDescription, setETag, setLastModifiedBy, setLastModifiedByUser, setLastModifiedDateTime, setName, setParentReference, setWebUrlMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ListItem
public ListItem()Instantiates a newListItemand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ListItem createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
ListItem
-
getAnalytics
Gets the analytics property value. Analytics about the view activities that took place on this item.- Returns:
- a
ItemAnalytics
-
getContentType
Gets the contentType property value. The content type of this list item- Returns:
- a
ContentTypeInfo
-
getDocumentSetVersions
Gets the documentSetVersions property value. Version information for a document set version created by a user.- Returns:
- a
List<DocumentSetVersion>
-
getDriveItem
Gets the driveItem property value. For document libraries, the driveItem relationship exposes the listItem as a driveItem- Returns:
- a
DriveItem
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classBaseItem- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getFields
Gets the fields property value. The values of the columns set on this list item.- Returns:
- a
FieldValueSet
-
getVersions
Gets the versions property value. The list of previous versions of the list item.- Returns:
- a
List<ListItemVersion>
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAnalytics
Sets the analytics property value. Analytics about the view activities that took place on this item.- Parameters:
value- Value to set for the analytics property.
-
setContentType
Sets the contentType property value. The content type of this list item- Parameters:
value- Value to set for the contentType property.
-
setDocumentSetVersions
Sets the documentSetVersions property value. Version information for a document set version created by a user.- Parameters:
value- Value to set for the documentSetVersions property.
-
setDriveItem
Sets the driveItem property value. For document libraries, the driveItem relationship exposes the listItem as a driveItem- Parameters:
value- Value to set for the driveItem property.
-
setFields
Sets the fields property value. The values of the columns set on this list item.- Parameters:
value- Value to set for the fields property.
-
setVersions
Sets the versions property value. The list of previous versions of the list item.- Parameters:
value- Value to set for the versions property.
-