Class UploadInitResponse

java.lang.Object
dev.dosya.sdk.model.UploadInitResponse

public final class UploadInitResponse extends Object
Response returned when initializing an upload session.

Contains the session ID, upload URL for single-part uploads, and resumable configuration for multipart uploads.

Since:
0.1.0
  • Method Details

    • getSessionId

      @NotNull public @NotNull String getSessionId()
    • getUploadUrl

      @Nullable public @Nullable String getUploadUrl()
    • getWorkspaceId

      @NotNull public @NotNull String getWorkspaceId()
    • getFileName

      @NotNull public @NotNull String getFileName()
    • getFileSize

      public long getFileSize()
    • getMimeType

      @NotNull public @NotNull String getMimeType()
    • getExtension

      @NotNull public @NotNull String getExtension()
    • getRegion

      @NotNull public @NotNull String getRegion()
    • getResumable

      @Nullable public @Nullable UploadInitResponse.Resumable getResumable()