• 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/WidgetHyperlink.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
public class WidgetHyperlink extends Hyperlink {
×
24

25
    /**
26
     * Specifies what happens when a user clicks the widget.
27
     */
28
    private String interactionType;
29

30
    /**
31
     * If interactionType = SMARTSHEET_ITEM this is the folder to open
32
     */
33
    private Long folderId;
34

35
    /**
36
     * If interactionType = SMARTSHEET_ITEM this is the workspace to open
37
     */
38
    private Long workspaceId;
39

40
    /**
41
     * Gets the interaction type
42
     *
43
     * @return the interaction type
44
     */
45
    public String getInteractionType() {
46
        return interactionType;
×
47
    }
48

49
    /**
50
     * Sets the interaction type
51
     */
52
    public WidgetHyperlink setInteractionType(String interactionType) {
53
        this.interactionType = interactionType;
×
54
        return this;
×
55
    }
56

57
    /**
58
     * Gets the folder ID - valid when interactionType == SMARTSHEET_ITEM
59
     *
60
     * @return the folder ID
61
     */
62
    public Long getFolderId() {
63
        return folderId;
×
64
    }
65

66
    /**
67
     * Sets the folder ID - valid when interactionType == SMARTSHEET_ITEM
68
     */
69
    public WidgetHyperlink setFolderId(Long folderId) {
70
        this.folderId = folderId;
×
71
        return this;
×
72
    }
73

74
    /**
75
     * Gets the workspace ID - valid when interactionType == SMARTSHEET_ITEM
76
     *
77
     * @return the workspace ID
78
     */
79
    public Long getWorkspaceId() {
80
        return workspaceId; }
×
81

82
    /**
83
     * Sets the workspace ID - valid when interactionType == SMARTSHEET_ITEM
84
     */
85
    public WidgetHyperlink setWorkspaceId(Long workspaceId) {
86
        this.workspaceId = workspaceId;
×
87
        return this;
×
88
    }
89
}
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