admin
2021-08-27 8fee151ffae0c3818694b7318583814bf92663e2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
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;
        }
    }
 
}