Class RatioResponse
java.lang.Object
org.heigit.ohsome.ohsomeapi.output.ratio.RatioResponse
- All Implemented Interfaces:
Response
Represents the whole JSON response object for the data aggregation response using the /ratio
resource. It contains the license and copyright, optional
Metadata
, as well as the results section showing
RatioResult
objects.-
Constructor Summary
ConstructorDescriptionRatioResponse
(Attribution attribution, String apiVersion, Metadata metadata, RatioResult[] ratioResult) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
RatioResponse
public RatioResponse(Attribution attribution, String apiVersion, Metadata metadata, RatioResult[] ratioResult)
-
-
Method Details
-
getAttribution
- Specified by:
getAttribution
in interfaceResponse
-
getApiVersion
- Specified by:
getApiVersion
in interfaceResponse
-
getMetadata
- Specified by:
getMetadata
in interfaceResponse
-
getRatioResult
-