Package com.smartsheet.api.models
Class WebhookStats
- java.lang.Object
-
- com.smartsheet.api.models.WebhookStats
-
public class WebhookStats extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description WebhookStats()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Date
getLastCallbackAttempt()
Get the timestamp from the last callback attempt.java.lang.Integer
getLastCallbackAttemptRetryCount()
Get the number of retries the webhook had performed as of the last callback attempt.java.util.Date
getLastSuccessfulCallback()
Get the timestamp from the last successful callback.WebhookStats
setLastCallbackAttempt(java.util.Date lastCallbackAttempt)
Set the timestamp from the last callback attempt.WebhookStats
setLastCallbackAttemptRetryCount(java.lang.Integer lastCallbackAttemptRetryCount)
Set the number of retries the webhook had performed as of the last callback attempt.WebhookStats
setLastSuccessfulCallback(java.util.Date lastSuccessfulCallback)
Set the timestamp from the last successful callback.
-
-
-
Method Detail
-
getLastCallbackAttemptRetryCount
public java.lang.Integer getLastCallbackAttemptRetryCount()
Get the number of retries the webhook had performed as of the last callback attempt.- Returns:
- lastCallbackAttemptRetryCount
-
setLastCallbackAttemptRetryCount
public WebhookStats setLastCallbackAttemptRetryCount(java.lang.Integer lastCallbackAttemptRetryCount)
Set the number of retries the webhook had performed as of the last callback attempt.
-
getLastCallbackAttempt
public java.util.Date getLastCallbackAttempt()
Get the timestamp from the last callback attempt.- Returns:
- lastCallbackAttempt
-
setLastCallbackAttempt
public WebhookStats setLastCallbackAttempt(java.util.Date lastCallbackAttempt)
Set the timestamp from the last callback attempt.
-
getLastSuccessfulCallback
public java.util.Date getLastSuccessfulCallback()
Get the timestamp from the last successful callback.- Returns:
- lastSuccessfulCallback
-
setLastSuccessfulCallback
public WebhookStats setLastSuccessfulCallback(java.util.Date lastSuccessfulCallback)
Set the timestamp from the last successful callback.
-
-