All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eleme.openapi.sdk.media.upload.BaseUploadRequest Maven / Gradle / Ivy

The newest version!
package eleme.openapi.sdk.media.upload;

import java.io.Serializable;

/**
 * @author jinli Feb 5, 2015
 */
public class BaseUploadRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    private String token;               // upload token
    private String localFileName;       // 本地文件名
    private UploadPolicy uploadPolicy;  // upload policy

    public BaseUploadRequest() {
    }

    public BaseUploadRequest(String token) {
        this.token = token;
    }

    public BaseUploadRequest(UploadPolicy uploadPolicy) {
        this.uploadPolicy = uploadPolicy;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public UploadPolicy getUploadPolicy() {
        return uploadPolicy;
    }

    public void setUploadPolicy(UploadPolicy uploadPolicy) {
        this.uploadPolicy = uploadPolicy;
    }

    public String getLocalFileName() {
        return localFileName;
    }

    public void setLocalFileName(String localFileName) {
        this.localFileName = localFileName;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy