org.mobilitydata.gbfs.v2_2.gbfs.GBFSData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gbfs-java-model Show documentation
Show all versions of gbfs-java-model Show documentation
Generates Java model from GBFS JSON schema using jsonschema2pojo.
The newest version!
package org.mobilitydata.gbfs.v2_2.gbfs;
import java.io.Serializable;
import javax.annotation.processing.Generated;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* Response data in the form of name:value pairs.
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
})
@Generated("jsonschema2pojo")
public class GBFSData implements Serializable
{
private final static long serialVersionUID = -138496419027214426L;
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(GBFSData.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof GBFSData) == false) {
return false;
}
GBFSData rhs = ((GBFSData) other);
return true;
}
}