Skip navigation links
A B C D E F G H I J L N O P R S T U V W 

A

AbstractOpenApiSchema - Class in org.openapitools.client.model
Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
AbstractOpenApiSchema(String, Boolean) - Constructor for class org.openapitools.client.model.AbstractOpenApiSchema
 
addDefaultCookie(String, String) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Add a default cookie.
addDefaultHeader(String, String) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Add a default header.
addForecastDataItem(EmissionsDataDTO) - Method in class org.openapitools.client.model.EmissionsForecastDTO
 
addOptimalDataPointsItem(EmissionsDataDTO) - Method in class org.openapitools.client.model.EmissionsForecastDTO
 
ApiCallback<T> - Interface in foundation.greensoftware.carbonaware.webapi
Callback for asynchronous API call.
ApiClient - Class in foundation.greensoftware.carbonaware.webapi
ApiClient class.
ApiClient() - Constructor for class foundation.greensoftware.carbonaware.webapi.ApiClient
Basic constructor for ApiClient
ApiClient(OkHttpClient) - Constructor for class foundation.greensoftware.carbonaware.webapi.ApiClient
Basic constructor with custom OkHttpClient
ApiException - Exception in foundation.greensoftware.carbonaware.webapi
ApiException class.
ApiException() - Constructor for exception foundation.greensoftware.carbonaware.webapi.ApiException
Constructor for ApiException.
ApiException(Throwable) - Constructor for exception foundation.greensoftware.carbonaware.webapi.ApiException
Constructor for ApiException.
ApiException(String) - Constructor for exception foundation.greensoftware.carbonaware.webapi.ApiException
Constructor for ApiException.
ApiException(String, Throwable, int, Map<String, List<String>>, String) - Constructor for exception foundation.greensoftware.carbonaware.webapi.ApiException
Constructor for ApiException.
ApiException(String, int, Map<String, List<String>>, String) - Constructor for exception foundation.greensoftware.carbonaware.webapi.ApiException
Constructor for ApiException.
ApiException(String, Throwable, int, Map<String, List<String>>) - Constructor for exception foundation.greensoftware.carbonaware.webapi.ApiException
Constructor for ApiException.
ApiException(int, Map<String, List<String>>, String) - Constructor for exception foundation.greensoftware.carbonaware.webapi.ApiException
Constructor for ApiException.
ApiException(int, String) - Constructor for exception foundation.greensoftware.carbonaware.webapi.ApiException
Constructor for ApiException.
ApiException(int, String, Map<String, List<String>>, String) - Constructor for exception foundation.greensoftware.carbonaware.webapi.ApiException
Constructor for ApiException.
ApiKeyAuth - Class in foundation.greensoftware.carbonaware.webapi.auth
 
ApiKeyAuth(String, String) - Constructor for class foundation.greensoftware.carbonaware.webapi.auth.ApiKeyAuth
 
ApiResponse<T> - Class in foundation.greensoftware.carbonaware.webapi
API response returned by API call.
ApiResponse(int, Map<String, List<String>>) - Constructor for class foundation.greensoftware.carbonaware.webapi.ApiResponse
Constructor for ApiResponse.
ApiResponse(int, Map<String, List<String>>, T) - Constructor for class foundation.greensoftware.carbonaware.webapi.ApiResponse
Constructor for ApiResponse.
applyToParams(List<Pair>, Map<String, String>, Map<String, String>, String, String, URI) - Method in class foundation.greensoftware.carbonaware.webapi.auth.ApiKeyAuth
 
applyToParams(List<Pair>, Map<String, String>, Map<String, String>, String, String, URI) - Method in interface foundation.greensoftware.carbonaware.webapi.auth.Authentication
Apply authentication settings to header and query params.
applyToParams(List<Pair>, Map<String, String>, Map<String, String>, String, String, URI) - Method in class foundation.greensoftware.carbonaware.webapi.auth.HttpBasicAuth
 
applyToParams(List<Pair>, Map<String, String>, Map<String, String>, String, String, URI) - Method in class foundation.greensoftware.carbonaware.webapi.auth.HttpBearerAuth
 
Authentication - Interface in foundation.greensoftware.carbonaware.webapi.auth
 

B

batchForecastDataAsync(List<EmissionsForecastBatchParametersDTO>) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Given an array of historical forecasts, retrieves the data that contains forecasts metadata, the optimal forecast and a range of forecasts filtered by the attributes [start...end] if provided.
batchForecastDataAsyncAsync(List<EmissionsForecastBatchParametersDTO>, ApiCallback<List<EmissionsForecastDTO>>) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Given an array of historical forecasts, retrieves the data that contains forecasts metadata, the optimal forecast and a range of forecasts filtered by the attributes [start...end] if provided.
batchForecastDataAsyncCall(List<EmissionsForecastBatchParametersDTO>, ApiCallback) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Build call for batchForecastDataAsync
batchForecastDataAsyncWithHttpInfo(List<EmissionsForecastBatchParametersDTO>) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Given an array of historical forecasts, retrieves the data that contains forecasts metadata, the optimal forecast and a range of forecasts filtered by the attributes [start...end] if provided.
buildCall(String, String, String, List<Pair>, List<Pair>, Object, Map<String, String>, Map<String, String>, Map<String, Object>, String[], ApiCallback) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Build HTTP call with the given options.
buildRequest(String, String, String, List<Pair>, List<Pair>, Object, Map<String, String>, Map<String, String>, Map<String, Object>, String[], ApiCallback) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Build an HTTP request with the given options.
buildRequestBodyFormEncoding(Map<String, Object>) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Build a form-encoding request body with the given form parameters.
buildRequestBodyMultipart(Map<String, Object>) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Build a multipart (file uploading) request body with the given form parameters, which could contain text fields and file fields.
buildUrl(String, String, List<Pair>, List<Pair>) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Build full URL by concatenating base path, the given sub path and query parameters.
ByteArrayAdapter() - Constructor for class foundation.greensoftware.carbonaware.webapi.JSON.ByteArrayAdapter
 

C

CarbonAwareApi - Class in foundation.greensoftware.carbonaware.webapi.client
 
CarbonAwareApi() - Constructor for class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
 
CarbonAwareApi(ApiClient) - Constructor for class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
 
carbonIntensity(Double) - Method in class org.openapitools.client.model.CarbonIntensityDTO
 
CarbonIntensityBatchParametersDTO - Class in org.openapitools.client.model
CarbonIntensityBatchParametersDTO
CarbonIntensityBatchParametersDTO() - Constructor for class org.openapitools.client.model.CarbonIntensityBatchParametersDTO
 
CarbonIntensityBatchParametersDTO.CustomTypeAdapterFactory - Class in org.openapitools.client.model
 
CarbonIntensityDTO - Class in org.openapitools.client.model
CarbonIntensityDTO
CarbonIntensityDTO() - Constructor for class org.openapitools.client.model.CarbonIntensityDTO
 
CarbonIntensityDTO.CustomTypeAdapterFactory - Class in org.openapitools.client.model
 
collectionPathParameterToString(String, Collection) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Formats the specified collection path parameter to a string value.
Configuration - Class in foundation.greensoftware.carbonaware.webapi
 
Configuration() - Constructor for class foundation.greensoftware.carbonaware.webapi.Configuration
 
containsIgnoreCase(String[], String) - Static method in class foundation.greensoftware.carbonaware.webapi.StringUtil
Check if the given array contains the given value (with case-insensitive comparison).
contentLength() - Method in class foundation.greensoftware.carbonaware.webapi.ProgressRequestBody
 
contentLength() - Method in class foundation.greensoftware.carbonaware.webapi.ProgressResponseBody
 
contentType() - Method in class foundation.greensoftware.carbonaware.webapi.ProgressRequestBody
 
contentType() - Method in class foundation.greensoftware.carbonaware.webapi.ProgressResponseBody
 
create(Gson, TypeToken<T>) - Method in class org.openapitools.client.model.CarbonIntensityBatchParametersDTO.CustomTypeAdapterFactory
 
create(Gson, TypeToken<T>) - Method in class org.openapitools.client.model.CarbonIntensityDTO.CustomTypeAdapterFactory
 
create(Gson, TypeToken<T>) - Method in class org.openapitools.client.model.EmissionsData.CustomTypeAdapterFactory
 
create(Gson, TypeToken<T>) - Method in class org.openapitools.client.model.EmissionsDataDTO.CustomTypeAdapterFactory
 
create(Gson, TypeToken<T>) - Method in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO.CustomTypeAdapterFactory
 
create(Gson, TypeToken<T>) - Method in class org.openapitools.client.model.EmissionsForecastDTO.CustomTypeAdapterFactory
 
create(Gson, TypeToken<T>) - Method in class org.openapitools.client.model.Location.CustomTypeAdapterFactory
 
create(Gson, TypeToken<T>) - Method in class org.openapitools.client.model.ValidationProblemDetails.CustomTypeAdapterFactory
 
createGson() - Static method in class foundation.greensoftware.carbonaware.webapi.JSON
 
CustomTypeAdapterFactory() - Constructor for class org.openapitools.client.model.CarbonIntensityBatchParametersDTO.CustomTypeAdapterFactory
 
CustomTypeAdapterFactory() - Constructor for class org.openapitools.client.model.CarbonIntensityDTO.CustomTypeAdapterFactory
 
CustomTypeAdapterFactory() - Constructor for class org.openapitools.client.model.EmissionsData.CustomTypeAdapterFactory
 
CustomTypeAdapterFactory() - Constructor for class org.openapitools.client.model.EmissionsDataDTO.CustomTypeAdapterFactory
 
CustomTypeAdapterFactory() - Constructor for class org.openapitools.client.model.EmissionsForecastBatchParametersDTO.CustomTypeAdapterFactory
 
CustomTypeAdapterFactory() - Constructor for class org.openapitools.client.model.EmissionsForecastDTO.CustomTypeAdapterFactory
 
CustomTypeAdapterFactory() - Constructor for class org.openapitools.client.model.Location.CustomTypeAdapterFactory
 
CustomTypeAdapterFactory() - Constructor for class org.openapitools.client.model.ValidationProblemDetails.CustomTypeAdapterFactory
 

D

dataEndAt(OffsetDateTime) - Method in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
 
dataEndAt(OffsetDateTime) - Method in class org.openapitools.client.model.EmissionsForecastDTO
 
dataStartAt(OffsetDateTime) - Method in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
 
dataStartAt(OffsetDateTime) - Method in class org.openapitools.client.model.EmissionsForecastDTO
 
DateTypeAdapter() - Constructor for class foundation.greensoftware.carbonaware.webapi.JSON.DateTypeAdapter
 
DateTypeAdapter(DateFormat) - Constructor for class foundation.greensoftware.carbonaware.webapi.JSON.DateTypeAdapter
 
defaultValue - Variable in class foundation.greensoftware.carbonaware.webapi.ServerVariable
 
description - Variable in class foundation.greensoftware.carbonaware.webapi.ServerConfiguration
 
description - Variable in class foundation.greensoftware.carbonaware.webapi.ServerVariable
 
deserialize(Response, Type) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Deserialize response body to Java object, according to the return type and the Content-Type response header.
deserialize(String, Type) - Static method in class foundation.greensoftware.carbonaware.webapi.JSON
Deserialize the given JSON string to Java object.
detail(String) - Method in class org.openapitools.client.model.ValidationProblemDetails
 
downloadFileFromResponse(Response) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Download file from the given response.
duration(String) - Method in class org.openapitools.client.model.EmissionsData
 
duration(Integer) - Method in class org.openapitools.client.model.EmissionsDataDTO
 

E

EmissionsData - Class in org.openapitools.client.model
EmissionsData
EmissionsData() - Constructor for class org.openapitools.client.model.EmissionsData
 
EmissionsData.CustomTypeAdapterFactory - Class in org.openapitools.client.model
 
EmissionsDataDTO - Class in org.openapitools.client.model
EmissionsDataDTO
EmissionsDataDTO() - Constructor for class org.openapitools.client.model.EmissionsDataDTO
 
EmissionsDataDTO.CustomTypeAdapterFactory - Class in org.openapitools.client.model
 
EmissionsForecastBatchParametersDTO - Class in org.openapitools.client.model
EmissionsForecastBatchParametersDTO
EmissionsForecastBatchParametersDTO() - Constructor for class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
 
EmissionsForecastBatchParametersDTO.CustomTypeAdapterFactory - Class in org.openapitools.client.model
 
EmissionsForecastDTO - Class in org.openapitools.client.model
EmissionsForecastDTO
EmissionsForecastDTO() - Constructor for class org.openapitools.client.model.EmissionsForecastDTO
 
EmissionsForecastDTO.CustomTypeAdapterFactory - Class in org.openapitools.client.model
 
endTime(OffsetDateTime) - Method in class org.openapitools.client.model.CarbonIntensityBatchParametersDTO
 
endTime(OffsetDateTime) - Method in class org.openapitools.client.model.CarbonIntensityDTO
 
enumValues - Variable in class foundation.greensoftware.carbonaware.webapi.ServerVariable
 
equals(Object) - Method in class org.openapitools.client.model.AbstractOpenApiSchema
 
equals(Object) - Method in class org.openapitools.client.model.CarbonIntensityBatchParametersDTO
 
equals(Object) - Method in class org.openapitools.client.model.CarbonIntensityDTO
 
equals(Object) - Method in class org.openapitools.client.model.EmissionsData
 
equals(Object) - Method in class org.openapitools.client.model.EmissionsDataDTO
 
equals(Object) - Method in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
 
equals(Object) - Method in class org.openapitools.client.model.EmissionsForecastDTO
 
equals(Object) - Method in class org.openapitools.client.model.Location
 
equals(Object) - Method in class org.openapitools.client.model.ValidationProblemDetails
 
errors(Map<String, List<String>>) - Method in class org.openapitools.client.model.ValidationProblemDetails
 
escapeString(String) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Escape the given string to be used as URL query value.
execute(Call) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
execute(Call, Type) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Execute HTTP call and deserialize the HTTP response body into the given return type.
executeAsync(Call, ApiCallback<T>) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
executeAsync(Call, Type, ApiCallback<T>) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Execute HTTP call asynchronously.

F

forecastData(List<EmissionsDataDTO>) - Method in class org.openapitools.client.model.EmissionsForecastDTO
 
foundation.greensoftware.carbonaware.webapi - package foundation.greensoftware.carbonaware.webapi
 
foundation.greensoftware.carbonaware.webapi.auth - package foundation.greensoftware.carbonaware.webapi.auth
 
foundation.greensoftware.carbonaware.webapi.client - package foundation.greensoftware.carbonaware.webapi.client
 
freeFormParameterToPairs(Object) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Formats the specified free-form query parameters to a list of Pair objects.
fromJson(String) - Static method in class org.openapitools.client.model.CarbonIntensityBatchParametersDTO
Create an instance of CarbonIntensityBatchParametersDTO given an JSON string
fromJson(String) - Static method in class org.openapitools.client.model.CarbonIntensityDTO
Create an instance of CarbonIntensityDTO given an JSON string
fromJson(String) - Static method in class org.openapitools.client.model.EmissionsData
Create an instance of EmissionsData given an JSON string
fromJson(String) - Static method in class org.openapitools.client.model.EmissionsDataDTO
Create an instance of EmissionsDataDTO given an JSON string
fromJson(String) - Static method in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
Create an instance of EmissionsForecastBatchParametersDTO given an JSON string
fromJson(String) - Static method in class org.openapitools.client.model.EmissionsForecastDTO
Create an instance of EmissionsForecastDTO given an JSON string
fromJson(String) - Static method in class org.openapitools.client.model.Location
Create an instance of Location given an JSON string
fromJson(String) - Static method in class org.openapitools.client.model.ValidationProblemDetails
Create an instance of ValidationProblemDetails given an JSON string

G

generatedAt(OffsetDateTime) - Method in class org.openapitools.client.model.EmissionsForecastDTO
 
getActualInstance() - Method in class org.openapitools.client.model.AbstractOpenApiSchema
Get the actual instance
getActualInstanceRecursively() - Method in class org.openapitools.client.model.AbstractOpenApiSchema
Get the instant recursively when the schemas defined in oneOf/anyof happen to be oneOf/anyOf schema as well
getAdditionalProperties() - Method in class org.openapitools.client.model.ValidationProblemDetails
Return the additional (undeclared) property.
getAdditionalProperty(String) - Method in class org.openapitools.client.model.ValidationProblemDetails
Return the additional (undeclared) property with the specified name.
getAllLocations() - Method in class foundation.greensoftware.carbonaware.webapi.client.LocationsApi
Get all locations instances
getAllLocationsAsync(ApiCallback<Map<String, Location>>) - Method in class foundation.greensoftware.carbonaware.webapi.client.LocationsApi
Get all locations instances (asynchronously)
getAllLocationsCall(ApiCallback) - Method in class foundation.greensoftware.carbonaware.webapi.client.LocationsApi
Build call for getAllLocations
getAllLocationsWithHttpInfo() - Method in class foundation.greensoftware.carbonaware.webapi.client.LocationsApi
Get all locations instances
getApiClient() - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
 
getApiClient() - Method in class foundation.greensoftware.carbonaware.webapi.client.LocationsApi
 
getApiKey() - Method in class foundation.greensoftware.carbonaware.webapi.auth.ApiKeyAuth
 
getApiKeyPrefix() - Method in class foundation.greensoftware.carbonaware.webapi.auth.ApiKeyAuth
 
getAuthentication(String) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Get authentication for the given name.
getAuthentications() - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Get authentications (key: authentication name, value: authentication).
getAverageCarbonIntensity(String, OffsetDateTime, OffsetDateTime) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Retrieves the measured carbon intensity data between the time boundaries and calculates the average carbon intensity during that period.
getAverageCarbonIntensityAsync(String, OffsetDateTime, OffsetDateTime, ApiCallback<CarbonIntensityDTO>) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Retrieves the measured carbon intensity data between the time boundaries and calculates the average carbon intensity during that period.
getAverageCarbonIntensityBatch(List<CarbonIntensityBatchParametersDTO>) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
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.
getAverageCarbonIntensityBatchAsync(List<CarbonIntensityBatchParametersDTO>, ApiCallback<List<CarbonIntensityDTO>>) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
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.
getAverageCarbonIntensityBatchCall(List<CarbonIntensityBatchParametersDTO>, ApiCallback) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Build call for getAverageCarbonIntensityBatch
getAverageCarbonIntensityBatchWithHttpInfo(List<CarbonIntensityBatchParametersDTO>) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
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.
getAverageCarbonIntensityCall(String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Build call for getAverageCarbonIntensity
getAverageCarbonIntensityWithHttpInfo(String, OffsetDateTime, OffsetDateTime) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Retrieves the measured carbon intensity data between the time boundaries and calculates the average carbon intensity during that period.
getBasePath() - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Get base path
getBearerToken() - Method in class foundation.greensoftware.carbonaware.webapi.auth.HttpBearerAuth
Gets the token, which together with the scheme, will be sent as the value of the Authorization header.
getBestEmissionsDataForLocationsByTime(List<String>, OffsetDateTime, OffsetDateTime) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Calculate the best emission data by list of locations for a specified time period.
getBestEmissionsDataForLocationsByTimeAsync(List<String>, OffsetDateTime, OffsetDateTime, ApiCallback<List<EmissionsData>>) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Calculate the best emission data by list of locations for a specified time period.
getBestEmissionsDataForLocationsByTimeCall(List<String>, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Build call for getBestEmissionsDataForLocationsByTime
getBestEmissionsDataForLocationsByTimeWithHttpInfo(List<String>, OffsetDateTime, OffsetDateTime) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Calculate the best emission data by list of locations for a specified time period.
getCarbonIntensity() - Method in class org.openapitools.client.model.CarbonIntensityDTO
Value of the marginal carbon intensity in grams per kilowatt-hour.
getCode() - Method in exception foundation.greensoftware.carbonaware.webapi.ApiException
Get the HTTP status code.
getConnectTimeout() - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Get connection timeout (in milliseconds).
getCurrentForecastData(List<String>, OffsetDateTime, OffsetDateTime, Integer) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Retrieves the most recent forecasted data and calculates the optimal marginal carbon intensity window.
getCurrentForecastDataAsync(List<String>, OffsetDateTime, OffsetDateTime, Integer, ApiCallback<List<EmissionsForecastDTO>>) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Retrieves the most recent forecasted data and calculates the optimal marginal carbon intensity window.
getCurrentForecastDataCall(List<String>, OffsetDateTime, OffsetDateTime, Integer, ApiCallback) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Build call for getCurrentForecastData
getCurrentForecastDataWithHttpInfo(List<String>, OffsetDateTime, OffsetDateTime, Integer) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Retrieves the most recent forecasted data and calculates the optimal marginal carbon intensity window.
getCustomBaseUrl() - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
 
getCustomBaseUrl() - Method in class foundation.greensoftware.carbonaware.webapi.client.LocationsApi
 
getData() - Method in class foundation.greensoftware.carbonaware.webapi.ApiResponse
Get the data.
getDataEndAt() - Method in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
End time boundary of forecasted data points.
getDataEndAt() - Method in class org.openapitools.client.model.EmissionsForecastDTO
End time boundary of forecasted data points.
getDataStartAt() - Method in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
Start time boundary of forecasted data points.Ignores current forecast data points before this time.
getDataStartAt() - Method in class org.openapitools.client.model.EmissionsForecastDTO
Start time boundary of forecasted data points.
getDateFormat() - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Getter for the field dateFormat.
getDefaultApiClient() - Static method in class foundation.greensoftware.carbonaware.webapi.Configuration
Get the default API client, which would be used when creating API instances without providing an API client.
getDetail() - Method in class org.openapitools.client.model.ValidationProblemDetails
Get detail
getDuration() - Method in class org.openapitools.client.model.EmissionsData
Get duration
getDuration() - Method in class org.openapitools.client.model.EmissionsDataDTO
Get duration
getEmissionsDataForLocationByTime(String, OffsetDateTime, OffsetDateTime) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Calculate the best emission data by location for a specified time period.
getEmissionsDataForLocationByTimeAsync(String, OffsetDateTime, OffsetDateTime, ApiCallback<List<EmissionsData>>) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Calculate the best emission data by location for a specified time period.
getEmissionsDataForLocationByTimeCall(String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Build call for getEmissionsDataForLocationByTime
getEmissionsDataForLocationByTimeWithHttpInfo(String, OffsetDateTime, OffsetDateTime) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Calculate the best emission data by location for a specified time period.
getEmissionsDataForLocationsByTime(List<String>, OffsetDateTime, OffsetDateTime) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Calculate the observed emission data by list of locations for a specified time period.
getEmissionsDataForLocationsByTimeAsync(List<String>, OffsetDateTime, OffsetDateTime, ApiCallback<List<EmissionsData>>) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Calculate the observed emission data by list of locations for a specified time period.
getEmissionsDataForLocationsByTimeCall(List<String>, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Build call for getEmissionsDataForLocationsByTime
getEmissionsDataForLocationsByTimeWithHttpInfo(List<String>, OffsetDateTime, OffsetDateTime) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
Calculate the observed emission data by list of locations for a specified time period.
getEndTime() - Method in class org.openapitools.client.model.CarbonIntensityBatchParametersDTO
The time at which the workflow we are measuring carbon intensity for ended
getEndTime() - Method in class org.openapitools.client.model.CarbonIntensityDTO
the time at which the workflow we are measuring carbon intensity for ended
getErrors() - Method in class org.openapitools.client.model.ValidationProblemDetails
Get errors
getForecastData() - Method in class org.openapitools.client.model.EmissionsForecastDTO
The forecasted data points transformed and filtered to reflect the specified time and window parameters.
getGeneratedAt() - Method in class org.openapitools.client.model.EmissionsForecastDTO
Timestamp when the forecast was generated.
getGson() - Static method in class foundation.greensoftware.carbonaware.webapi.JSON
Get Gson.
getHeaders() - Method in class foundation.greensoftware.carbonaware.webapi.ApiResponse
Get the headers.
getHostIndex() - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
 
getHostIndex() - Method in class foundation.greensoftware.carbonaware.webapi.client.LocationsApi
 
getHttpClient() - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Get HTTP client
getInstance() - Method in class org.openapitools.client.model.ValidationProblemDetails
Get instance
getJSON() - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Get JSON
getKeyManagers() - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Getter for the field keyManagers.
getLatitude() - Method in class org.openapitools.client.model.Location
Get latitude
getLocation() - Method in class foundation.greensoftware.carbonaware.webapi.auth.ApiKeyAuth
 
getLocation() - Method in class org.openapitools.client.model.CarbonIntensityBatchParametersDTO
The location name where workflow is run
getLocation() - Method in class org.openapitools.client.model.CarbonIntensityDTO
the location name where workflow is run
getLocation() - Method in class org.openapitools.client.model.EmissionsData
Get location
getLocation() - Method in class org.openapitools.client.model.EmissionsDataDTO
Get location
getLocation() - Method in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
The location of the forecast
getLocation() - Method in class org.openapitools.client.model.EmissionsForecastDTO
The location of the forecast
getLongitude() - Method in class org.openapitools.client.model.Location
Get longitude
getMessage() - Method in exception foundation.greensoftware.carbonaware.webapi.ApiException
Get the exception message including HTTP response data.
getName() - Method in class foundation.greensoftware.carbonaware.webapi.Pair
 
getName() - Method in class org.openapitools.client.model.Location
Get name
getOptimalDataPoints() - Method in class org.openapitools.client.model.EmissionsForecastDTO
The optimal forecasted data point within the 'forecastData' array.
getParamName() - Method in class foundation.greensoftware.carbonaware.webapi.auth.ApiKeyAuth
 
getPassword() - Method in class foundation.greensoftware.carbonaware.webapi.auth.HttpBasicAuth
 
getRating() - Method in class org.openapitools.client.model.EmissionsData
Get rating
getReadTimeout() - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Get read timeout (in milliseconds).
getRequestedAt() - Method in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
For historical forecast requests, this value is the timestamp used to access the most recently generated forecast as of that time.
getRequestedAt() - Method in class org.openapitools.client.model.EmissionsForecastDTO
For current requests, this value is the timestamp the request for forecast data was made.
getResponseBody() - Method in exception foundation.greensoftware.carbonaware.webapi.ApiException
Get the HTTP response body.
getResponseHeaders() - Method in exception foundation.greensoftware.carbonaware.webapi.ApiException
Get the HTTP response headers.
getSchemas() - Method in class org.openapitools.client.model.AbstractOpenApiSchema
Get the list of oneOf/anyOf composed schemas allowed to be stored in this object
getSchemaType() - Method in class org.openapitools.client.model.AbstractOpenApiSchema
Get the schema type (e.g.
getServerIndex() - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
 
getServers() - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
 
getServerVariables() - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
 
getSslCaCert() - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Get SSL CA cert.
getStartTime() - Method in class org.openapitools.client.model.CarbonIntensityBatchParametersDTO
The time at which the workflow we are measuring carbon intensity for started
getStartTime() - Method in class org.openapitools.client.model.CarbonIntensityDTO
the time at which the workflow we are measuring carbon intensity for started
getStatus() - Method in class org.openapitools.client.model.ValidationProblemDetails
Get status
getStatusCode() - Method in class foundation.greensoftware.carbonaware.webapi.ApiResponse
Get the status code.
getTempFolderPath() - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
The path of temporary folder used to store downloaded files from endpoints with file response.
getTime() - Method in class org.openapitools.client.model.EmissionsData
Get time
getTimestamp() - Method in class org.openapitools.client.model.EmissionsDataDTO
Get timestamp
getTitle() - Method in class org.openapitools.client.model.ValidationProblemDetails
Get title
getType() - Method in class org.openapitools.client.model.ValidationProblemDetails
Get type
getUsername() - Method in class foundation.greensoftware.carbonaware.webapi.auth.HttpBasicAuth
 
getValue() - Method in class foundation.greensoftware.carbonaware.webapi.Pair
 
getValue() - Method in class org.openapitools.client.model.EmissionsDataDTO
Get value
getWindowSize() - Method in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
The estimated duration (in minutes) of the workload.
getWindowSize() - Method in class org.openapitools.client.model.EmissionsForecastDTO
The estimated duration (in minutes) of the workload.
getWriteTimeout() - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Get write timeout (in milliseconds).
guessContentTypeFromFile(File) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Guess Content-Type header from the given file (defaults to "application/octet-stream").

H

handleResponse(Response, Type) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Handle the given response, return the deserialized object when the response is successful.
hashCode() - Method in class org.openapitools.client.model.AbstractOpenApiSchema
 
hashCode() - Method in class org.openapitools.client.model.CarbonIntensityBatchParametersDTO
 
hashCode() - Method in class org.openapitools.client.model.CarbonIntensityDTO
 
hashCode() - Method in class org.openapitools.client.model.EmissionsData
 
hashCode() - Method in class org.openapitools.client.model.EmissionsDataDTO
 
hashCode() - Method in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
 
hashCode() - Method in class org.openapitools.client.model.EmissionsForecastDTO
 
hashCode() - Method in class org.openapitools.client.model.Location
 
hashCode() - Method in class org.openapitools.client.model.ValidationProblemDetails
 
HttpBasicAuth - Class in foundation.greensoftware.carbonaware.webapi.auth
 
HttpBasicAuth() - Constructor for class foundation.greensoftware.carbonaware.webapi.auth.HttpBasicAuth
 
HttpBearerAuth - Class in foundation.greensoftware.carbonaware.webapi.auth
 
HttpBearerAuth(String) - Constructor for class foundation.greensoftware.carbonaware.webapi.auth.HttpBearerAuth
 

I

instance(String) - Method in class org.openapitools.client.model.ValidationProblemDetails
 
isDebugging() - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Check that whether debugging is enabled for this API client.
isJsonMime(String) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Check if the given MIME is a JSON MIME.
isNullable() - Method in class org.openapitools.client.model.AbstractOpenApiSchema
Is nullable
isVerifyingSsl() - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
True if isVerifyingSsl flag is on

J

join(String[], String) - Static method in class foundation.greensoftware.carbonaware.webapi.StringUtil
Join an array of strings with the given separator.
join(Collection<String>, String) - Static method in class foundation.greensoftware.carbonaware.webapi.StringUtil
Join a list of strings with the given separator.
JSON - Class in foundation.greensoftware.carbonaware.webapi
 
JSON() - Constructor for class foundation.greensoftware.carbonaware.webapi.JSON
 
JSON.ByteArrayAdapter - Class in foundation.greensoftware.carbonaware.webapi
Gson TypeAdapter for Byte Array type
JSON.DateTypeAdapter - Class in foundation.greensoftware.carbonaware.webapi
Gson TypeAdapter for java.util.Date type If the dateFormat is null, ISO8601Utils will be used.
JSON.LocalDateTypeAdapter - Class in foundation.greensoftware.carbonaware.webapi
Gson TypeAdapter for JSR310 LocalDate type
JSON.OffsetDateTimeTypeAdapter - Class in foundation.greensoftware.carbonaware.webapi
Gson TypeAdapter for JSR310 OffsetDateTime type
JSON.SqlDateTypeAdapter - Class in foundation.greensoftware.carbonaware.webapi
Gson TypeAdapter for java.sql.Date type If the dateFormat is null, a simple "yyyy-MM-dd" format will be used (more efficient than SimpleDateFormat).

L

latitude(Double) - Method in class org.openapitools.client.model.Location
 
LocalDateTypeAdapter() - Constructor for class foundation.greensoftware.carbonaware.webapi.JSON.LocalDateTypeAdapter
 
LocalDateTypeAdapter(DateTimeFormatter) - Constructor for class foundation.greensoftware.carbonaware.webapi.JSON.LocalDateTypeAdapter
 
location(String) - Method in class org.openapitools.client.model.CarbonIntensityBatchParametersDTO
 
location(String) - Method in class org.openapitools.client.model.CarbonIntensityDTO
 
location(String) - Method in class org.openapitools.client.model.EmissionsData
 
location(String) - Method in class org.openapitools.client.model.EmissionsDataDTO
 
location(String) - Method in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
 
location(String) - Method in class org.openapitools.client.model.EmissionsForecastDTO
 
Location - Class in org.openapitools.client.model
Location
Location() - Constructor for class org.openapitools.client.model.Location
 
Location.CustomTypeAdapterFactory - Class in org.openapitools.client.model
 
LocationsApi - Class in foundation.greensoftware.carbonaware.webapi.client
 
LocationsApi() - Constructor for class foundation.greensoftware.carbonaware.webapi.client.LocationsApi
 
LocationsApi(ApiClient) - Constructor for class foundation.greensoftware.carbonaware.webapi.client.LocationsApi
 
longitude(Double) - Method in class org.openapitools.client.model.Location
 

N

name(String) - Method in class org.openapitools.client.model.Location
 

O

OffsetDateTimeTypeAdapter() - Constructor for class foundation.greensoftware.carbonaware.webapi.JSON.OffsetDateTimeTypeAdapter
 
OffsetDateTimeTypeAdapter(DateTimeFormatter) - Constructor for class foundation.greensoftware.carbonaware.webapi.JSON.OffsetDateTimeTypeAdapter
 
onDownloadProgress(long, long, boolean) - Method in interface foundation.greensoftware.carbonaware.webapi.ApiCallback
This is called when the API download processing.
onFailure(ApiException, int, Map<String, List<String>>) - Method in interface foundation.greensoftware.carbonaware.webapi.ApiCallback
This is called when the API call fails.
onSuccess(T, int, Map<String, List<String>>) - Method in interface foundation.greensoftware.carbonaware.webapi.ApiCallback
This is called when the API call succeeded.
onUploadProgress(long, long, boolean) - Method in interface foundation.greensoftware.carbonaware.webapi.ApiCallback
This is called when the API upload processing.
openapiFields - Static variable in class org.openapitools.client.model.CarbonIntensityBatchParametersDTO
 
openapiFields - Static variable in class org.openapitools.client.model.CarbonIntensityDTO
 
openapiFields - Static variable in class org.openapitools.client.model.EmissionsData
 
openapiFields - Static variable in class org.openapitools.client.model.EmissionsDataDTO
 
openapiFields - Static variable in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
 
openapiFields - Static variable in class org.openapitools.client.model.EmissionsForecastDTO
 
openapiFields - Static variable in class org.openapitools.client.model.Location
 
openapiFields - Static variable in class org.openapitools.client.model.ValidationProblemDetails
 
openapiRequiredFields - Static variable in class org.openapitools.client.model.CarbonIntensityBatchParametersDTO
 
openapiRequiredFields - Static variable in class org.openapitools.client.model.CarbonIntensityDTO
 
openapiRequiredFields - Static variable in class org.openapitools.client.model.EmissionsData
 
openapiRequiredFields - Static variable in class org.openapitools.client.model.EmissionsDataDTO
 
openapiRequiredFields - Static variable in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
 
openapiRequiredFields - Static variable in class org.openapitools.client.model.EmissionsForecastDTO
 
openapiRequiredFields - Static variable in class org.openapitools.client.model.Location
 
openapiRequiredFields - Static variable in class org.openapitools.client.model.ValidationProblemDetails
 
optimalDataPoints(List<EmissionsDataDTO>) - Method in class org.openapitools.client.model.EmissionsForecastDTO
 
org.openapitools.client.model - package org.openapitools.client.model
 

P

Pair - Class in foundation.greensoftware.carbonaware.webapi
 
Pair(String, String) - Constructor for class foundation.greensoftware.carbonaware.webapi.Pair
 
parameterToPair(String, Object) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Formats the specified query parameter to a list containing a single Pair object.
parameterToPairs(String, String, Collection) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Formats the specified collection query parameters to a list of Pair objects.
parameterToString(Object) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Format the given parameter object into string.
prepareDownloadFile(Response) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Prepare file for download
processCookieParams(Map<String, String>, Request.Builder) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Set cookie parameters to the request builder, including default cookies.
processHeaderParams(Map<String, String>, Request.Builder) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Set header parameters to the request builder, including default headers.
ProgressRequestBody - Class in foundation.greensoftware.carbonaware.webapi
 
ProgressRequestBody(RequestBody, ApiCallback) - Constructor for class foundation.greensoftware.carbonaware.webapi.ProgressRequestBody
 
ProgressResponseBody - Class in foundation.greensoftware.carbonaware.webapi
 
ProgressResponseBody(ResponseBody, ApiCallback) - Constructor for class foundation.greensoftware.carbonaware.webapi.ProgressResponseBody
 
putAdditionalProperty(String, Object) - Method in class org.openapitools.client.model.ValidationProblemDetails
Set the additional (undeclared) property with the specified name and value.
putErrorsItem(String, List<String>) - Method in class org.openapitools.client.model.ValidationProblemDetails
 

R

rating(Double) - Method in class org.openapitools.client.model.EmissionsData
 
read(JsonReader) - Method in class foundation.greensoftware.carbonaware.webapi.JSON.ByteArrayAdapter
 
read(JsonReader) - Method in class foundation.greensoftware.carbonaware.webapi.JSON.DateTypeAdapter
 
read(JsonReader) - Method in class foundation.greensoftware.carbonaware.webapi.JSON.LocalDateTypeAdapter
 
read(JsonReader) - Method in class foundation.greensoftware.carbonaware.webapi.JSON.OffsetDateTimeTypeAdapter
 
read(JsonReader) - Method in class foundation.greensoftware.carbonaware.webapi.JSON.SqlDateTypeAdapter
 
requestedAt(OffsetDateTime) - Method in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
 
requestedAt(OffsetDateTime) - Method in class org.openapitools.client.model.EmissionsForecastDTO
 

S

sanitizeFilename(String) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Sanitize filename by removing path.
selectHeaderAccept(String[]) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Select the Accept header's value from the given accepts array: if JSON exists in the given array, use it; otherwise use all of them (joining into a string)
selectHeaderContentType(String[]) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Select the Content-Type header's value from the given array: if JSON exists in the given array, use it; otherwise use the first one of the array.
serialize(Object, String) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Serialize the given Java object into request body according to the object's class and the request Content-Type.
serialize(Object) - Static method in class foundation.greensoftware.carbonaware.webapi.JSON
Serialize the given Java object into JSON string.
SERIALIZED_NAME_CARBON_INTENSITY - Static variable in class org.openapitools.client.model.CarbonIntensityDTO
 
SERIALIZED_NAME_DATA_END_AT - Static variable in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
 
SERIALIZED_NAME_DATA_END_AT - Static variable in class org.openapitools.client.model.EmissionsForecastDTO
 
SERIALIZED_NAME_DATA_START_AT - Static variable in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
 
SERIALIZED_NAME_DATA_START_AT - Static variable in class org.openapitools.client.model.EmissionsForecastDTO
 
SERIALIZED_NAME_DETAIL - Static variable in class org.openapitools.client.model.ValidationProblemDetails
 
SERIALIZED_NAME_DURATION - Static variable in class org.openapitools.client.model.EmissionsData
 
SERIALIZED_NAME_DURATION - Static variable in class org.openapitools.client.model.EmissionsDataDTO
 
SERIALIZED_NAME_END_TIME - Static variable in class org.openapitools.client.model.CarbonIntensityBatchParametersDTO
 
SERIALIZED_NAME_END_TIME - Static variable in class org.openapitools.client.model.CarbonIntensityDTO
 
SERIALIZED_NAME_ERRORS - Static variable in class org.openapitools.client.model.ValidationProblemDetails
 
SERIALIZED_NAME_FORECAST_DATA - Static variable in class org.openapitools.client.model.EmissionsForecastDTO
 
SERIALIZED_NAME_GENERATED_AT - Static variable in class org.openapitools.client.model.EmissionsForecastDTO
 
SERIALIZED_NAME_INSTANCE - Static variable in class org.openapitools.client.model.ValidationProblemDetails
 
SERIALIZED_NAME_LATITUDE - Static variable in class org.openapitools.client.model.Location
 
SERIALIZED_NAME_LOCATION - Static variable in class org.openapitools.client.model.CarbonIntensityBatchParametersDTO
 
SERIALIZED_NAME_LOCATION - Static variable in class org.openapitools.client.model.CarbonIntensityDTO
 
SERIALIZED_NAME_LOCATION - Static variable in class org.openapitools.client.model.EmissionsData
 
SERIALIZED_NAME_LOCATION - Static variable in class org.openapitools.client.model.EmissionsDataDTO
 
SERIALIZED_NAME_LOCATION - Static variable in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
 
SERIALIZED_NAME_LOCATION - Static variable in class org.openapitools.client.model.EmissionsForecastDTO
 
SERIALIZED_NAME_LONGITUDE - Static variable in class org.openapitools.client.model.Location
 
SERIALIZED_NAME_NAME - Static variable in class org.openapitools.client.model.Location
 
SERIALIZED_NAME_OPTIMAL_DATA_POINTS - Static variable in class org.openapitools.client.model.EmissionsForecastDTO
 
SERIALIZED_NAME_RATING - Static variable in class org.openapitools.client.model.EmissionsData
 
SERIALIZED_NAME_REQUESTED_AT - Static variable in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
 
SERIALIZED_NAME_REQUESTED_AT - Static variable in class org.openapitools.client.model.EmissionsForecastDTO
 
SERIALIZED_NAME_START_TIME - Static variable in class org.openapitools.client.model.CarbonIntensityBatchParametersDTO
 
SERIALIZED_NAME_START_TIME - Static variable in class org.openapitools.client.model.CarbonIntensityDTO
 
SERIALIZED_NAME_STATUS - Static variable in class org.openapitools.client.model.ValidationProblemDetails
 
SERIALIZED_NAME_TIME - Static variable in class org.openapitools.client.model.EmissionsData
 
SERIALIZED_NAME_TIMESTAMP - Static variable in class org.openapitools.client.model.EmissionsDataDTO
 
SERIALIZED_NAME_TITLE - Static variable in class org.openapitools.client.model.ValidationProblemDetails
 
SERIALIZED_NAME_TYPE - Static variable in class org.openapitools.client.model.ValidationProblemDetails
 
SERIALIZED_NAME_VALUE - Static variable in class org.openapitools.client.model.EmissionsDataDTO
 
SERIALIZED_NAME_WINDOW_SIZE - Static variable in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
 
SERIALIZED_NAME_WINDOW_SIZE - Static variable in class org.openapitools.client.model.EmissionsForecastDTO
 
ServerConfiguration - Class in foundation.greensoftware.carbonaware.webapi
Representing a Server configuration.
ServerConfiguration(String, String, Map<String, ServerVariable>) - Constructor for class foundation.greensoftware.carbonaware.webapi.ServerConfiguration
 
serverIndex - Variable in class foundation.greensoftware.carbonaware.webapi.ApiClient
 
servers - Variable in class foundation.greensoftware.carbonaware.webapi.ApiClient
 
ServerVariable - Class in foundation.greensoftware.carbonaware.webapi
Representing a Server Variable for server URL template substitution.
ServerVariable(String, String, HashSet<String>) - Constructor for class foundation.greensoftware.carbonaware.webapi.ServerVariable
 
serverVariables - Variable in class foundation.greensoftware.carbonaware.webapi.ApiClient
 
setAccessToken(String) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Helper method to set access token for the first OAuth2 authentication.
setActualInstance(Object) - Method in class org.openapitools.client.model.AbstractOpenApiSchema
Set the actual instance
setApiClient(ApiClient) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
 
setApiClient(ApiClient) - Method in class foundation.greensoftware.carbonaware.webapi.client.LocationsApi
 
setApiKey(String) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Helper method to set API key value for the first API key authentication.
setApiKey(String) - Method in class foundation.greensoftware.carbonaware.webapi.auth.ApiKeyAuth
 
setApiKeyPrefix(String) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Helper method to set API key prefix for the first API key authentication.
setApiKeyPrefix(String) - Method in class foundation.greensoftware.carbonaware.webapi.auth.ApiKeyAuth
 
setAWS4Configuration(String, String, String, String) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Helper method to set credentials for AWSV4 Signature
setAWS4Configuration(String, String, String, String, String) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Helper method to set credentials for AWSV4 Signature
setBasePath(String) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Set base path
setBearerToken(String) - Method in class foundation.greensoftware.carbonaware.webapi.auth.HttpBearerAuth
Sets the token, which together with the scheme, will be sent as the value of the Authorization header.
setBearerToken(Supplier<String>) - Method in class foundation.greensoftware.carbonaware.webapi.auth.HttpBearerAuth
Sets the supplier of tokens, which together with the scheme, will be sent as the value of the Authorization header.
setCarbonIntensity(Double) - Method in class org.openapitools.client.model.CarbonIntensityDTO
 
setConnectTimeout(int) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Sets the connect timeout (in milliseconds).
setCustomBaseUrl(String) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
 
setCustomBaseUrl(String) - Method in class foundation.greensoftware.carbonaware.webapi.client.LocationsApi
 
setDataEndAt(OffsetDateTime) - Method in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
 
setDataEndAt(OffsetDateTime) - Method in class org.openapitools.client.model.EmissionsForecastDTO
 
setDataStartAt(OffsetDateTime) - Method in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
 
setDataStartAt(OffsetDateTime) - Method in class org.openapitools.client.model.EmissionsForecastDTO
 
setDateFormat(DateFormat) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Setter for the field dateFormat.
setDateFormat(DateFormat) - Static method in class foundation.greensoftware.carbonaware.webapi.JSON
 
setDebugging(boolean) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Enable/disable debugging for this API client.
setDefaultApiClient(ApiClient) - Static method in class foundation.greensoftware.carbonaware.webapi.Configuration
Set the default API client, which would be used when creating API instances without providing an API client.
setDetail(String) - Method in class org.openapitools.client.model.ValidationProblemDetails
 
setDuration(String) - Method in class org.openapitools.client.model.EmissionsData
 
setDuration(Integer) - Method in class org.openapitools.client.model.EmissionsDataDTO
 
setEndTime(OffsetDateTime) - Method in class org.openapitools.client.model.CarbonIntensityBatchParametersDTO
 
setEndTime(OffsetDateTime) - Method in class org.openapitools.client.model.CarbonIntensityDTO
 
setErrors(Map<String, List<String>>) - Method in class org.openapitools.client.model.ValidationProblemDetails
 
setForecastData(List<EmissionsDataDTO>) - Method in class org.openapitools.client.model.EmissionsForecastDTO
 
setFormat(DateFormat) - Method in class foundation.greensoftware.carbonaware.webapi.JSON.DateTypeAdapter
 
setFormat(DateTimeFormatter) - Method in class foundation.greensoftware.carbonaware.webapi.JSON.LocalDateTypeAdapter
 
setFormat(DateTimeFormatter) - Method in class foundation.greensoftware.carbonaware.webapi.JSON.OffsetDateTimeTypeAdapter
 
setFormat(DateFormat) - Method in class foundation.greensoftware.carbonaware.webapi.JSON.SqlDateTypeAdapter
 
setGeneratedAt(OffsetDateTime) - Method in class org.openapitools.client.model.EmissionsForecastDTO
 
setGson(Gson) - Static method in class foundation.greensoftware.carbonaware.webapi.JSON
Set Gson.
setHostIndex(int) - Method in class foundation.greensoftware.carbonaware.webapi.client.CarbonAwareApi
 
setHostIndex(int) - Method in class foundation.greensoftware.carbonaware.webapi.client.LocationsApi
 
setHttpClient(OkHttpClient) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Set HTTP client, which must never be null.
setInstance(String) - Method in class org.openapitools.client.model.ValidationProblemDetails
 
setJSON(JSON) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Set JSON
setKeyManagers(KeyManager[]) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Configure client keys to use for authorization in an SSL session.
setLatitude(Double) - Method in class org.openapitools.client.model.Location
 
setLenientOnJson(boolean) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Set LenientOnJson.
setLenientOnJson(boolean) - Static method in class foundation.greensoftware.carbonaware.webapi.JSON
 
setLocalDateFormat(DateTimeFormatter) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Set LocalDateFormat.
setLocalDateFormat(DateTimeFormatter) - Static method in class foundation.greensoftware.carbonaware.webapi.JSON
 
setLocation(String) - Method in class org.openapitools.client.model.CarbonIntensityBatchParametersDTO
 
setLocation(String) - Method in class org.openapitools.client.model.CarbonIntensityDTO
 
setLocation(String) - Method in class org.openapitools.client.model.EmissionsData
 
setLocation(String) - Method in class org.openapitools.client.model.EmissionsDataDTO
 
setLocation(String) - Method in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
 
setLocation(String) - Method in class org.openapitools.client.model.EmissionsForecastDTO
 
setLongitude(Double) - Method in class org.openapitools.client.model.Location
 
setName(String) - Method in class org.openapitools.client.model.Location
 
setOffsetDateTimeFormat(DateTimeFormatter) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Set OffsetDateTimeFormat.
setOffsetDateTimeFormat(DateTimeFormatter) - Static method in class foundation.greensoftware.carbonaware.webapi.JSON
 
setOptimalDataPoints(List<EmissionsDataDTO>) - Method in class org.openapitools.client.model.EmissionsForecastDTO
 
setPassword(String) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Helper method to set password for the first HTTP basic authentication.
setPassword(String) - Method in class foundation.greensoftware.carbonaware.webapi.auth.HttpBasicAuth
 
setRating(Double) - Method in class org.openapitools.client.model.EmissionsData
 
setReadTimeout(int) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Sets the read timeout (in milliseconds).
setRequestedAt(OffsetDateTime) - Method in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
 
setRequestedAt(OffsetDateTime) - Method in class org.openapitools.client.model.EmissionsForecastDTO
 
setServerIndex(Integer) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
 
setServers(List<ServerConfiguration>) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
 
setServerVariables(Map<String, String>) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
 
setSqlDateFormat(DateFormat) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Set SqlDateFormat.
setSqlDateFormat(DateFormat) - Static method in class foundation.greensoftware.carbonaware.webapi.JSON
 
setSslCaCert(InputStream) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Configure the CA certificate to be trusted when making https requests.
setStartTime(OffsetDateTime) - Method in class org.openapitools.client.model.CarbonIntensityBatchParametersDTO
 
setStartTime(OffsetDateTime) - Method in class org.openapitools.client.model.CarbonIntensityDTO
 
setStatus(Integer) - Method in class org.openapitools.client.model.ValidationProblemDetails
 
setTempFolderPath(String) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Set the temporary folder path (for downloading files)
setTime(OffsetDateTime) - Method in class org.openapitools.client.model.EmissionsData
 
setTimestamp(OffsetDateTime) - Method in class org.openapitools.client.model.EmissionsDataDTO
 
setTitle(String) - Method in class org.openapitools.client.model.ValidationProblemDetails
 
setType(String) - Method in class org.openapitools.client.model.ValidationProblemDetails
 
setUserAgent(String) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Set the User-Agent header's value (by adding to the default header map).
setUsername(String) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Helper method to set username for the first HTTP basic authentication.
setUsername(String) - Method in class foundation.greensoftware.carbonaware.webapi.auth.HttpBasicAuth
 
setValue(Double) - Method in class org.openapitools.client.model.EmissionsDataDTO
 
setVerifyingSsl(boolean) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Configure whether to verify certificate and hostname when making https requests.
setWindowSize(Integer) - Method in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
 
setWindowSize(Integer) - Method in class org.openapitools.client.model.EmissionsForecastDTO
 
setWriteTimeout(int) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Sets the write timeout (in milliseconds).
source() - Method in class foundation.greensoftware.carbonaware.webapi.ProgressResponseBody
 
SqlDateTypeAdapter() - Constructor for class foundation.greensoftware.carbonaware.webapi.JSON.SqlDateTypeAdapter
 
SqlDateTypeAdapter(DateFormat) - Constructor for class foundation.greensoftware.carbonaware.webapi.JSON.SqlDateTypeAdapter
 
startTime(OffsetDateTime) - Method in class org.openapitools.client.model.CarbonIntensityBatchParametersDTO
 
startTime(OffsetDateTime) - Method in class org.openapitools.client.model.CarbonIntensityDTO
 
status(Integer) - Method in class org.openapitools.client.model.ValidationProblemDetails
 
StringUtil - Class in foundation.greensoftware.carbonaware.webapi
 
StringUtil() - Constructor for class foundation.greensoftware.carbonaware.webapi.StringUtil
 

T

time(OffsetDateTime) - Method in class org.openapitools.client.model.EmissionsData
 
timestamp(OffsetDateTime) - Method in class org.openapitools.client.model.EmissionsDataDTO
 
title(String) - Method in class org.openapitools.client.model.ValidationProblemDetails
 
toJson() - Method in class org.openapitools.client.model.CarbonIntensityBatchParametersDTO
Convert an instance of CarbonIntensityBatchParametersDTO to an JSON string
toJson() - Method in class org.openapitools.client.model.CarbonIntensityDTO
Convert an instance of CarbonIntensityDTO to an JSON string
toJson() - Method in class org.openapitools.client.model.EmissionsData
Convert an instance of EmissionsData to an JSON string
toJson() - Method in class org.openapitools.client.model.EmissionsDataDTO
Convert an instance of EmissionsDataDTO to an JSON string
toJson() - Method in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
Convert an instance of EmissionsForecastBatchParametersDTO to an JSON string
toJson() - Method in class org.openapitools.client.model.EmissionsForecastDTO
Convert an instance of EmissionsForecastDTO to an JSON string
toJson() - Method in class org.openapitools.client.model.Location
Convert an instance of Location to an JSON string
toJson() - Method in class org.openapitools.client.model.ValidationProblemDetails
Convert an instance of ValidationProblemDetails to an JSON string
toString() - Method in class org.openapitools.client.model.AbstractOpenApiSchema
 
toString() - Method in class org.openapitools.client.model.CarbonIntensityBatchParametersDTO
 
toString() - Method in class org.openapitools.client.model.CarbonIntensityDTO
 
toString() - Method in class org.openapitools.client.model.EmissionsData
 
toString() - Method in class org.openapitools.client.model.EmissionsDataDTO
 
toString() - Method in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
 
toString() - Method in class org.openapitools.client.model.EmissionsForecastDTO
 
toString() - Method in class org.openapitools.client.model.Location
 
toString() - Method in class org.openapitools.client.model.ValidationProblemDetails
 
type(String) - Method in class org.openapitools.client.model.ValidationProblemDetails
 

U

updateParamsForAuth(String[], List<Pair>, Map<String, String>, Map<String, String>, String, String, URI) - Method in class foundation.greensoftware.carbonaware.webapi.ApiClient
Update query and header parameters based on authentication settings.
URL - Variable in class foundation.greensoftware.carbonaware.webapi.ServerConfiguration
 
URL(Map<String, String>) - Method in class foundation.greensoftware.carbonaware.webapi.ServerConfiguration
Format URL template using given variables.
URL() - Method in class foundation.greensoftware.carbonaware.webapi.ServerConfiguration
Format URL template using default server variables.

V

validateJsonElement(JsonElement) - Static method in class org.openapitools.client.model.CarbonIntensityBatchParametersDTO
Validates the JSON Element and throws an exception if issues found
validateJsonElement(JsonElement) - Static method in class org.openapitools.client.model.CarbonIntensityDTO
Validates the JSON Element and throws an exception if issues found
validateJsonElement(JsonElement) - Static method in class org.openapitools.client.model.EmissionsData
Validates the JSON Element and throws an exception if issues found
validateJsonElement(JsonElement) - Static method in class org.openapitools.client.model.EmissionsDataDTO
Validates the JSON Element and throws an exception if issues found
validateJsonElement(JsonElement) - Static method in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
Validates the JSON Element and throws an exception if issues found
validateJsonElement(JsonElement) - Static method in class org.openapitools.client.model.EmissionsForecastDTO
Validates the JSON Element and throws an exception if issues found
validateJsonElement(JsonElement) - Static method in class org.openapitools.client.model.Location
Validates the JSON Element and throws an exception if issues found
validateJsonElement(JsonElement) - Static method in class org.openapitools.client.model.ValidationProblemDetails
Validates the JSON Element and throws an exception if issues found
ValidationProblemDetails - Class in org.openapitools.client.model
ValidationProblemDetails
ValidationProblemDetails() - Constructor for class org.openapitools.client.model.ValidationProblemDetails
 
ValidationProblemDetails.CustomTypeAdapterFactory - Class in org.openapitools.client.model
 
value(Double) - Method in class org.openapitools.client.model.EmissionsDataDTO
 
variables - Variable in class foundation.greensoftware.carbonaware.webapi.ServerConfiguration
 
VERSION - Static variable in class foundation.greensoftware.carbonaware.webapi.Configuration
 

W

windowSize(Integer) - Method in class org.openapitools.client.model.EmissionsForecastBatchParametersDTO
 
windowSize(Integer) - Method in class org.openapitools.client.model.EmissionsForecastDTO
 
write(JsonWriter, byte[]) - Method in class foundation.greensoftware.carbonaware.webapi.JSON.ByteArrayAdapter
 
write(JsonWriter, Date) - Method in class foundation.greensoftware.carbonaware.webapi.JSON.DateTypeAdapter
 
write(JsonWriter, LocalDate) - Method in class foundation.greensoftware.carbonaware.webapi.JSON.LocalDateTypeAdapter
 
write(JsonWriter, OffsetDateTime) - Method in class foundation.greensoftware.carbonaware.webapi.JSON.OffsetDateTimeTypeAdapter
 
write(JsonWriter, Date) - Method in class foundation.greensoftware.carbonaware.webapi.JSON.SqlDateTypeAdapter
 
writeTo(BufferedSink) - Method in class foundation.greensoftware.carbonaware.webapi.ProgressRequestBody
 
A B C D E F G H I J L N O P R S T U V W 
Skip navigation links

Copyright © 2024. All rights reserved.