com.zopen.aliyun.vod.dto.AliyunVodPreUploadResp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zopen-ato-starter Show documentation
Show all versions of zopen-ato-starter Show documentation
Alibaba Tencent And Others For Spring Boot.
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;
}
}