All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.graphhopper.api.vrp.client.model.Shipment Maven / Gradle / Ivy

There is a newer version: 0.6.0-RC1
Show newest version
package com.graphhopper.api.vrp.client.model;

import com.graphhopper.api.vrp.client.StringUtil;
import com.graphhopper.api.vrp.client.model.Stop;
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 Shipment   {
  
  private String id = null;
  private String name = null;
  private Stop pickup = null;
  private Stop delivery = null;
  private List size = new ArrayList();
  private List requiredSkills = new ArrayList();

  
  /**
   * Unique identifier of service
   **/
  @ApiModelProperty(value = "Unique identifier of service")
  @JsonProperty("id")
  public String getId() {
    return id;
  }
  public void setId(String id) {
    this.id = id;
  }

  
  /**
   * name of shipment
   **/
  @ApiModelProperty(value = "name of shipment")
  @JsonProperty("name")
  public String getName() {
    return name;
  }
  public void setName(String name) {
    this.name = name;
  }

  
  /**
   **/
  @ApiModelProperty(value = "")
  @JsonProperty("pickup")
  public Stop getPickup() {
    return pickup;
  }
  public void setPickup(Stop pickup) {
    this.pickup = pickup;
  }

  
  /**
   **/
  @ApiModelProperty(value = "")
  @JsonProperty("delivery")
  public Stop getDelivery() {
    return delivery;
  }
  public void setDelivery(Stop delivery) {
    this.delivery = delivery;
  }

  
  /**
   * array of capacity dimensions
   **/
  @ApiModelProperty(value = "array of capacity dimensions")
  @JsonProperty("size")
  public List getSize() {
    return size;
  }
  public void setSize(List size) {
    this.size = size;
  }

  
  /**
   * array of required skills
   **/
  @ApiModelProperty(value = "array of required skills")
  @JsonProperty("required_skills")
  public List getRequiredSkills() {
    return requiredSkills;
  }
  public void setRequiredSkills(List requiredSkills) {
    this.requiredSkills = requiredSkills;
  }

  

  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class Shipment {\n");
    
    sb.append("    id: ").append(StringUtil.toIndentedString(id)).append("\n");
    sb.append("    name: ").append(StringUtil.toIndentedString(name)).append("\n");
    sb.append("    pickup: ").append(StringUtil.toIndentedString(pickup)).append("\n");
    sb.append("    delivery: ").append(StringUtil.toIndentedString(delivery)).append("\n");
    sb.append("    size: ").append(StringUtil.toIndentedString(size)).append("\n");
    sb.append("    requiredSkills: ").append(StringUtil.toIndentedString(requiredSkills)).append("\n");
    sb.append("}");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy