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

smartsheet / smartsheet-java-sdk / #43

24 Aug 2023 10:26PM UTC coverage: 50.427% (-0.02%) from 50.442%
#43

push

github-actions

web-flow
Fix Checkstyle violations in api/models Classes (#57)

This will fix ~900 violations

189 of 189 new or added lines in 59 files covered. (100.0%)

3423 of 6788 relevant lines covered (50.43%)

0.5 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/SheetFilter.java
1
package com.smartsheet.api.models;
2

3
/*
4
 * #[license]
5
 * Smartsheet SDK for Java
6
 * %%
7
 * Copyright (C) 2023 Smartsheet
8
 * %%
9
 * Licensed under the Apache License, Version 2.0 (the "License");
10
 * you may not use this file except in compliance with the License.
11
 * You may obtain a copy of the License at
12
 *
13
 *      http://www.apache.org/licenses/LICENSE-2.0
14
 *
15
 * Unless required by applicable law or agreed to in writing, software
16
 * distributed under the License is distributed on an "AS IS" BASIS,
17
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
 * See the License for the specific language governing permissions and
19
 * limitations under the License.
20
 * %[license]
21
 */
22

23
import com.smartsheet.api.models.enums.SheetFilterType;
24

25
public class SheetFilter extends NamedModel<Long> {
×
26

27
    /**
28
     * Represents the filter type
29
     */
30
    private SheetFilterType filterType;
31

32
    /**
33
     * Represents the details that make up the Filter query
34
     */
35
    private SheetFilterDetails query;
36

37
    /**
38
     * the Filter version
39
     */
40
    private Integer version;
41

42
    /**
43
     * Gets the filter type
44
     *
45
     * @return the filter type
46
     */
47
    public SheetFilterType getFilterType() {
48
        return filterType;
×
49
    }
50

51
    /**
52
     * Sets the filter type
53
     *
54
     * @param filterType the filter type
55
     */
56
    public SheetFilter setFilterType(SheetFilterType filterType) {
57
        this.filterType = filterType;
×
58
        return this;
×
59
    }
60

61
    /**
62
     * Gets the details that make up the Filter query
63
     *
64
     * @return the SheetFilterDetails
65
     */
66
    public SheetFilterDetails getQuery() {
67
        return query;
×
68
    }
69

70
    /**
71
     * Sets the details that make up the Filter query
72
     *
73
     * @param query the SheetFilterDetails
74
     */
75
    public SheetFilter setQuery(SheetFilterDetails query) {
76
        this.query = query;
×
77
        return this;
×
78
    }
79

80
    /**
81
     * Gets the sheet filter version
82
     *
83
     * @return the SheetFilter version
84
     */
85
    public Integer getVersion() {
86
        return version;
×
87
    }
88

89
    /**
90
     * Sets the sheet filter version
91
     *
92
     * @param version the SheetFilter version
93
     */
94
    public SheetFilter setVersion(Integer version) {
95
        this.version = version;
×
96
        return this;
×
97
    }
98
}
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

© 2026 Coveralls, Inc