@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-12-11T00:56:28.222220Z[Etc/UTC]", comments="Generator version: 7.10.0") public class EmissionsForecastBatchParametersDTO extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EmissionsForecastBatchParametersDTO.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_DATA_END_AT |
static String |
SERIALIZED_NAME_DATA_START_AT |
static String |
SERIALIZED_NAME_LOCATION |
static String |
SERIALIZED_NAME_REQUESTED_AT |
static String |
SERIALIZED_NAME_WINDOW_SIZE |
Constructor and Description |
---|
EmissionsForecastBatchParametersDTO() |
Modifier and Type | Method and Description |
---|---|
EmissionsForecastBatchParametersDTO |
dataEndAt(OffsetDateTime dataEndAt) |
EmissionsForecastBatchParametersDTO |
dataStartAt(OffsetDateTime dataStartAt) |
boolean |
equals(Object o) |
static EmissionsForecastBatchParametersDTO |
fromJson(String jsonString)
Create an instance of EmissionsForecastBatchParametersDTO given an JSON string
|
OffsetDateTime |
getDataEndAt()
End time boundary of forecasted data points.
|
OffsetDateTime |
getDataStartAt()
Start time boundary of forecasted data points.Ignores current forecast data points before this time.
|
String |
getLocation()
The location of the forecast
|
OffsetDateTime |
getRequestedAt()
For historical forecast requests, this value is the timestamp used to access the most recently generated forecast as of that time.
|
Integer |
getWindowSize()
The estimated duration (in minutes) of the workload.
|
int |
hashCode() |
EmissionsForecastBatchParametersDTO |
location(String location) |
EmissionsForecastBatchParametersDTO |
requestedAt(OffsetDateTime requestedAt) |
void |
setDataEndAt(OffsetDateTime dataEndAt) |
void |
setDataStartAt(OffsetDateTime dataStartAt) |
void |
setLocation(String location) |
void |
setRequestedAt(OffsetDateTime requestedAt) |
void |
setWindowSize(Integer windowSize) |
String |
toJson()
Convert an instance of EmissionsForecastBatchParametersDTO to an JSON string
|
String |
toString() |
static void |
validateJsonElement(com.google.gson.JsonElement jsonElement)
Validates the JSON Element and throws an exception if issues found
|
EmissionsForecastBatchParametersDTO |
windowSize(Integer windowSize) |
public static final String SERIALIZED_NAME_REQUESTED_AT
public static final String SERIALIZED_NAME_LOCATION
public static final String SERIALIZED_NAME_DATA_START_AT
public static final String SERIALIZED_NAME_DATA_END_AT
public static final String SERIALIZED_NAME_WINDOW_SIZE
public EmissionsForecastBatchParametersDTO requestedAt(@Nullable OffsetDateTime requestedAt)
@Nullable public OffsetDateTime getRequestedAt()
public void setRequestedAt(@Nullable OffsetDateTime requestedAt)
public EmissionsForecastBatchParametersDTO location(@Nullable String location)
public EmissionsForecastBatchParametersDTO dataStartAt(@Nullable OffsetDateTime dataStartAt)
@Nullable public OffsetDateTime getDataStartAt()
public void setDataStartAt(@Nullable OffsetDateTime dataStartAt)
public EmissionsForecastBatchParametersDTO dataEndAt(@Nullable OffsetDateTime dataEndAt)
@Nullable public OffsetDateTime getDataEndAt()
public void setDataEndAt(@Nullable OffsetDateTime dataEndAt)
public EmissionsForecastBatchParametersDTO windowSize(@Nullable Integer windowSize)
@Nullable public Integer getWindowSize()
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
jsonElement
- JSON ElementIOException
- if the JSON Element is invalid with respect to EmissionsForecastBatchParametersDTOpublic static EmissionsForecastBatchParametersDTO fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to EmissionsForecastBatchParametersDTOpublic String toJson()
Copyright © 2024. All rights reserved.