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 Details

    • backingStore

      @Nonnull protected com.microsoft.kiota.store.BackingStore backingStore
      Stores model information.
  • Constructor Details

    • RemoteItem

      public RemoteItem()
      Instantiates a new RemoteItem and 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

      @Nonnull public Map<String,Object> 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.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getBackingStore

      @Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()
      Gets the backingStore property value. Stores model information.
      Specified by:
      getBackingStore in interface com.microsoft.kiota.store.BackedModel
      Returns:
      a BackingStore
    • getCreatedBy

      @Nullable public IdentitySet getCreatedBy()
      Gets the createdBy property value. Identity of the user, device, and application which created the item. Read-only.
      Returns:
      a IdentitySet
    • getCreatedDateTime

      @Nullable public OffsetDateTime 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
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getFile

      @Nullable public File getFile()
      Gets the file property value. Indicates that the remote item is a file. Read-only.
      Returns:
      a File
    • getFileSystemInfo

      @Nullable public FileSystemInfo getFileSystemInfo()
      Gets the fileSystemInfo property value. Information about the remote item from the local file system. Read-only.
      Returns:
      a FileSystemInfo
    • getFolder

      @Nullable public Folder getFolder()
      Gets the folder property value. Indicates that the remote item is a folder. Read-only.
      Returns:
      a Folder
    • getId

      @Nullable public String getId()
      Gets the id property value. Unique identifier for the remote item in its drive. Read-only.
      Returns:
      a String
    • getImage

      @Nullable public Image getImage()
      Gets the image property value. Image metadata, if the item is an image. Read-only.
      Returns:
      a Image
    • getLastModifiedBy

      @Nullable public IdentitySet getLastModifiedBy()
      Gets the lastModifiedBy property value. Identity of the user, device, and application which last modified the item. Read-only.
      Returns:
      a IdentitySet
    • getLastModifiedDateTime

      @Nullable public OffsetDateTime getLastModifiedDateTime()
      Gets the lastModifiedDateTime property value. Date and time the item was last modified. Read-only.
      Returns:
      a OffsetDateTime
    • getName

      @Nullable public String getName()
      Gets the name property value. Optional. Filename of the remote item. Read-only.
      Returns:
      a String
    • getOdataType

      @Nullable public String getOdataType()
      Gets the @odata.type property value. The OdataType property
      Returns:
      a String
    • getPackage

      @Nullable public PackageEscaped 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

      @Nullable public ItemReference getParentReference()
      Gets the parentReference property value. Properties of the parent of the remote item. Read-only.
      Returns:
      a ItemReference
    • getShared

      @Nullable public Shared getShared()
      Gets the shared property value. Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only.
      Returns:
      a Shared
    • getSharepointIds

      @Nullable public SharepointIds getSharepointIds()
      Gets the sharepointIds property value. Provides interop between items in OneDrive for Business and SharePoint with the full set of item identifiers. Read-only.
      Returns:
      a SharepointIds
    • getSize

      @Nullable public Long getSize()
      Gets the size property value. Size of the remote item. Read-only.
      Returns:
      a Long
    • getSpecialFolder

      @Nullable public SpecialFolder 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

      @Nullable public Video getVideo()
      Gets the video property value. Video metadata, if the item is a video. Read-only.
      Returns:
      a Video
    • getWebDavUrl

      @Nullable public String getWebDavUrl()
      Gets the webDavUrl property value. DAV compatible URL for the item.
      Returns:
      a String
    • getWebUrl

      @Nullable public 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:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      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

      public void setCreatedBy(@Nullable IdentitySet value)
      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

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. Date and time of item creation. Read-only.
      Parameters:
      value - Value to set for the createdDateTime property.
    • setFile

      public void setFile(@Nullable File value)
      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

      public void setFileSystemInfo(@Nullable FileSystemInfo value)
      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

      public void setFolder(@Nullable Folder value)
      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

      public void setId(@Nullable String value)
      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

      public void setImage(@Nullable Image value)
      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

      public void setLastModifiedBy(@Nullable IdentitySet value)
      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

      public void setLastModifiedDateTime(@Nullable OffsetDateTime value)
      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

      public void setName(@Nullable String value)
      Sets the name property value. Optional. Filename of the remote item. Read-only.
      Parameters:
      value - Value to set for the name property.
    • setOdataType

      public void setOdataType(@Nullable String value)
      Sets the @odata.type property value. The OdataType property
      Parameters:
      value - Value to set for the @odata.type property.
    • setPackage

      public void setPackage(@Nullable PackageEscaped value)
      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

      public void setParentReference(@Nullable ItemReference value)
      Sets the parentReference property value. Properties of the parent of the remote item. Read-only.
      Parameters:
      value - Value to set for the parentReference property.
    • setShared

      public void setShared(@Nullable Shared value)
      Sets the shared property value. Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only.
      Parameters:
      value - Value to set for the shared property.
    • setSharepointIds

      public void setSharepointIds(@Nullable SharepointIds value)
      Sets the sharepointIds property value. Provides interop between items in OneDrive for Business and SharePoint with the full set of item identifiers. Read-only.
      Parameters:
      value - Value to set for the sharepointIds property.
    • setSize

      public void setSize(@Nullable Long value)
      Sets the size property value. Size of the remote item. Read-only.
      Parameters:
      value - Value to set for the size property.
    • setSpecialFolder

      public void setSpecialFolder(@Nullable SpecialFolder value)
      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

      public void setVideo(@Nullable Video value)
      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

      public void setWebDavUrl(@Nullable String value)
      Sets the webDavUrl property value. DAV compatible URL for the item.
      Parameters:
      value - Value to set for the webDavUrl property.
    • setWebUrl

      public void setWebUrl(@Nullable String value)
      Sets the webUrl property value. URL that displays the resource in the browser. Read-only.
      Parameters:
      value - Value to set for the webUrl property.