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

smartsheet / smartsheet-java-sdk / #55

02 Oct 2024 07:40PM UTC coverage: 60.548% (+0.7%) from 59.836%
#55

push

github

web-flow
Release prep for 3.2.1 (#103)

4156 of 6864 relevant lines covered (60.55%)

0.61 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/ErrorDetail.java
1
/*
2
 * Copyright (C) 2024 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 com.smartsheet.api.models.enums.DestinationType;
20

21
public class ErrorDetail {
×
22

23
    /**
24
     * User's alternate email address that was specified in the request.
25
     */
26
    private String alternateEmailAddress;
27

28
    /**
29
     * When allowPartialSuccess = false, index of the row that caused the error.
30
     */
31
    private Integer index;
32

33
    /**
34
     * The server-side limit on the number of sheets allowed in a single folder/workspace copy operation.
35
     */
36
    private Integer maxSheetCount;
37

38
    /**
39
     * User's primary email address that must instead by specified for the operation.
40
     */
41
    private String primaryEmailAddress;
42

43
    /**
44
     * When allowPartialSuccess = false, rowID of the row that caused the error.
45
     */
46
    private Long rowId;
47

48
    /**
49
     * The ID of the top level folder or workspace that was partially copied.
50
     */
51
    private Long topContainerId;
52

53
    /**
54
     * The destination type of the top level folder or workspace that was partially copied.
55
     */
56
    private DestinationType topContainerType;
57

58
    /**
59
     * Gets the alternate email address that was specified in the request.
60
     *
61
     * @return the alternate email address
62
     */
63
    public String getAlternateEmailAddress() {
64
        return alternateEmailAddress;
×
65
    }
66

67
    /**
68
     * Sets the alternate email address that was specified in the request
69
     *
70
     * @param alternateEmailAddress the alternate email address
71
     */
72
    public ErrorDetail setAlternateEmailAddress(String alternateEmailAddress) {
73
        this.alternateEmailAddress = alternateEmailAddress;
×
74
        return this;
×
75
    }
76

77
    /**
78
     * Gets the index of the row that caused the error.
79
     *
80
     * @return the index
81
     */
82
    public Integer getIndex() {
83
        return index;
×
84
    }
85

86
    /**
87
     * Sets the index of the row that caused the error
88
     *
89
     * @param index the index
90
     */
91
    public ErrorDetail setIndex(Integer index) {
92
        this.index = index;
×
93
        return this;
×
94
    }
95

96
    /**
97
     * Gets the server-side limit on the number of sheets allowed in a single copy operation.
98
     *
99
     * @return the maximum sheet count
100
     */
101
    public Integer getMaxSheetCount() {
102
        return maxSheetCount;
×
103
    }
104

105
    /**
106
     * Sets the maximum sheet count for the server-side limit
107
     *
108
     * @param maxSheetCount the maximum sheet count
109
     */
110
    public ErrorDetail setMaxSheetCount(Integer maxSheetCount) {
111
        this.maxSheetCount = maxSheetCount;
×
112
        return this;
×
113
    }
114

115
    /**
116
     * Gets the primary email address that should be specified in the request.
117
     *
118
     * @return the primary email address
119
     */
120
    public String getPrimaryEmailAddress() {
121
        return primaryEmailAddress;
×
122
    }
123

124
    /**
125
     * Sets the primary email address that should be specified in the request
126
     *
127
     * @param primaryEmailAddress the primary email address
128
     */
129
    public ErrorDetail setPrimaryEmailAddress(String primaryEmailAddress) {
130
        this.primaryEmailAddress = primaryEmailAddress;
×
131
        return this;
×
132
    }
133

134
    /**
135
     * Gets the row ID of the row that caused the error.
136
     *
137
     * @return the row ID
138
     */
139
    public Long getRowId() {
140
        return rowId;
×
141
    }
142

143
    /**
144
     * Sets the row ID of the row that caused the error
145
     *
146
     * @param rowId the row ID
147
     */
148
    public ErrorDetail setRowId(Long rowId) {
149
        this.rowId = rowId;
×
150
        return this;
×
151
    }
152

153
    /**
154
     * Gets the ID of the container that was partially copied
155
     *
156
     * @return the container ID
157
     */
158
    public Long getTopContainId() {
159
        return topContainerId;
×
160
    }
161

162
    /**
163
     * Sets the ID of the container that was partially copied
164
     *
165
     * @param topContainerId the container ID
166
     */
167
    public ErrorDetail setTopContainerId(Long topContainerId) {
168
        this.topContainerId = topContainerId;
×
169
        return this;
×
170
    }
171

172
    /**
173
     * Gets the type of the container that was partially copied
174
     *
175
     * @return the container type
176
     */
177
    public DestinationType getTopContainerType() {
178
        return topContainerType;
×
179
    }
180

181
    /**
182
     * Sets the type of the container that was partially copied
183
     *
184
     * @param topContainerType the container type
185
     */
186
    public ErrorDetail setTopContainerType(DestinationType topContainerType) {
187
        this.topContainerType = topContainerType;
×
188
        return this;
×
189
    }
190
}
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