Package com.microsoft.graph.models
Class SharedDriveItem
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.BaseItem
com.microsoft.graph.models.SharedDriveItem
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class SharedDriveItem
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 SharedDriveItemcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the driveItem property value.The deserialization information for the current modelgetItems()Gets the items property value.getList()Gets the list property value.Gets the listItem property value.getOwner()Gets the owner property value.Gets the permission property value.getRoot()Gets the root property value.getSite()Gets the site property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetDriveItem(DriveItem value) Sets the driveItem property value.voidSets the items property value.voidSets the list property value.voidsetListItem(ListItem value) Sets the listItem property value.voidsetOwner(IdentitySet value) Sets the owner property value.voidsetPermission(Permission value) Sets the permission property value.voidSets the root property value.voidSets the site 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
-
SharedDriveItem
public SharedDriveItem()Instantiates a newSharedDriveItemand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static SharedDriveItem 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
SharedDriveItem
-
getDriveItem
Gets the driveItem property value. Used to access the underlying 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>>
-
getItems
Gets the items property value. All driveItems contained in the sharing root. This collection cannot be enumerated. -
getList
Gets the list property value. Used to access the underlying list- Returns:
- a
List
-
getListItem
Gets the listItem property value. Used to access the underlying listItem- Returns:
- a
ListItem
-
getOwner
Gets the owner property value. Information about the owner of the shared item being referenced.- Returns:
- a
IdentitySet
-
getPermission
Gets the permission property value. Used to access the permission representing the underlying sharing link- Returns:
- a
Permission
-
getRoot
Gets the root property value. Used to access the underlying driveItem. Deprecated -- use driveItem instead.- Returns:
- a
DriveItem
-
getSite
Gets the site property value. Used to access the underlying site- Returns:
- a
Site
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setDriveItem
Sets the driveItem property value. Used to access the underlying driveItem- Parameters:
value- Value to set for the driveItem property.
-
setItems
Sets the items property value. All driveItems contained in the sharing root. This collection cannot be enumerated.- Parameters:
value- Value to set for the items property.
-
setList
Sets the list property value. Used to access the underlying list- Parameters:
value- Value to set for the list property.
-
setListItem
Sets the listItem property value. Used to access the underlying listItem- Parameters:
value- Value to set for the listItem property.
-
setOwner
Sets the owner property value. Information about the owner of the shared item being referenced.- Parameters:
value- Value to set for the owner property.
-
setPermission
Sets the permission property value. Used to access the permission representing the underlying sharing link- Parameters:
value- Value to set for the permission property.
-
setRoot
Sets the root property value. Used to access the underlying driveItem. Deprecated -- use driveItem instead.- Parameters:
value- Value to set for the root property.
-
setSite
Sets the site property value. Used to access the underlying site- Parameters:
value- Value to set for the site property.
-