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

smartsheet / smartsheet-java-sdk / #45

29 Aug 2023 04:23PM UTC coverage: 50.55%. Remained the same
#45

push

github-actions

web-flow
Make the license header consistent and add checkstyle rule (#63)

* Make the license header consistent and add checkstyle rule

* Make the file license come before the package

* Remove Smartsheet SDK for Java from every file

3448 of 6821 relevant lines covered (50.55%)

0.51 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/SheetUserPermissions.java
1
/*
2
 * Copyright (C) 2023 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
public class SheetUserPermissions {
×
20

21
    /**
22
     * ADMIN: full control over fields
23
     * READ_DELETE: sheet is owned by an individual account that doesn't have summary capabilities. If a summary exists,
24
     *     the only possible operations are GET and DELETE fields.
25
     * READ_ONLY:
26
     * READ_WRITE: can edit values of existing fields, but not create or delete fields, nor modify field type.
27
     */
28
    private String summaryPermissions;
29

30
    /**
31
     * Gets the sheet summary permissions
32
     *
33
     * @return summaryPermissions
34
     */
35
    public String getSummaryPermissions() {
36
        return summaryPermissions;
×
37
    }
38

39
    /**
40
     * Sets the sheet summary permissions
41
     */
42
    public SheetUserPermissions setSummaryPermissions(String summaryPermissions) {
43
        this.summaryPermissions = summaryPermissions;
×
44
        return this;
×
45
    }
46
}
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