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

21
    /**
22
     * Specifies what happens when a user clicks the widget.
23
     */
24
    private String interactionType;
25

26
    /**
27
     * If interactionType = SMARTSHEET_ITEM this is the folder to open
28
     */
29
    private Long folderId;
30

31
    /**
32
     * If interactionType = SMARTSHEET_ITEM this is the workspace to open
33
     */
34
    private Long workspaceId;
35

36
    /**
37
     * Gets the interaction type
38
     *
39
     * @return the interaction type
40
     */
41
    public String getInteractionType() {
42
        return interactionType;
×
43
    }
44

45
    /**
46
     * Sets the interaction type
47
     */
48
    public WidgetHyperlink setInteractionType(String interactionType) {
49
        this.interactionType = interactionType;
×
50
        return this;
×
51
    }
52

53
    /**
54
     * Gets the folder ID - valid when interactionType == SMARTSHEET_ITEM
55
     *
56
     * @return the folder ID
57
     */
58
    public Long getFolderId() {
59
        return folderId;
×
60
    }
61

62
    /**
63
     * Sets the folder ID - valid when interactionType == SMARTSHEET_ITEM
64
     */
65
    public WidgetHyperlink setFolderId(Long folderId) {
66
        this.folderId = folderId;
×
67
        return this;
×
68
    }
69

70
    /**
71
     * Gets the workspace ID - valid when interactionType == SMARTSHEET_ITEM
72
     *
73
     * @return the workspace ID
74
     */
75
    public Long getWorkspaceId() {
76
        return workspaceId; }
×
77

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