public class

Chunk

extends Object
implements Serializable
java.lang.Object
   ↳ org.mule.modules.dropbox.model.Chunk

Class Overview

Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com The software in this package is published under the terms of the CPAL v1.0 license, a copy of which has been included with this distribution in the LICENSE.md file.

Summary

Constants
long serialVersionUID
Fields
private String expires The expiration date for this upload session.
private Long offset The byte offset of this chunk, relative to the beginning of the full file.
private String uploadId The unique ID of the in-progress upload on the server.
Public Constructors
Chunk()
Public Methods
String getExpires()
Long getOffset()
String getUploadId()
void setExpires(String expires)
void setOffset(Long offset)
void setUploadId(String uploadId)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: -1 (0xffffffffffffffff)

Fields

private String expires

The expiration date for this upload session.

private Long offset

The byte offset of this chunk, relative to the beginning of the full file. The server will verify that this matches the offset it expects. If it does not, the server will return an error with the expected offset.

private String uploadId

The unique ID of the in-progress upload on the server. If left blank, the server will create a new upload session.

Public Constructors

public Chunk ()

Public Methods

public String getExpires ()

public Long getOffset ()

public String getUploadId ()

public void setExpires (String expires)

Parameters
expires

public void setOffset (Long offset)

Parameters
offset

public void setUploadId (String uploadId)

Parameters
uploadId