From 359a0d56a3efcf86d1e3c0f73314d7c793de5487 Mon Sep 17 00:00:00 2001 From: Stuart Boston Date: Fri, 1 Nov 2013 12:29:55 +0000 Subject: [PATCH] Added "type" to Trailer --- .../java/com/omertron/themoviedbapi/model/Trailer.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/omertron/themoviedbapi/model/Trailer.java b/src/main/java/com/omertron/themoviedbapi/model/Trailer.java index bb57d2ead..503404657 100644 --- a/src/main/java/com/omertron/themoviedbapi/model/Trailer.java +++ b/src/main/java/com/omertron/themoviedbapi/model/Trailer.java @@ -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; - // 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) {