Package com.stripe.model.sigma
Class ScheduledQueryRun
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.net.ApiResource
-
- com.stripe.model.sigma.ScheduledQueryRun
-
- All Implemented Interfaces:
HasId
,StripeObjectInterface
public class ScheduledQueryRun extends ApiResource implements HasId
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScheduledQueryRun.RunError
-
Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod
-
-
Field Summary
-
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description ScheduledQueryRun()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 valuetrue
if the object exists in live mode or the valuefalse
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 becompleted
for successful runs, andcanceled
,failed
, ortimed_out
otherwise.java.lang.String
getTitle()
Title of the query.int
hashCode()
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 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 ScheduledQueryRun
retrieve(java.lang.String scheduledQueryRun)
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.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.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 valuetrue
if the object exists in live mode or the valuefalse
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 becompleted
for successful runs, andcanceled
,failed
, ortimed_out
otherwise.void
setTitle(java.lang.String title)
Title of the query.-
Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, classUrl, classUrl, instanceUrl, instanceUrl, request, request, requestCollection, requestCollection, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeId
-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
list
public static ScheduledQueryRunCollection list(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
Returns a list of scheduled query runs.- Throws:
StripeException
-
list
public static ScheduledQueryRunCollection list(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
Returns a list of scheduled query runs.- Throws:
StripeException
-
list
public static ScheduledQueryRunCollection list(ScheduledQueryRunListParams params) throws StripeException
Returns a list of scheduled query runs.- Throws:
StripeException
-
list
public static ScheduledQueryRunCollection list(ScheduledQueryRunListParams params, RequestOptions options) throws StripeException
Returns a list of scheduled query runs.- Throws:
StripeException
-
retrieve
public static ScheduledQueryRun retrieve(java.lang.String scheduledQueryRun) throws StripeException
Retrieves the details of an scheduled query run.- Throws:
StripeException
-
retrieve
public static ScheduledQueryRun retrieve(java.lang.String scheduledQueryRun, RequestOptions options) throws StripeException
Retrieves the details of an scheduled query run.- Throws:
StripeException
-
retrieve
public static ScheduledQueryRun retrieve(java.lang.String scheduledQueryRun, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
Retrieves the details of an scheduled query run.- Throws:
StripeException
-
retrieve
public static ScheduledQueryRun retrieve(java.lang.String scheduledQueryRun, ScheduledQueryRunRetrieveParams params, RequestOptions options) throws StripeException
Retrieves the details of an scheduled query run.- Throws:
StripeException
-
getCreated
public java.lang.Long getCreated()
Time at which the object was created. Measured in seconds since the Unix epoch.
-
getDataLoadTime
public java.lang.Long getDataLoadTime()
When the query was run, Sigma contained a snapshot of your Stripe data at this time.
-
getError
public ScheduledQueryRun.RunError getError()
-
getFile
public File getFile()
The file object representing the results of the query.
-
getLivemode
public java.lang.Boolean getLivemode()
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.
-
getObject
public java.lang.String getObject()
String representing the object's type. Objects of the same type share the same value.Equal to
scheduled_query_run
.
-
getResultAvailableUntil
public java.lang.Long getResultAvailableUntil()
Time at which the result expires and is no longer available for download.
-
getSql
public java.lang.String getSql()
SQL for the query.
-
getStatus
public java.lang.String getStatus()
The query's execution status, which will becompleted
for successful runs, andcanceled
,failed
, ortimed_out
otherwise.
-
getTitle
public java.lang.String getTitle()
Title of the query.
-
setCreated
public void setCreated(java.lang.Long created)
Time at which the object was created. Measured in seconds since the Unix epoch.
-
setDataLoadTime
public void setDataLoadTime(java.lang.Long dataLoadTime)
When the query was run, Sigma contained a snapshot of your Stripe data at this time.
-
setError
public void setError(ScheduledQueryRun.RunError error)
-
setFile
public void setFile(File file)
The file object representing the results of the query.
-
setId
public void setId(java.lang.String id)
Unique identifier for the object.
-
setLivemode
public void setLivemode(java.lang.Boolean livemode)
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.
-
setObject
public void setObject(java.lang.String object)
String representing the object's type. Objects of the same type share the same value.Equal to
scheduled_query_run
.
-
setResultAvailableUntil
public void setResultAvailableUntil(java.lang.Long resultAvailableUntil)
Time at which the result expires and is no longer available for download.
-
setSql
public void setSql(java.lang.String sql)
SQL for the query.
-
setStatus
public void setStatus(java.lang.String status)
The query's execution status, which will becompleted
for successful runs, andcanceled
,failed
, ortimed_out
otherwise.
-
setTitle
public void setTitle(java.lang.String title)
Title of the query.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-