• 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

14.29
/src/main/java/com/smartsheet/api/models/Report.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.List;
20

21
/**
22
 * A report object that is a filtered view of the data from one or more Sheets.
23
 *
24
 * @see <a href="http://help.smartsheet.com/customer/portal/articles/522214-creating-reports">Creating Reports Help</a>
25
 */
26
public class Report extends AbstractSheet<ReportRow, ReportColumn, ReportCell> {
1✔
27

28
    /**
29
     * A report's scope can be defined as the sheet ids and workspace ids that make up the report.
30
     */
31
    private Scope scope;
32

33
    /**
34
     * Represents the sheets that rows in the report originated from.
35
     */
36
    private List<Sheet> sourceSheets;
37

38
    /**
39
     * Gets the scope of the report
40
     *
41
     * @return the scope
42
     */
43
    public Scope getScope() {
44
        return scope;
×
45
    }
46

47
    /**
48
     * Sets the scope of the report
49
     */
50
    public Report setScope(Scope scope) {
51
        this.scope = scope;
×
52
        return this;
×
53
    }
54

55
    /**
56
     * Gets the sheet array.
57
     *
58
     * @return the sourceSheets
59
     */
60
    public List<Sheet> getSourceSheets() {
61
        return sourceSheets;
×
62
    }
63

64
    /**
65
     * Sets the sheet array.
66
     *
67
     * @param sourceSheets the new index
68
     */
69
    public Report setSourceSheets(List<Sheet> sourceSheets) {
70
        this.sourceSheets = sourceSheets;
×
71
        return this;
×
72
    }
73
}
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