Class Metadata.Builder

    • Field Detail

      • name

        protected final java.lang.String name
      • pathLower

        protected java.lang.String pathLower
      • pathDisplay

        protected java.lang.String pathDisplay
      • parentSharedFolderId

        protected java.lang.String parentSharedFolderId
      • previewUrl

        protected java.lang.String previewUrl
    • Constructor Detail

      • Builder

        protected Builder​(java.lang.String name)
    • Method Detail

      • withPathLower

        public Metadata.Builder withPathLower​(java.lang.String pathLower)
        Set value for optional field.
        Parameters:
        pathLower - The lowercased full path in the user's Dropbox. This always starts with a slash. This field will be null if the file or folder is not mounted.
        Returns:
        this builder
      • withPathDisplay

        public Metadata.Builder withPathDisplay​(java.lang.String pathDisplay)
        Set value for optional field.
        Parameters:
        pathDisplay - The cased path to be used for display purposes only. In rare instances the casing will not correctly match the user's filesystem, but this behavior will match the path provided in the Core API v1, and at least the last path component will have the correct casing. Changes to only the casing of paths won't be returned by DbxAppFilesRequests.listFolderContinue(String). This field will be null if the file or folder is not mounted.
        Returns:
        this builder
      • withPreviewUrl

        public Metadata.Builder withPreviewUrl​(java.lang.String previewUrl)
        Set value for optional field.
        Parameters:
        previewUrl - The preview URL of the file.
        Returns:
        this builder
      • build

        public Metadata build()
        Builds an instance of Metadata configured with this builder's values
        Returns:
        new instance of Metadata