public class TimeMachine extends Resource<TimeMachine>
| Modifier and Type | Class and Description |
|---|---|
static class |
TimeMachine.StartAfreshRequest |
static class |
TimeMachine.TimeTravelStatus |
static class |
TimeMachine.TravelForwardRequest |
| Constructor and Description |
|---|
TimeMachine(org.json.JSONObject jsonObj) |
TimeMachine(String jsonStr) |
| Modifier and Type | Method and Description |
|---|---|
Timestamp |
destinationTime() |
String |
errorJson() |
String |
failureCode() |
String |
failureReason() |
Timestamp |
genesisTime() |
String |
name() |
static Request |
retrieve(String id) |
static TimeMachine.StartAfreshRequest |
startAfresh(String id) |
TimeMachine.TimeTravelStatus |
timeTravelStatus() |
static TimeMachine.TravelForwardRequest |
travelForward(String id) |
TimeMachine |
waitForTimeTravelCompletion() |
TimeMachine |
waitForTimeTravelCompletion(Environment env) |
apiVersionCheck, nullCheck, optBigDecimal, optBoolean, optDouble, optEnum, optInteger, optJSONArray, optJSONObject, optList, optLong, optString, optSubResource, optTimestamp, reqBigDecimal, reqBoolean, reqDouble, reqEnum, reqInteger, reqJSONArray, reqJSONObject, reqList, reqLong, reqString, reqSubResource, reqTimestamp, toJson, toString, uripublic TimeMachine(String jsonStr)
public TimeMachine(org.json.JSONObject jsonObj)
public String name()
public TimeMachine.TimeTravelStatus timeTravelStatus()
public Timestamp genesisTime()
public Timestamp destinationTime()
public String failureCode()
public String failureReason()
public String errorJson()
public static TimeMachine.StartAfreshRequest startAfresh(String id)
public static TimeMachine.TravelForwardRequest travelForward(String id)
public TimeMachine waitForTimeTravelCompletion() throws Exception
Exceptionpublic TimeMachine waitForTimeTravelCompletion(Environment env) throws Exception
ExceptionCopyright © 2023 ChargeBee. All rights reserved.