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

smartsheet / smartsheet-java-sdk / #55

02 Oct 2024 07:40PM UTC coverage: 60.548% (+0.7%) from 59.836%
#55

push

github

web-flow
Release prep for 3.2.1 (#103)

4156 of 6864 relevant lines covered (60.55%)

0.61 hits per line

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

25.0
/src/main/java/com/smartsheet/api/models/UpdateRequest.java
1
/*
2
 * Copyright (C) 2024 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
/**
22
 * Represents the UpdateRequest object.
23
 *
24
 * @see <a href="http://help.smartsheet.com/customer/portal/articles/504779-using-update-requests">Using Update Request Help</a>
25
 */
26
public class UpdateRequest extends MultiRowEmail {
1✔
27

28
    /**
29
     * Represents the ID of the update request.
30
     */
31
    private Long id;
32

33
    /**
34
     * User object containing name and email of the sender.
35
     */
36
    private User sentBy;
37

38
    /**
39
     * The schedule for which update requests will be sent out.
40
     */
41
    private Schedule schedule;
42

43
    /**
44
     * The date and time for when this request was originally created.
45
     */
46
    private Date createdAt;
47

48
    /**
49
     * The date and time for when the last change was made to this request.
50
     */
51
    private Date modifiedAt;
52

53
    /**
54
     * Get the Id of the update request.
55
     *
56
     * @return id
57
     */
58
    public Long getId() {
59
        return id;
1✔
60
    }
61

62
    /**
63
     * Set the Id of the update request.
64
     */
65
    public UpdateRequest setId(Long id) {
66
        this.id = id;
1✔
67
        return this;
1✔
68
    }
69

70
    /**
71
     * Gets the User object containing the name and email of the sender
72
     *
73
     * @return sentBy
74
     */
75
    public User getSentBy() {
76
        return sentBy;
×
77
    }
78

79
    /**
80
     * Sets the User object containing the name and email of the sender
81
     */
82
    public UpdateRequest setSentBy(User sentBy) {
83
        this.sentBy = sentBy;
×
84
        return this;
×
85
    }
86

87
    /**
88
     * Gets the schedule for which update requests will be sent out.
89
     *
90
     * @return schedule
91
     */
92
    public Schedule getSchedule() {
93
        return schedule;
×
94
    }
95

96
    /**
97
     * Sets the schedule for which update requests will be sent out.
98
     */
99
    public UpdateRequest setSchedule(Schedule schedule) {
100
        this.schedule = schedule;
×
101
        return this;
×
102
    }
103

104
    /**
105
     * Gets the date and time for when this request was originally created.
106
     *
107
     * @return createdAt
108
     */
109
    public Date getCreatedAt() {
110
        return createdAt;
×
111
    }
112

113
    /**
114
     * Sets the date and time for when this request was originally created.
115
     */
116
    public UpdateRequest setCreatedAt(Date createdAt) {
117
        this.createdAt = createdAt;
×
118
        return this;
×
119
    }
120

121
    /**
122
     * Get the date and time for when the last change was made to this request.
123
     *
124
     * @return modifiedAt
125
     */
126
    public Date getModifiedAt() {
127
        return modifiedAt;
×
128
    }
129

130
    /**
131
     * Set the date and time for when the last change was made to this request.
132
     */
133
    public UpdateRequest setModifiedAt(Date modifiedAt) {
134
        this.modifiedAt = modifiedAt;
×
135
        return this;
×
136
    }
137
}
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