package com.yeshi.buwan.vo.video;
|
|
import com.google.gson.annotations.Expose;
|
import com.yeshi.buwan.domain.VideoInfoDetail;
|
|
public class VideoDetailVO {
|
//视频信息
|
@Expose
|
private VideoInfoDetail video;
|
@Expose
|
private VideoAdInfo adInfo;
|
@Expose
|
private AttentionInfo attention;
|
|
@Expose
|
private String sessionId;
|
|
|
public VideoDetailVO(VideoInfoDetail video, VideoAdInfo adInfo, AttentionInfo attention, String sessionId) {
|
this.video = video;
|
this.adInfo = adInfo;
|
this.attention = attention;
|
this.sessionId = sessionId;
|
}
|
|
public VideoInfoDetail getVideo() {
|
return video;
|
}
|
|
public void setVideo(VideoInfoDetail video) {
|
this.video = video;
|
}
|
|
public VideoAdInfo getAdInfo() {
|
return adInfo;
|
}
|
|
public void setAdInfo(VideoAdInfo adInfo) {
|
this.adInfo = adInfo;
|
}
|
|
|
public AttentionInfo getAttention() {
|
return attention;
|
}
|
|
public void setAttention(AttentionInfo attention) {
|
this.attention = attention;
|
}
|
|
public static class VideoAdInfo {
|
//播放前贴广告
|
@Expose
|
private boolean playVideo;
|
//全屏视频广告
|
@Expose
|
private boolean fullVideo;
|
//全屏视频广告比例
|
@Expose
|
private int fullVideoWeight;
|
//插屏广告比例
|
@Expose
|
private int interstitialWeight;
|
|
|
public VideoAdInfo(boolean playVideo, boolean fullVideo) {
|
this.playVideo = playVideo;
|
this.fullVideo = fullVideo;
|
}
|
|
public int getFullVideoWeight() {
|
return fullVideoWeight;
|
}
|
|
public void setFullVideoWeight(int fullVideoWeight) {
|
this.fullVideoWeight = fullVideoWeight;
|
}
|
|
public int getInterstitialWeight() {
|
return interstitialWeight;
|
}
|
|
public void setInterstitialWeight(int interstitialWeight) {
|
this.interstitialWeight = interstitialWeight;
|
}
|
|
public boolean isPlayVideo() {
|
return playVideo;
|
}
|
|
public void setPlayVideo(boolean playVideo) {
|
this.playVideo = playVideo;
|
}
|
|
public boolean isFullVideo() {
|
return fullVideo;
|
}
|
|
public void setFullVideo(boolean fullVideo) {
|
this.fullVideo = fullVideo;
|
}
|
}
|
|
public static class AttentionInfo {
|
@Expose
|
private String name;
|
@Expose
|
private String picture;
|
@Expose
|
private String updateInfo;
|
@Expose
|
private boolean attention;
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getPicture() {
|
return picture;
|
}
|
|
public void setPicture(String picture) {
|
this.picture = picture;
|
}
|
|
public String getUpdateInfo() {
|
return updateInfo;
|
}
|
|
public void setUpdateInfo(String updateInfo) {
|
this.updateInfo = updateInfo;
|
}
|
|
public boolean isAttention() {
|
return attention;
|
}
|
|
public void setAttention(boolean attention) {
|
this.attention = attention;
|
}
|
}
|
|
}
|