• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

smartsheet / smartsheet-java-sdk / #45

29 Aug 2023 04:23PM UTC coverage: 50.55%. Remained the same
#45

push

github-actions

web-flow
Make the license header consistent and add checkstyle rule (#63)

* Make the license header consistent and add checkstyle rule

* Make the file license come before the package

* Remove Smartsheet SDK for Java from every file

3448 of 6821 relevant lines covered (50.55%)

0.51 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/com/smartsheet/api/models/WebhookStats.java
1
/*
2
 * Copyright (C) 2023 Smartsheet
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 * you may not use this file except in compliance with the License.
6
 * You may obtain a copy of the License at
7
 *
8
 *      http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 * Unless required by applicable law or agreed to in writing, software
11
 * distributed under the License is distributed on an "AS IS" BASIS,
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 * See the License for the specific language governing permissions and
14
 * limitations under the License.
15
 */
16

17
package com.smartsheet.api.models;
18

19
import java.util.Date;
20

21
public class WebhookStats {
×
22

23
    /**
24
     * The number of retries the webhook had performed as of the last callback
25
     */
26
    private Integer lastCallbackAttemptRetryCount;
27

28
    /**
29
     * When this webhook last made a callback attempt.
30
     */
31
    private Date lastCallbackAttempt;
32

33
    /**
34
     * When this webhook last make a successful callback.
35
     */
36
    private Date lastSuccessfulCallback;
37

38
    /**
39
     * Get the number of retries the webhook had performed as of the last callback attempt.
40
     *
41
     * @return lastCallbackAttemptRetryCount
42
     */
43
    public Integer getLastCallbackAttemptRetryCount() {
44
        return lastCallbackAttemptRetryCount;
×
45
    }
46

47
    /**
48
     * Set the number of retries the webhook had performed as of the last callback attempt.
49
     */
50
    public WebhookStats setLastCallbackAttemptRetryCount(Integer lastCallbackAttemptRetryCount) {
51
        this.lastCallbackAttemptRetryCount = lastCallbackAttemptRetryCount;
×
52
        return this;
×
53
    }
54

55
    /**
56
     * Get the timestamp from the last callback attempt.
57
     *
58
     * @return lastCallbackAttempt
59
     */
60
    public Date getLastCallbackAttempt() {
61
        return lastCallbackAttempt;
×
62
    }
63

64
    /**
65
     * Set the timestamp from the last callback attempt.
66
     */
67
    public WebhookStats setLastCallbackAttempt(Date lastCallbackAttempt) {
68
        this.lastCallbackAttempt = lastCallbackAttempt;
×
69
        return this;
×
70
    }
71

72
    /**
73
     * Get the timestamp from the last successful callback.
74
     *
75
     * @return lastSuccessfulCallback
76
     */
77
    public Date getLastSuccessfulCallback() {
78
        return lastSuccessfulCallback;
×
79
    }
80

81
    /**
82
     * Set the timestamp from the last successful callback.
83
     */
84
    public WebhookStats setLastSuccessfulCallback(Date lastSuccessfulCallback) {
85
        this.lastSuccessfulCallback = lastSuccessfulCallback;
×
86
        return this;
×
87
    }
88

89
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc