• 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

68.42
/src/main/java/com/smartsheet/api/models/Home.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
 * Represents the Home object.
23
 *
24
 * @see <a href="http://help.smartsheet.com/customer/portal/articles/522237-the-home-tab">Home Tab Help</a>
25
 */
26
public class Home {
1✔
27
    /**
28
     * Represents the sheets in the home location.
29
     */
30
    private List<Sheet> sheets;
31

32
    /**
33
     * Represents the folders in the home location.
34
     */
35
    private List<Folder> folders;
36

37
    /**
38
     * Represents the reports in the home location.
39
     */
40
    private List<Report> reports;
41

42
    /**
43
     * Represents the templates in the home location.
44
     */
45
    private List<Template> templates;
46

47
    /**
48
     * Represents the workspaces in the home location.
49
     */
50
    private List<Workspace> workspaces;
51

52
    /**
53
     * Represents the sights in the home location.
54
     */
55
    private List<Sight> sights;
56

57
    /**
58
     * Gets the sheets in the home location.
59
     *
60
     * @return the sheets
61
     */
62
    public List<Sheet> getSheets() {
63
        return sheets;
1✔
64
    }
65

66
    /**
67
     * Sets the sheets.
68
     *
69
     * @param sheets the new sheets
70
     */
71
    public Home setSheets(List<Sheet> sheets) {
72
        this.sheets = sheets;
1✔
73
        return this;
1✔
74
    }
75

76
    /**
77
     * Gets the folders in the home location.
78
     *
79
     * @return the folders
80
     */
81
    public List<Folder> getFolders() {
82
        return folders;
1✔
83
    }
84

85
    /**
86
     * Sets the folders in the home location.
87
     *
88
     * @param folders the new folders
89
     */
90
    public Home setFolders(List<Folder> folders) {
91
        this.folders = folders;
1✔
92
        return this;
1✔
93
    }
94

95
    /**
96
     * Gets the reports.
97
     *
98
     * @return the reports
99
     */
100
    public List<Report> getReports() {
101
        return reports;
×
102
    }
103

104
    /**
105
     * Sets the reports.
106
     *
107
     * @param reports the new reports
108
     */
109
    public Home setReports(List<Report> reports) {
110
        this.reports = reports;
×
111
        return this;
×
112
    }
113

114
    /**
115
     * Gets the templates in the home location.
116
     *
117
     * @return the templates
118
     */
119
    public List<Template> getTemplates() {
120
        return templates;
1✔
121
    }
122

123
    /**
124
     * Sets the templates in the home location.
125
     *
126
     * @param templates the new templates
127
     */
128
    public Home setTemplates(List<Template> templates) {
129
        this.templates = templates;
1✔
130
        return this;
1✔
131
    }
132

133
    /**
134
     * Gets the workspaces in the home location.
135
     *
136
     * @return the workspaces
137
     */
138
    public List<Workspace> getWorkspaces() {
139
        return workspaces;
1✔
140
    }
141

142
    /**
143
     * Sets the workspaces in the home location.
144
     *
145
     * @param workspaces the new workspaces
146
     */
147
    public Home setWorkspaces(List<Workspace> workspaces) {
148
        this.workspaces = workspaces;
1✔
149
        return this;
1✔
150
    }
151

152
    /**
153
     * Gets the sights in the home location.
154
     *
155
     * @return array of sights
156
     */
157
    public List<Sight> getSights() {
158
        return sights;
×
159
    }
160

161
    /**
162
     * Sets the sights in the home location.
163
     */
164
    public Home setSights(List<Sight> sights) {
165
        this.sights = sights;
×
166
        return this;
×
167
    }
168
}
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