
com.targomo.client.api.pojo.EdgeStatisticsReachabilityRequestOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
Java client library for easy usage of Targomo web services.
The newest version!
package com.targomo.client.api.pojo;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.targomo.client.api.TravelOptions;
import com.targomo.client.api.enums.EdgeStatisticAggregationType;
import com.targomo.client.api.json.TravelOptionsSerializer;
import lombok.*;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
* Parameters for an edge statistics reachability request.
*/
@Getter @Setter
@EqualsAndHashCode
@AllArgsConstructor @NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonIgnoreProperties(ignoreUnknown = true)
public class EdgeStatisticsReachabilityRequestOptions {
Set edgeStatisticIds;
// Map of aggregations id to a list of statistics ids to aggregate
private Map> aggregateEdgeStatisticIds;
// Type of aggregation
private EdgeStatisticAggregationType aggregationType;
// Road classes that will be ignored
private List ignoreRoadClasses;
// If true, reachability will be calculated even when using fly mode and only reachable edges considered
private boolean calculateReachabilityInFlyMode;
@JsonSerialize(using = TravelOptionsSerializer.class)
TravelOptions routingOptions;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy