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

generator.server.springboot.springcloud.gateway.java.RouteVM.mustache Maven / Gradle / Ivy

There is a newer version: 1.22.0
Show newest version
package {{packageName}}.wire.gateway.infrastructure.primary.vm;

import java.util.List;
import org.springframework.cloud.client.ServiceInstance;

/**
 * View Model that stores a route managed by the Gateway.
 */
public class RouteVM {

  private String path;

  private String serviceId;

  private List serviceInstances;

  public String getPath() {
    return path;
  }

  public void setPath(String path) {
    this.path = path;
  }

  public String getServiceId() {
    return serviceId;
  }

  public void setServiceId(String serviceId) {
    this.serviceId = serviceId;
  }

  public List getServiceInstances() {
    return serviceInstances;
  }

  public void setServiceInstances(List serviceInstances) {
    this.serviceInstances = serviceInstances;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy