Added "type" to Trailer
This commit is contained in:
@@ -38,8 +38,8 @@ public class Trailer extends AbstractJsonMapping {
|
||||
private String size;
|
||||
private String source;
|
||||
private String website; // The website of the trailer
|
||||
private String type;
|
||||
|
||||
//<editor-fold defaultstate="collapsed" desc="Getter methods">
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
@@ -56,6 +56,10 @@ public class Trailer extends AbstractJsonMapping {
|
||||
return website;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
@@ -72,6 +76,10 @@ public class Trailer extends AbstractJsonMapping {
|
||||
this.website = website;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (obj == null) {
|
||||
|
||||
Reference in New Issue
Block a user