MCPcopy Create free account
hub / github.com/FongMi/CatVodSpider / Vod

Class Vod

app/src/main/java/com/github/catvod/bean/Vod.java:6–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import com.google.gson.annotations.SerializedName;
5
6public class Vod {
7
8 @SerializedName("type_name")
9 private String typeName;
10 @SerializedName("vod_id")
11 private String vodId;
12 @SerializedName("vod_name")
13 private String vodName;
14 @SerializedName("vod_pic")
15 private String vodPic;
16 @SerializedName("vod_remarks")
17 private String vodRemarks;
18 @SerializedName("vod_year")
19 private String vodYear;
20 @SerializedName("vod_area")
21 private String vodArea;
22 @SerializedName("vod_actor")
23 private String vodActor;
24 @SerializedName("vod_director")
25 private String vodDirector;
26 @SerializedName("vod_content")
27 private String vodContent;
28 @SerializedName("vod_play_from")
29 private String vodPlayFrom;
30 @SerializedName("vod_play_url")
31 private String vodPlayUrl;
32 @SerializedName("vod_tag")
33 private String vodTag;
34 @SerializedName("action")
35 private String action;
36 @SerializedName("style")
37 private Style style;
38
39 public static Vod objectFrom(String str) {
40 Vod item = new Gson().fromJson(str, Vod.class);
41 return item == null ? new Vod() : item;
42 }
43
44 public static Vod action(String action) {
45 Vod vod = new Vod();
46 vod.action = action;
47 return vod;
48 }
49
50 public Vod() {
51 }
52
53 public Vod(String vodId, String vodName, String vodPic) {
54 setVodId(vodId);
55 setVodName(vodName);
56 setVodPic(vodPic);
57 }
58
59 public Vod(String vodId, String vodName, String vodPic, String vodRemarks) {
60 setVodId(vodId);
61 setVodName(vodName);
62 setVodPic(vodPic);
63 setVodRemarks(vodRemarks);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected