generator.server.springboot.springcloud.gateway.java.RouteVM.mustache Maven / Gradle / Ivy
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;
}
}