Class MicrosoftGraphDrive

    • Constructor Detail

      • MicrosoftGraphDrive

        public MicrosoftGraphDrive()
    • Method Detail

      • driveType

        public String driveType()
        Get the driveType property: Describes the type of drive represented by this resource. OneDrive personal drives will return personal. OneDrive for Business will return business. SharePoint document libraries will return documentLibrary. Read-only.
        Returns:
        the driveType value.
      • withDriveType

        public MicrosoftGraphDrive withDriveType​(String driveType)
        Set the driveType property: Describes the type of drive represented by this resource. OneDrive personal drives will return personal. OneDrive for Business will return business. SharePoint document libraries will return documentLibrary. Read-only.
        Parameters:
        driveType - the driveType value to set.
        Returns:
        the MicrosoftGraphDrive object itself.
      • quota

        public MicrosoftGraphQuota quota()
        Get the quota property: quota.
        Returns:
        the quota value.
      • withQuota

        public MicrosoftGraphDrive withQuota​(MicrosoftGraphQuota quota)
        Set the quota property: quota.
        Parameters:
        quota - the quota value to set.
        Returns:
        the MicrosoftGraphDrive object itself.
      • sharePointIds

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

        public MicrosoftGraphDrive withSharePointIds​(MicrosoftGraphSharepointIds sharePointIds)
        Set the sharePointIds property: sharepointIds.
        Parameters:
        sharePointIds - the sharePointIds value to set.
        Returns:
        the MicrosoftGraphDrive object itself.
      • system

        public Map<String,​Object> system()
        Get the system property: systemFacet.
        Returns:
        the system value.
      • withSystem

        public MicrosoftGraphDrive withSystem​(Map<String,​Object> system)
        Set the system property: systemFacet.
        Parameters:
        system - the system value to set.
        Returns:
        the MicrosoftGraphDrive object itself.
      • following

        public List<MicrosoftGraphDriveItem> following()
        Get the following property: The list of items the user is following. Only in OneDrive for Business.
        Returns:
        the following value.
      • withFollowing

        public MicrosoftGraphDrive withFollowing​(List<MicrosoftGraphDriveItem> following)
        Set the following property: The list of items the user is following. Only in OneDrive for Business.
        Parameters:
        following - the following value to set.
        Returns:
        the MicrosoftGraphDrive object itself.
      • items

        public List<MicrosoftGraphDriveItem> items()
        Get the items property: All items contained in the drive. Read-only. Nullable.
        Returns:
        the items value.
      • withItems

        public MicrosoftGraphDrive withItems​(List<MicrosoftGraphDriveItem> items)
        Set the items property: All items contained in the drive. Read-only. Nullable.
        Parameters:
        items - the items value to set.
        Returns:
        the MicrosoftGraphDrive object itself.
      • list

        public MicrosoftGraphList list()
        Get the list property: list.
        Returns:
        the list value.
      • withList

        public MicrosoftGraphDrive withList​(MicrosoftGraphList list)
        Set the list property: list.
        Parameters:
        list - the list value to set.
        Returns:
        the MicrosoftGraphDrive object itself.
      • special

        public List<MicrosoftGraphDriveItem> special()
        Get the special property: Collection of common folders available in OneDrive. Read-only. Nullable.
        Returns:
        the special value.
      • withSpecial

        public MicrosoftGraphDrive withSpecial​(List<MicrosoftGraphDriveItem> special)
        Set the special property: Collection of common folders available in OneDrive. Read-only. Nullable.
        Parameters:
        special - the special value to set.
        Returns:
        the MicrosoftGraphDrive object itself.
      • withDescription

        public MicrosoftGraphDrive withDescription​(String description)
        Set the description property: Provides a user-visible description of the item. Optional.
        Overrides:
        withDescription in class MicrosoftGraphBaseItemInner
        Parameters:
        description - the description value to set.
        Returns:
        the MicrosoftGraphBaseItemInner object itself.
      • withWebUrl

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