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

com.zopen.aliyun.vod.dto.AliyunVodPreUploadResp Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
package com.zopen.aliyun.vod.dto;

import com.aliyuncs.vod.model.v20170321.CreateUploadVideoResponse;
import com.aliyuncs.vod.model.v20170321.RefreshUploadVideoResponse;

/**
 * 视频上传地址和凭证
 *
 * @author [email protected]
 * @since 2020/3/3
 */
public class AliyunVodPreUploadResp {

    private String videoId;

    private String uploadAddress;

    private String uploadAuth;

    public AliyunVodPreUploadResp(CreateUploadVideoResponse createUploadVideoResponse) {
        this.videoId = createUploadVideoResponse.getVideoId();
        this.uploadAddress = createUploadVideoResponse.getUploadAddress();
        this.uploadAuth = createUploadVideoResponse.getUploadAuth();
    }

    public AliyunVodPreUploadResp(RefreshUploadVideoResponse refreshUploadVideoResponse) {
        this.videoId = refreshUploadVideoResponse.getVideoId();
        this.uploadAddress = refreshUploadVideoResponse.getUploadAddress();
        this.uploadAuth = refreshUploadVideoResponse.getUploadAuth();
    }

    public String getVideoId() {
        return videoId;
    }

    public void setVideoId(String videoId) {
        this.videoId = videoId;
    }

    public String getUploadAddress() {
        return uploadAddress;
    }

    public void setUploadAddress(String uploadAddress) {
        this.uploadAddress = uploadAddress;
    }

    public String getUploadAuth() {
        return uploadAuth;
    }

    public void setUploadAuth(String uploadAuth) {
        this.uploadAuth = uploadAuth;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy