• 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/SheetFilterDetails.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.SheetFilterOperator;
24

25
import java.util.List;
26

27
public class SheetFilterDetails {
×
28

29
    /**
30
     * Represents the list of criteria
31
     */
32
    private List<Criteria> criteria;
33

34
    /**
35
     * Include parent rows whose children are included in this filter
36
     */
37
    private Boolean includeParent;
38

39
    /**
40
     * How to combine criteria in this filter
41
     */
42
    private SheetFilterOperator operator;
43

44
    /**
45
     * Gets the list of criteria
46
     *
47
     * @return list of criteria
48
     */
49
    public List<Criteria> getCriteria() {
50
        return criteria;
×
51
    }
52

53
    /**
54
     * Sets the list of criteria
55
     *
56
     * @param criteria list of criteria
57
     */
58
    public SheetFilterDetails setCriteria(List<Criteria> criteria) {
59
        this.criteria = criteria;
×
60
        return this;
×
61
    }
62

63
    /**
64
     * Gets flag indicating whether to include parent rows whose children are included in this filter
65
     *
66
     * @return flag indicating whether to include parent
67
     */
68
    public Boolean getIncludeParent() {
69
        return includeParent;
×
70
    }
71

72
    /**
73
     * Sets flag indicating whether to include parent rows whose children are included in this filter
74
     *
75
     * @param includeParent flag indicating whether to include parent
76
     */
77
    public SheetFilterDetails setIncludeParent(Boolean includeParent) {
78
        this.includeParent = includeParent;
×
79
        return this;
×
80
    }
81

82
    /**
83
     * Gets how to combine criteria in this filter
84
     *
85
     * @return the operator
86
     */
87
    public SheetFilterOperator getOperator() {
88
        return operator;
×
89
    }
90

91
    /**
92
     * Sets how to combine criteria in this filter
93
     *
94
     * @param operator the operator
95
     */
96
    public SheetFilterDetails setOperator(SheetFilterOperator operator) {
97
        this.operator = operator;
×
98
        return this;
×
99
    }
100
}
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