Class MicrosoftGraphRemoteItem


  • public final class MicrosoftGraphRemoteItem
    extends Object
    remoteItem.
    • Constructor Detail

      • MicrosoftGraphRemoteItem

        public MicrosoftGraphRemoteItem()
    • Method Detail

      • createdBy

        public MicrosoftGraphIdentitySet createdBy()
        Get the createdBy property: identitySet.
        Returns:
        the createdBy value.
      • withCreatedBy

        public MicrosoftGraphRemoteItem withCreatedBy​(MicrosoftGraphIdentitySet createdBy)
        Set the createdBy property: identitySet.
        Parameters:
        createdBy - the createdBy value to set.
        Returns:
        the MicrosoftGraphRemoteItem object itself.
      • createdDateTime

        public OffsetDateTime createdDateTime()
        Get the createdDateTime property: Date and time of item creation. Read-only.
        Returns:
        the createdDateTime value.
      • withCreatedDateTime

        public MicrosoftGraphRemoteItem withCreatedDateTime​(OffsetDateTime createdDateTime)
        Set the createdDateTime property: Date and time of item creation. Read-only.
        Parameters:
        createdDateTime - the createdDateTime value to set.
        Returns:
        the MicrosoftGraphRemoteItem object itself.
      • file

        public MicrosoftGraphFile file()
        Get the file property: file.
        Returns:
        the file value.
      • fileSystemInfo

        public MicrosoftGraphFileSystemInfo fileSystemInfo()
        Get the fileSystemInfo property: fileSystemInfo.
        Returns:
        the fileSystemInfo value.
      • withFileSystemInfo

        public MicrosoftGraphRemoteItem withFileSystemInfo​(MicrosoftGraphFileSystemInfo fileSystemInfo)
        Set the fileSystemInfo property: fileSystemInfo.
        Parameters:
        fileSystemInfo - the fileSystemInfo value to set.
        Returns:
        the MicrosoftGraphRemoteItem object itself.
      • folder

        public MicrosoftGraphFolder folder()
        Get the folder property: folder.
        Returns:
        the folder value.
      • withFolder

        public MicrosoftGraphRemoteItem withFolder​(MicrosoftGraphFolder folder)
        Set the folder property: folder.
        Parameters:
        folder - the folder value to set.
        Returns:
        the MicrosoftGraphRemoteItem object itself.
      • id

        public String id()
        Get the id property: Unique identifier for the remote item in its drive. Read-only.
        Returns:
        the id value.
      • withId

        public MicrosoftGraphRemoteItem withId​(String id)
        Set the id property: Unique identifier for the remote item in its drive. Read-only.
        Parameters:
        id - the id value to set.
        Returns:
        the MicrosoftGraphRemoteItem object itself.
      • image

        public MicrosoftGraphImage image()
        Get the image property: image.
        Returns:
        the image value.
      • lastModifiedBy

        public MicrosoftGraphIdentitySet lastModifiedBy()
        Get the lastModifiedBy property: identitySet.
        Returns:
        the lastModifiedBy value.
      • withLastModifiedBy

        public MicrosoftGraphRemoteItem withLastModifiedBy​(MicrosoftGraphIdentitySet lastModifiedBy)
        Set the lastModifiedBy property: identitySet.
        Parameters:
        lastModifiedBy - the lastModifiedBy value to set.
        Returns:
        the MicrosoftGraphRemoteItem object itself.
      • lastModifiedDateTime

        public OffsetDateTime lastModifiedDateTime()
        Get the lastModifiedDateTime property: Date and time the item was last modified. Read-only.
        Returns:
        the lastModifiedDateTime value.
      • withLastModifiedDateTime

        public MicrosoftGraphRemoteItem withLastModifiedDateTime​(OffsetDateTime lastModifiedDateTime)
        Set the lastModifiedDateTime property: Date and time the item was last modified. Read-only.
        Parameters:
        lastModifiedDateTime - the lastModifiedDateTime value to set.
        Returns:
        the MicrosoftGraphRemoteItem object itself.
      • name

        public String name()
        Get the name property: Optional. Filename of the remote item. Read-only.
        Returns:
        the name value.
      • withName

        public MicrosoftGraphRemoteItem withName​(String name)
        Set the name property: Optional. Filename of the remote item. Read-only.
        Parameters:
        name - the name value to set.
        Returns:
        the MicrosoftGraphRemoteItem object itself.
      • packageProperty

        public MicrosoftGraphPackage packageProperty()
        Get the packageProperty property: package.
        Returns:
        the packageProperty value.
      • withPackageProperty

        public MicrosoftGraphRemoteItem withPackageProperty​(MicrosoftGraphPackage packageProperty)
        Set the packageProperty property: package.
        Parameters:
        packageProperty - the packageProperty value to set.
        Returns:
        the MicrosoftGraphRemoteItem object itself.
      • parentReference

        public MicrosoftGraphItemReference parentReference()
        Get the parentReference property: itemReference.
        Returns:
        the parentReference value.
      • withParentReference

        public MicrosoftGraphRemoteItem withParentReference​(MicrosoftGraphItemReference parentReference)
        Set the parentReference property: itemReference.
        Parameters:
        parentReference - the parentReference value to set.
        Returns:
        the MicrosoftGraphRemoteItem object itself.
      • shared

        public MicrosoftGraphShared shared()
        Get the shared property: shared.
        Returns:
        the shared value.
      • withShared

        public MicrosoftGraphRemoteItem withShared​(MicrosoftGraphShared shared)
        Set the shared property: shared.
        Parameters:
        shared - the shared value to set.
        Returns:
        the MicrosoftGraphRemoteItem object itself.
      • sharepointIds

        public MicrosoftGraphSharepointIds sharepointIds()
        Get the sharepointIds property: sharepointIds.
        Returns:
        the sharepointIds value.
      • withSharepointIds

        public MicrosoftGraphRemoteItem withSharepointIds​(MicrosoftGraphSharepointIds sharepointIds)
        Set the sharepointIds property: sharepointIds.
        Parameters:
        sharepointIds - the sharepointIds value to set.
        Returns:
        the MicrosoftGraphRemoteItem object itself.
      • size

        public Long size()
        Get the size property: Size of the remote item. Read-only.
        Returns:
        the size value.
      • withSize

        public MicrosoftGraphRemoteItem withSize​(Long size)
        Set the size property: Size of the remote item. Read-only.
        Parameters:
        size - the size value to set.
        Returns:
        the MicrosoftGraphRemoteItem object itself.
      • specialFolder

        public MicrosoftGraphSpecialFolder specialFolder()
        Get the specialFolder property: specialFolder.
        Returns:
        the specialFolder value.
      • withSpecialFolder

        public MicrosoftGraphRemoteItem withSpecialFolder​(MicrosoftGraphSpecialFolder specialFolder)
        Set the specialFolder property: specialFolder.
        Parameters:
        specialFolder - the specialFolder value to set.
        Returns:
        the MicrosoftGraphRemoteItem object itself.
      • video

        public MicrosoftGraphVideo video()
        Get the video property: video.
        Returns:
        the video value.
      • webDavUrl

        public String webDavUrl()
        Get the webDavUrl property: DAV compatible URL for the item.
        Returns:
        the webDavUrl value.
      • withWebDavUrl

        public MicrosoftGraphRemoteItem withWebDavUrl​(String webDavUrl)
        Set the webDavUrl property: DAV compatible URL for the item.
        Parameters:
        webDavUrl - the webDavUrl value to set.
        Returns:
        the MicrosoftGraphRemoteItem object itself.
      • webUrl

        public String webUrl()
        Get the webUrl property: URL that displays the resource in the browser. Read-only.
        Returns:
        the webUrl value.
      • withWebUrl

        public MicrosoftGraphRemoteItem withWebUrl​(String webUrl)
        Set the webUrl property: URL that displays the resource in the browser. Read-only.
        Parameters:
        webUrl - the webUrl value to set.
        Returns:
        the MicrosoftGraphRemoteItem object itself.
      • additionalProperties

        public Map<String,​Object> additionalProperties()
        Get the additionalProperties property: remoteItem.
        Returns:
        the additionalProperties value.
      • withAdditionalProperties

        public MicrosoftGraphRemoteItem withAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: remoteItem.
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the MicrosoftGraphRemoteItem object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.