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

smartsheet / smartsheet-java-sdk / #69

09 Oct 2026 07:01AM UTC coverage: 60.094% (+0.4%) from 59.734%
#69

push

github

web-flow
Merge pull request #195 from jhinkey-smartsheet/jim.hinkey/document-checking-children-type

Describe the items of the TokenPaginatedResult returned by  getWorkspaceChildren and getFolderChildren

4626 of 7698 relevant lines covered (60.09%)

0.6 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

52.63
/src/main/java/com/smartsheet/api/models/UserPlan.java
1
/*
2
 * Copyright (C) 2025 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
import java.time.ZonedDateTime;
20
import com.smartsheet.api.models.enums.SeatType;
21

22
/**
23
 * Represents the UserPlan object.
24
 */
25
public class UserPlan {
1 ✔
26
    private Long planId;
27
    private String planName;
28
    private SeatType seatType;
29
    private ZonedDateTime seatTypeLastChangedAt;
30
    private ZonedDateTime provisionalExpirationDate;
31
    private Boolean isInternal;
32

33
    public Long getPlanId() {
34
        return planId;
1 ✔
35
    }
36

37
    public void setPlanId(Long planId) {
38
        this.planId = planId;
1 ✔
39
    }
1 ✔
40

41
    /**
42
     * <p>The name of the organization that owns this plan.</p>
43
     *
44
     * <p>Only populated when {@code planName} was requested via the {@code include} parameter of
45
     * {@code listUserPlans}. It is also null for a plan whose owning organization has no name, so
46
     * a null value does not by itself mean the enrichment was not requested.</p>
47
     *
48
     * <p>Organization names are cached server side for several hours, so a recently renamed
49
     * organization may briefly report its previous name.</p>
50
     *
51
     * @return the plan name, or null
52
     */
53
    public String getPlanName() {
54
        return planName;
×
55
    }
56

57
    public void setPlanName(String planName) {
58
        this.planName = planName;
×
59
    }
×
60

61
    public SeatType getSeatType() {
62
        return seatType;
×
63
    }
64

65
    public void setSeatType(SeatType seatType) {
66
        this.seatType = seatType;
1 ✔
67
    }
1 ✔
68

69
    public ZonedDateTime getSeatTypeLastChangedAt() {
70
        return seatTypeLastChangedAt;
×
71
    }
72

73
    public void setSeatTypeLastChangedAt(ZonedDateTime seatTypeLastChangedAt) {
74
        this.seatTypeLastChangedAt = seatTypeLastChangedAt;
1 ✔
75
    }
1 ✔
76

77
    public ZonedDateTime getProvisionalExpirationDate() {
78
        return provisionalExpirationDate;
×
79
    }
80

81
    public void setProvisionalExpirationDate(ZonedDateTime provisionalExpirationDate) {
82
        this.provisionalExpirationDate = provisionalExpirationDate;
×
83
    }
×
84

85
    public Boolean getIsInternal() {
86
        return isInternal;
×
87
    }
88

89
    public void setIsInternal(Boolean isInternal) {
90
        this.isInternal = isInternal;
1 ✔
91
    }
1 ✔
92
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc