|
|
|
|
@ -20,9 +20,7 @@
|
|
|
|
|
package com.omertron.themoviedbapi.wrapper;
|
|
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonCreator;
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
|
import com.fasterxml.jackson.core.type.TypeReference;
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
@ -34,9 +32,6 @@ import java.util.List;
|
|
|
|
|
*/
|
|
|
|
|
public class WrapperGenericList<T> extends AbstractWrapperAll implements Serializable {
|
|
|
|
|
|
|
|
|
|
@JsonIgnore
|
|
|
|
|
private final TypeReference typeRef = new TypeReference<WrapperGenericList<T>>() {
|
|
|
|
|
};
|
|
|
|
|
@JsonProperty("results")
|
|
|
|
|
private List<T> results;
|
|
|
|
|
|
|
|
|
|
@ -48,8 +43,4 @@ public class WrapperGenericList<T> extends AbstractWrapperAll implements Seriali
|
|
|
|
|
public void setResults(List<T> results) {
|
|
|
|
|
this.results = results;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public TypeReference getTypeRef() {
|
|
|
|
|
return typeRef;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|