Package | Description |
---|---|
foundation.greensoftware.carbonaware.webapi.client | |
org.openapitools.client.model |
Modifier and Type | Method and Description |
---|---|
CarbonIntensityDTO |
CarbonAwareApi.getAverageCarbonIntensity(String location,
OffsetDateTime startTime,
OffsetDateTime endTime)
Retrieves the measured carbon intensity data between the time boundaries and calculates the average carbon intensity during that period.
|
Modifier and Type | Method and Description |
---|---|
List<CarbonIntensityDTO> |
CarbonAwareApi.getAverageCarbonIntensityBatch(List<CarbonIntensityBatchParametersDTO> carbonIntensityBatchParametersDTO)
Given an array of request objects, each with their own location and time boundaries, calculate the average carbon intensity for that location and time period and return an array of carbon intensity objects.
|
ApiResponse<List<CarbonIntensityDTO>> |
CarbonAwareApi.getAverageCarbonIntensityBatchWithHttpInfo(List<CarbonIntensityBatchParametersDTO> carbonIntensityBatchParametersDTO)
Given an array of request objects, each with their own location and time boundaries, calculate the average carbon intensity for that location and time period and return an array of carbon intensity objects.
|
ApiResponse<CarbonIntensityDTO> |
CarbonAwareApi.getAverageCarbonIntensityWithHttpInfo(String location,
OffsetDateTime startTime,
OffsetDateTime endTime)
Retrieves the measured carbon intensity data between the time boundaries and calculates the average carbon intensity during that period.
|
Modifier and Type | Method and Description |
---|---|
okhttp3.Call |
CarbonAwareApi.getAverageCarbonIntensityAsync(String location,
OffsetDateTime startTime,
OffsetDateTime endTime,
ApiCallback<CarbonIntensityDTO> _callback)
Retrieves the measured carbon intensity data between the time boundaries and calculates the average carbon intensity during that period.
|
okhttp3.Call |
CarbonAwareApi.getAverageCarbonIntensityBatchAsync(List<CarbonIntensityBatchParametersDTO> carbonIntensityBatchParametersDTO,
ApiCallback<List<CarbonIntensityDTO>> _callback)
Given an array of request objects, each with their own location and time boundaries, calculate the average carbon intensity for that location and time period and return an array of carbon intensity objects.
|
Modifier and Type | Method and Description |
---|---|
CarbonIntensityDTO |
CarbonIntensityDTO.carbonIntensity(Double carbonIntensity) |
CarbonIntensityDTO |
CarbonIntensityDTO.endTime(OffsetDateTime endTime) |
static CarbonIntensityDTO |
CarbonIntensityDTO.fromJson(String jsonString)
Create an instance of CarbonIntensityDTO given an JSON string
|
CarbonIntensityDTO |
CarbonIntensityDTO.location(String location) |
CarbonIntensityDTO |
CarbonIntensityDTO.startTime(OffsetDateTime startTime) |
Copyright © 2024. All rights reserved.