/src/main/java/com/nearfuturelaboratory/humans/twitter/entities/generated/Place.java
https://github.com/bleeckerj/HumansService · Java · 171 lines · 136 code · 35 blank · 0 comment · 0 complexity · 6871623dd9abeb2ba8cd7bed9e038833 MD5 · raw file
- package com.nearfuturelaboratory.humans.twitter.entities.generated;
- import javax.annotation.Generated;
- import com.google.gson.annotations.Expose;
- import com.google.gson.annotations.SerializedName;
- import org.apache.commons.lang.builder.EqualsBuilder;
- import org.apache.commons.lang.builder.HashCodeBuilder;
- import org.apache.commons.lang.builder.ToStringBuilder;
- import org.mongodb.morphia.annotations.Entity;
- @Generated("org.jsonschema2pojo")
- @Entity(value="place", noClassnameStored = true)
- public class Place {
- @Expose
- private Attributes attributes;
- @SerializedName("bounding_box")
- @Expose
- private BoundingBox boundingBox;
- @Expose
- private String country;
- @SerializedName("country_code")
- @Expose
- private String countryCode;
- @SerializedName("full_name")
- @Expose
- private String fullName;
- @Expose
- private String id;
- @Expose
- private String name;
- @SerializedName("place_type")
- @Expose
- private String placeType;
- @Expose
- private String url;
- public Attributes getAttributes() {
- return attributes;
- }
- public void setAttributes(Attributes attributes) {
- this.attributes = attributes;
- }
- public Place withAttributes(Attributes attributes) {
- this.attributes = attributes;
- return this;
- }
- public BoundingBox getBoundingBox() {
- return boundingBox;
- }
- public void setBoundingBox(BoundingBox boundingBox) {
- this.boundingBox = boundingBox;
- }
- public Place withBoundingBox(BoundingBox boundingBox) {
- this.boundingBox = boundingBox;
- return this;
- }
- public String getCountry() {
- return country;
- }
- public void setCountry(String country) {
- this.country = country;
- }
- public Place withCountry(String country) {
- this.country = country;
- return this;
- }
- public String getCountryCode() {
- return countryCode;
- }
- public void setCountryCode(String countryCode) {
- this.countryCode = countryCode;
- }
- public Place withCountryCode(String countryCode) {
- this.countryCode = countryCode;
- return this;
- }
- public String getFullName() {
- return fullName;
- }
- public void setFullName(String fullName) {
- this.fullName = fullName;
- }
- public Place withFullName(String fullName) {
- this.fullName = fullName;
- return this;
- }
- public String getId() {
- return id;
- }
- public void setId(String id) {
- this.id = id;
- }
- public Place withId(String id) {
- this.id = id;
- return this;
- }
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name;
- }
- public Place withName(String name) {
- this.name = name;
- return this;
- }
- public String getPlaceType() {
- return placeType;
- }
- public void setPlaceType(String placeType) {
- this.placeType = placeType;
- }
- public Place withPlaceType(String placeType) {
- this.placeType = placeType;
- return this;
- }
- public String getUrl() {
- return url;
- }
- public void setUrl(String url) {
- this.url = url;
- }
- public Place withUrl(String url) {
- this.url = url;
- return this;
- }
- @Override
- public String toString() {
- return ToStringBuilder.reflectionToString(this);
- }
- @Override
- public int hashCode() {
- return HashCodeBuilder.reflectionHashCode(this);
- }
- @Override
- public boolean equals(Object other) {
- return EqualsBuilder.reflectionEquals(this, other);
- }
- }