Serializable account
This commit is contained in:
@@ -22,9 +22,8 @@ package com.omertron.themoviedbapi.model.account;
|
||||
import com.omertron.themoviedbapi.model.AbstractJsonMapping;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.omertron.themoviedbapi.interfaces.Identification;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class Account extends AbstractJsonMapping implements Serializable, Identification {
|
||||
public class Account extends AbstractJsonMapping implements Identification {
|
||||
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
|
||||
@@ -20,8 +20,9 @@
|
||||
package com.omertron.themoviedbapi.model.account;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.omertron.themoviedbapi.model.AbstractJsonMapping;
|
||||
|
||||
public class Avatar {
|
||||
public class Avatar extends AbstractJsonMapping {
|
||||
|
||||
@JsonProperty("gravatar")
|
||||
private Hash hash = null;
|
||||
|
||||
@@ -20,8 +20,9 @@
|
||||
package com.omertron.themoviedbapi.model.account;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.omertron.themoviedbapi.model.AbstractJsonMapping;
|
||||
|
||||
public class Hash {
|
||||
public class Hash extends AbstractJsonMapping {
|
||||
|
||||
@JsonProperty("hash")
|
||||
private String hash;
|
||||
|
||||
Reference in New Issue
Block a user