Class FileLogInfo

java.lang.Object
com.dropbox.core.v2.teamlog.FileOrFolderLogInfo
com.dropbox.core.v2.teamlog.FileLogInfo

public class FileLogInfo extends FileOrFolderLogInfo
File's logged information.
  • Constructor Details

    • FileLogInfo

      public FileLogInfo(@Nonnull PathLogInfo path, @Nullable String displayName, @Nullable String fileId, @Nullable Long fileSize)
      File's logged information.

      Use newBuilder(com.dropbox.core.v2.teamlog.PathLogInfo) to create instances of this class without specifying values for all optional fields.

      Parameters:
      path - Path relative to event context. Must not be null.
      displayName - Display name.
      fileId - Unique ID.
      fileSize - File or folder size in bytes.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
    • FileLogInfo

      public FileLogInfo(@Nonnull PathLogInfo path)
      File's logged information.

      The default values for unset fields will be used.

      Parameters:
      path - Path relative to event context. Must not be null.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details