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

com.targomo.client.api.pojo.EdgeStatisticsRequestOptions Maven / Gradle / Ivy

The newest version!
package com.targomo.client.api.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.targomo.client.api.enums.EdgeStatisticDirection;
import com.targomo.client.api.enums.TravelType;
import com.targomo.client.api.geo.DefaultTargetCoordinate;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * Parameters for an edge statistics location request.
 */
@Getter @Setter
@AllArgsConstructor @NoArgsConstructor
public class EdgeStatisticsRequestOptions {

    private List edgeStatisticIds = new ArrayList<>();

    private Integer radius = 100;
    private TravelType travelType = TravelType.CAR;
    private EdgeStatisticDirection direction = EdgeStatisticDirection.ANY;
    private List ignoreRoadClasses = new ArrayList<>();

    @JsonIgnoreProperties({"travelType", "properties", "travelTypes"})
    private List locations = new ArrayList<>();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy