Easy access for TheMovieDB {info.adult} property
This commit is contained in:
parent
5c7a6af77f
commit
773c5d447d
|
@ -90,6 +90,10 @@ public class MovieInfo implements Crew, Serializable {
|
|||
return get(Property.certification); // e.g. PG-13
|
||||
}
|
||||
|
||||
public boolean isAdult() {
|
||||
return get(Property.adult, Boolean::parseBoolean);
|
||||
}
|
||||
|
||||
public String getTagline() {
|
||||
return get(Property.tagline);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue