com.graphhopper.api.vrp.client.model.Relation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of directions-api-vrp-java-client Show documentation
Show all versions of directions-api-vrp-java-client Show documentation
The Java client for the GraphHopper Route Optimization API
package com.graphhopper.api.vrp.client.model;
import com.graphhopper.api.vrp.client.StringUtil;
import java.util.*;
import io.swagger.annotations.*;
import com.fasterxml.jackson.annotation.JsonProperty;
@ApiModel(description = "")
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2015-10-19T11:09:20.969+02:00")
public class Relation {
private String type = null;
private List ids = new ArrayList();
/**
* identifier of relation
**/
@ApiModelProperty(value = "identifier of relation")
@JsonProperty("type")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
/**
* An array of ids that should be related
**/
@ApiModelProperty(value = "An array of ids that should be related")
@JsonProperty("ids")
public List getIds() {
return ids;
}
public void setIds(List ids) {
this.ids = ids;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Relation {\n");
sb.append(" type: ").append(StringUtil.toIndentedString(type)).append("\n");
sb.append(" ids: ").append(StringUtil.toIndentedString(ids)).append("\n");
sb.append("}");
return sb.toString();
}
}