-
-
Save henesgokdag/55bcde53579998297a86679b5b4b4a4e to your computer and use it in GitHub Desktop.
RestAssured-RickAndMortyApi_Location.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Models; | |
import org.codehaus.jackson.annotate.JsonIgnoreProperties; | |
import org.codehaus.jackson.annotate.JsonProperty; | |
import org.codehaus.jackson.annotate.JsonPropertyOrder; | |
import org.codehaus.jackson.map.annotate.JsonSerialize; | |
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) | |
@JsonPropertyOrder({ | |
"name" | |
}) | |
@JsonIgnoreProperties(ignoreUnknown = true) | |
public class Location { | |
@JsonProperty("name") | |
String name; | |
public String getName() { return name; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment