Package com.microsoft.graph.models
Class RemoteItem
java.lang.Object
com.microsoft.graph.models.RemoteItem
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class RemoteItem
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RemoteItemcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the createdBy property value.Gets the createdDateTime property value.The deserialization information for the current modelgetFile()Gets the file property value.Gets the fileSystemInfo property value.Gets the folder property value.getId()Gets the id property value.getImage()Gets the image property value.Gets the lastModifiedBy property value.Gets the lastModifiedDateTime property value.getName()Gets the name property value.Gets the @odata.type property value.Gets the package property value.Gets the parentReference property value.Gets the shared property value.Gets the sharepointIds property value.getSize()Gets the size property value.Gets the specialFolder property value.getVideo()Gets the video property value.Gets the webDavUrl property value.Gets the webUrl property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidsetCreatedBy(IdentitySet value) Sets the createdBy property value.voidsetCreatedDateTime(OffsetDateTime value) Sets the createdDateTime property value.voidSets the file property value.voidsetFileSystemInfo(FileSystemInfo value) Sets the fileSystemInfo property value.voidSets the folder property value.voidSets the id property value.voidSets the image property value.voidsetLastModifiedBy(IdentitySet value) Sets the lastModifiedBy property value.voidSets the lastModifiedDateTime property value.voidSets the name property value.voidsetOdataType(String value) Sets the @odata.type property value.voidsetPackage(PackageEscaped value) Sets the package property value.voidsetParentReference(ItemReference value) Sets the parentReference property value.voidSets the shared property value.voidsetSharepointIds(SharepointIds value) Sets the sharepointIds property value.voidSets the size property value.voidsetSpecialFolder(SpecialFolder value) Sets the specialFolder property value.voidSets the video property value.voidsetWebDavUrl(String value) Sets the webDavUrl property value.voidSets the webUrl property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
RemoteItem
public RemoteItem()Instantiates a newRemoteItemand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static RemoteItem 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
RemoteItem
-
getAdditionalData
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getBackingStore
@Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()Gets the backingStore property value. Stores model information.- Specified by:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
getCreatedBy
Gets the createdBy property value. Identity of the user, device, and application which created the item. Read-only.- Returns:
- a
IdentitySet
-
getCreatedDateTime
Gets the createdDateTime property value. Date and time of item creation. Read-only.- Returns:
- a
OffsetDateTime
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getFile
Gets the file property value. Indicates that the remote item is a file. Read-only.- Returns:
- a
File
-
getFileSystemInfo
Gets the fileSystemInfo property value. Information about the remote item from the local file system. Read-only.- Returns:
- a
FileSystemInfo
-
getFolder
Gets the folder property value. Indicates that the remote item is a folder. Read-only.- Returns:
- a
Folder
-
getId
Gets the id property value. Unique identifier for the remote item in its drive. Read-only.- Returns:
- a
String
-
getImage
Gets the image property value. Image metadata, if the item is an image. Read-only.- Returns:
- a
Image
-
getLastModifiedBy
Gets the lastModifiedBy property value. Identity of the user, device, and application which last modified the item. Read-only.- Returns:
- a
IdentitySet
-
getLastModifiedDateTime
Gets the lastModifiedDateTime property value. Date and time the item was last modified. Read-only.- Returns:
- a
OffsetDateTime
-
getName
Gets the name property value. Optional. Filename of the remote item. Read-only.- Returns:
- a
String
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getPackage
Gets the package property value. If present, indicates that this item is a package instead of a folder or file. Packages are treated like files in some contexts and folders in others. Read-only.- Returns:
- a
PackageEscaped
-
getParentReference
Gets the parentReference property value. Properties of the parent of the remote item. Read-only.- Returns:
- a
ItemReference
-
getSize
Gets the size property value. Size of the remote item. Read-only.- Returns:
- a
Long
-
getSpecialFolder
Gets the specialFolder property value. If the current item is also available as a special folder, this facet is returned. Read-only.- Returns:
- a
SpecialFolder
-
getVideo
Gets the video property value. Video metadata, if the item is a video. Read-only.- Returns:
- a
Video
-
getWebDavUrl
Gets the webDavUrl property value. DAV compatible URL for the item.- Returns:
- a
String
-
getWebUrl
Gets the webUrl property value. URL that displays the resource in the browser. Read-only.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAdditionalData
Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.- Parameters:
value- Value to set for the AdditionalData property.
-
setBackingStore
public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value. Stores model information.- Parameters:
value- Value to set for the backingStore property.
-
setCreatedBy
Sets the createdBy property value. Identity of the user, device, and application which created the item. Read-only.- Parameters:
value- Value to set for the createdBy property.
-
setCreatedDateTime
Sets the createdDateTime property value. Date and time of item creation. Read-only.- Parameters:
value- Value to set for the createdDateTime property.
-
setFile
Sets the file property value. Indicates that the remote item is a file. Read-only.- Parameters:
value- Value to set for the file property.
-
setFileSystemInfo
Sets the fileSystemInfo property value. Information about the remote item from the local file system. Read-only.- Parameters:
value- Value to set for the fileSystemInfo property.
-
setFolder
Sets the folder property value. Indicates that the remote item is a folder. Read-only.- Parameters:
value- Value to set for the folder property.
-
setId
Sets the id property value. Unique identifier for the remote item in its drive. Read-only.- Parameters:
value- Value to set for the id property.
-
setImage
Sets the image property value. Image metadata, if the item is an image. Read-only.- Parameters:
value- Value to set for the image property.
-
setLastModifiedBy
Sets the lastModifiedBy property value. Identity of the user, device, and application which last modified the item. Read-only.- Parameters:
value- Value to set for the lastModifiedBy property.
-
setLastModifiedDateTime
Sets the lastModifiedDateTime property value. Date and time the item was last modified. Read-only.- Parameters:
value- Value to set for the lastModifiedDateTime property.
-
setName
Sets the name property value. Optional. Filename of the remote item. Read-only.- Parameters:
value- Value to set for the name property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setPackage
Sets the package property value. If present, indicates that this item is a package instead of a folder or file. Packages are treated like files in some contexts and folders in others. Read-only.- Parameters:
value- Value to set for the package property.
-
setParentReference
Sets the parentReference property value. Properties of the parent of the remote item. Read-only.- Parameters:
value- Value to set for the parentReference property.
-
setSize
Sets the size property value. Size of the remote item. Read-only.- Parameters:
value- Value to set for the size property.
-
setSpecialFolder
Sets the specialFolder property value. If the current item is also available as a special folder, this facet is returned. Read-only.- Parameters:
value- Value to set for the specialFolder property.
-
setVideo
Sets the video property value. Video metadata, if the item is a video. Read-only.- Parameters:
value- Value to set for the video property.
-
setWebDavUrl
Sets the webDavUrl property value. DAV compatible URL for the item.- Parameters:
value- Value to set for the webDavUrl property.
-
setWebUrl
Sets the webUrl property value. URL that displays the resource in the browser. Read-only.- Parameters:
value- Value to set for the webUrl property.
-