public class TimeSuggestion extends APINode
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.gson.Gson |
gson |
| Constructor and Description |
|---|
TimeSuggestion() |
| Modifier and Type | Method and Description |
|---|---|
TimeSuggestion |
copyFrom(TimeSuggestion instance) |
APIContext |
getContext() |
List<Object> |
getFieldHighDemandPeriods() |
Boolean |
getFieldIsEnabled() |
String |
getId() |
static APIRequest.ResponseParser<TimeSuggestion> |
getParser() |
static TimeSuggestion |
loadJSON(String json,
APIContext context,
String header) |
static APINodeList<TimeSuggestion> |
parseResponse(String json,
APIContext context,
APIRequest request,
String header) |
void |
setContext(APIContext context) |
TimeSuggestion |
setFieldHighDemandPeriods(List<Object> value) |
TimeSuggestion |
setFieldIsEnabled(Boolean value) |
String |
toString() |
getException, getHeader, getRawResponse, getRawResponseAsJsonObject, getRawValue, head, parseResponsepublic static TimeSuggestion loadJSON(String json, APIContext context, String header)
public static APINodeList<TimeSuggestion> parseResponse(String json, APIContext context, APIRequest request, String header) throws APIException.MalformedResponseException
public APIContext getContext()
getContext in class APINodepublic void setContext(APIContext context)
setContext in class APINodepublic TimeSuggestion setFieldHighDemandPeriods(List<Object> value)
public Boolean getFieldIsEnabled()
public TimeSuggestion setFieldIsEnabled(Boolean value)
public TimeSuggestion copyFrom(TimeSuggestion instance)
public static APIRequest.ResponseParser<TimeSuggestion> getParser()
Copyright © 2024. All rights reserved.