public class ScheduledQueryRun extends ApiResource implements HasId
Modifier and Type | Class and Description |
---|---|
static class |
ScheduledQueryRun.RunError |
ApiResource.RequestMethod
CHARSET, GSON
PRETTY_PRINT_GSON
Constructor and Description |
---|
ScheduledQueryRun() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getCreated()
Time at which the object was created.
|
java.lang.Long |
getDataLoadTime()
When the query was run, Sigma contained a snapshot of your Stripe data at this time.
|
ScheduledQueryRun.RunError |
getError() |
File |
getFile()
The file object representing the results of the query.
|
java.lang.String |
getId()
Unique identifier for the object.
|
java.lang.Boolean |
getLivemode()
Has the value `true` if the object exists in live mode or the value `false` if the object
exists in test mode.
|
java.lang.String |
getObject()
String representing the object's type.
|
java.lang.Long |
getResultAvailableUntil()
Time at which the result expires and is no longer available for download.
|
java.lang.String |
getSql()
SQL for the query.
|
java.lang.String |
getStatus()
The query's execution status, which will be `completed` for successful runs, and `canceled`,
`failed`, or `timed_out` otherwise.
|
java.lang.String |
getTitle()
Title of the query.
|
int |
hashCode() |
static ScheduledQueryRunCollection |
list(java.util.Map<java.lang.String,java.lang.Object> params)
Returns a list of scheduled query runs.
|
static ScheduledQueryRunCollection |
list(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Returns a list of scheduled query runs.
|
static ScheduledQueryRunCollection |
list(ScheduledQueryRunListParams params)
Returns a list of scheduled query runs.
|
static ScheduledQueryRunCollection |
list(ScheduledQueryRunListParams params,
RequestOptions options)
Returns a list of scheduled query runs.
|
static ScheduledQueryRun |
retrieve(java.lang.String scheduledQueryRun)
Retrieves the details of an scheduled query run.
|
static ScheduledQueryRun |
retrieve(java.lang.String scheduledQueryRun,
java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Retrieves the details of an scheduled query run.
|
static ScheduledQueryRun |
retrieve(java.lang.String scheduledQueryRun,
RequestOptions options)
Retrieves the details of an scheduled query run.
|
static ScheduledQueryRun |
retrieve(java.lang.String scheduledQueryRun,
ScheduledQueryRunRetrieveParams params,
RequestOptions options)
Retrieves the details of an scheduled query run.
|
void |
setCreated(java.lang.Long created)
Time at which the object was created.
|
void |
setDataLoadTime(java.lang.Long dataLoadTime)
When the query was run, Sigma contained a snapshot of your Stripe data at this time.
|
void |
setError(ScheduledQueryRun.RunError error) |
void |
setFile(File file)
The file object representing the results of the query.
|
void |
setId(java.lang.String id)
Unique identifier for the object.
|
void |
setLivemode(java.lang.Boolean livemode)
Has the value `true` if the object exists in live mode or the value `false` if the object
exists in test mode.
|
void |
setObject(java.lang.String object)
String representing the object's type.
|
void |
setResultAvailableUntil(java.lang.Long resultAvailableUntil)
Time at which the result expires and is no longer available for download.
|
void |
setSql(java.lang.String sql)
SQL for the query.
|
void |
setStatus(java.lang.String status)
The query's execution status, which will be `completed` for successful runs, and `canceled`,
`failed`, or `timed_out` otherwise.
|
void |
setTitle(java.lang.String title)
Title of the query.
|
checkNullTypedParams, classUrl, classUrl, instanceUrl, instanceUrl, request, request, requestCollection, requestCollection, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeId
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
public static ScheduledQueryRunCollection list(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
StripeException
public static ScheduledQueryRunCollection list(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
StripeException
public static ScheduledQueryRunCollection list(ScheduledQueryRunListParams params) throws StripeException
StripeException
public static ScheduledQueryRunCollection list(ScheduledQueryRunListParams params, RequestOptions options) throws StripeException
StripeException
public static ScheduledQueryRun retrieve(java.lang.String scheduledQueryRun) throws StripeException
StripeException
public static ScheduledQueryRun retrieve(java.lang.String scheduledQueryRun, RequestOptions options) throws StripeException
StripeException
public static ScheduledQueryRun retrieve(java.lang.String scheduledQueryRun, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
StripeException
public static ScheduledQueryRun retrieve(java.lang.String scheduledQueryRun, ScheduledQueryRunRetrieveParams params, RequestOptions options) throws StripeException
StripeException
public java.lang.Long getCreated()
public java.lang.Long getDataLoadTime()
public ScheduledQueryRun.RunError getError()
public File getFile()
public java.lang.Boolean getLivemode()
public java.lang.String getObject()
Equal to `scheduled_query_run`.
public java.lang.Long getResultAvailableUntil()
public java.lang.String getSql()
public java.lang.String getStatus()
public java.lang.String getTitle()
public void setCreated(java.lang.Long created)
public void setDataLoadTime(java.lang.Long dataLoadTime)
public void setError(ScheduledQueryRun.RunError error)
public void setFile(File file)
public void setId(java.lang.String id)
public void setLivemode(java.lang.Boolean livemode)
public void setObject(java.lang.String object)
Equal to `scheduled_query_run`.
public void setResultAvailableUntil(java.lang.Long resultAvailableUntil)
public void setSql(java.lang.String sql)
public void setStatus(java.lang.String status)
public void setTitle(java.lang.String title)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object