• 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

85.71
/src/main/java/com/smartsheet/api/models/CellHistory.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 CellHistory object.
23
 *
24
 * @see <a href="http://help.smartsheet.com/customer/portal/articles/518314-viewing-cell-history">Cell History Documentation</a>
25
 */
26
public class CellHistory extends Cell {
1✔
27
    /**
28
     * Represents the user that modified the cell.
29
     */
30
    private User modifiedBy;
31

32
    /**
33
     * The date the cell was modified.
34
     */
35
    private Date modifiedAt;
36

37
    /**
38
     * Gets the date the cell was modified.
39
     *
40
     * @return the modified at
41
     */
42
    public Date getModifiedAt() {
43
        return modifiedAt;
×
44
    }
45

46
    /**
47
     * Sets the modified Date for the cell.
48
     *
49
     * @param modifiedAt the new modified at
50
     */
51
    public CellHistory setModifiedAt(Date modifiedAt) {
52
        this.modifiedAt = modifiedAt;
1✔
53
        return this;
1✔
54
    }
55

56
    /**
57
     * Gets the user that modified the cell.
58
     *
59
     * @return the modified by
60
     */
61
    public User getModifiedBy() {
62
        return modifiedBy;
1✔
63
    }
64

65
    /**
66
     * Sets the user that modified the cell.
67
     *
68
     * @param modifiedBy the new modified by
69
     */
70
    public CellHistory setModifiedBy(User modifiedBy) {
71
        this.modifiedBy = modifiedBy;
1✔
72
        return this;
1✔
73
    }
74
}
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