• 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

63.27
/src/main/java/com/smartsheet/api/models/FormatTables.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
import java.util.List;
23

24
public class FormatTables {
1✔
25

26
    /**
27
     * Represents the format descriptor.
28
     */
29
    private String defaults;
30

31
    /**
32
     * Represents Possible bold values: none,on.
33
     */
34
    private List<String> bold;
35

36
    /**
37
     * Represents Color hex values.
38
     */
39
    private List<String> color;
40

41
    /**
42
     * Represents Currency codes and symbols.
43
     */
44
    private List<Currency> currency;
45

46
    /**
47
     * Array of strings containing available date formats
48
     */
49
    private List<String> dateFormat;
50

51
    /**
52
     * Represents All allowed decimal count values.
53
     */
54
    private List<String> decimalCount;
55

56
    /**
57
     * Represents Font families with additional font information.
58
     */
59
    private List<FontFamily> fontFamily;
60

61
    /**
62
     * Represents Font sizes in points.
63
     */
64
    private List<String> fontSize;
65

66
    /**
67
     * Represents Possible horizontalAlign values: none,on.
68
     */
69
    private List<String> horizontalAlign;
70

71
    /**
72
     * Represents Possible italic values: none,on.
73
     */
74
    private List<String> italic;
75

76
    /**
77
     * Represents Possible numberFormat values: none
78
     NUMBER
79
     CURRENCY
80
     PERCENT.
81
     */
82
    private List<String> numberFormat;
83

84
    /**
85
     * Represents Possible strikethrough values: none,on.
86
     */
87
    private List<String> strikethrough;
88

89
    /**
90
     * Represents Possible textWrap values: none,on.
91
     */
92
    private List<String> textWrap;
93

94
    /**
95
     * Represents Possible thousandsSeparator values: none,on.
96
     */
97
    private List<String> thousandsSeparator;
98

99
    /**
100
     * Represents Possible underline values: none,on.
101
     */
102
    private List<String> underline;
103

104
    /**
105
     * Represents Possible verticalAlign values: top, middle, bottom.
106
     */
107
    private List<String> verticalAlign;
108

109
    /**
110
     * Gets the format descriptor.
111
     *
112
     * @return the defaults
113
     */
114
    public String getDefaults() {
115
        return defaults;
×
116
    }
117

118
    /**
119
     * Sets the format descriptor.
120
     *
121
     * @param defaults the new defaults
122
     */
123
    public FormatTables setDefaults(String defaults) {
124
        this.defaults = defaults;
1✔
125
        return this;
1✔
126
    }
127

128
    /**
129
     * Gets the Possible bold values.
130
     *
131
     * @return the Possible bold values
132
     */
133
    public List<String> getBold() {
134
        return bold;
×
135
    }
136

137
    /**
138
     * Sets the Possible bold values.
139
     *
140
     * @param bold the new Possible bold values
141
     */
142
    public FormatTables setBold(List<String> bold) {
143
        this.bold = bold;
1✔
144
        return this;
1✔
145
    }
146

147
    /**
148
     * Gets the Color hex values.
149
     *
150
     * @return the Color hex values
151
     */
152
    public List<String> getColor() {
153
        return color;
×
154
    }
155

156
    /**
157
     * Sets the Color hex values.
158
     *
159
     * @param color the new Color hex values
160
     */
161
    public FormatTables setColor(List<String> color) {
162
        this.color = color;
1✔
163
        return this;
1✔
164
    }
165

166
    /**
167
     * Gets the Currency codes and symbols.
168
     *
169
     * @return the Currency codes and symbols
170
     */
171
    public List<Currency> getCurrency() {
172
        return currency;
×
173
    }
174

175
    /**
176
     * Sets the Currency codes and symbols.
177
     *
178
     * @param currency the new Currency codes and symbols
179
     */
180
    public FormatTables setCurrency(List<Currency> currency) {
181
        this.currency = currency;
1✔
182
        return this;
1✔
183
    }
184

185
    /**
186
     * Gets the array of strings containing available date formats
187
     *
188
     * @return the date formats
189
     */
190
    public List<String> getDateFormat() {
191
        return dateFormat;
×
192
    }
193

194
    /**
195
     * Sets the array of strings containing available date formats
196
     *
197
     * @param dateFormat the date formats
198
     */
199
    public FormatTables setDateFormat(List<String> dateFormat) {
200
        this.dateFormat = dateFormat;
×
201
        return this;
×
202
    }
203

204
    /**
205
     * Gets the allowed decimal count values.
206
     *
207
     * @return the allowed decimal count values
208
     */
209
    public List<String> getDecimalCount() {
210
        return decimalCount;
×
211
    }
212

213
    /**
214
     * Sets the allowed decimal count values.
215
     *
216
     * @param decimalCount the new allowed decimal count values
217
     */
218
    public FormatTables setDecimalCount(List<String> decimalCount) {
219
        this.decimalCount = decimalCount;
1✔
220
        return this;
1✔
221
    }
222

223
    /**
224
     * Gets the Font families.
225
     *
226
     * @return the Font families
227
     */
228
    public List<FontFamily> getFontFamily() {
229
        return fontFamily;
×
230
    }
231

232
    /**
233
     * Sets the Font families.
234
     *
235
     * @param fontFamily the new Font families
236
     */
237
    public FormatTables setFontFamily(List<FontFamily> fontFamily) {
238
        this.fontFamily = fontFamily;
1✔
239
        return this;
1✔
240
    }
241

242
    /**
243
     * Gets the Font sizes in points.
244
     *
245
     * @return the Font sizes in points
246
     */
247
    public List<String> getFontSize() {
248
        return fontSize;
×
249
    }
250

251
    /**
252
     * Sets the Font sizes in points.
253
     *
254
     * @param fontSize the new Font sizes in points
255
     */
256
    public FormatTables setFontSize(List<String> fontSize) {
257
        this.fontSize = fontSize;
1✔
258
        return this;
1✔
259
    }
260

261
    /**
262
     * Gets the Possible horizontalAlign values.
263
     *
264
     * @return the Possible horizontalAlign values
265
     */
266
    public List<String> getHorizontalAlign() {
267
        return horizontalAlign;
×
268
    }
269

270
    /**
271
     * Sets the Possible horizontalAlign values.
272
     *
273
     * @param horizontalAlign the new Possible horizontalAlign values
274
     */
275
    public FormatTables setHorizontalAlign(List<String> horizontalAlign) {
276
        this.horizontalAlign = horizontalAlign;
1✔
277
        return this;
1✔
278
    }
279

280
    /**
281
     * Gets the Possible italic values.
282
     *
283
     * @return the Possible italic values
284
     */
285
    public List<String> getItalic() {
286
        return italic;
×
287
    }
288

289
    /**
290
     * Sets the Possible italic values.
291
     *
292
     * @param italic the new Possible italic values
293
     */
294
    public FormatTables setItalic(List<String> italic) {
295
        this.italic = italic;
1✔
296
        return this;
1✔
297
    }
298

299
    /**
300
     * Gets the numberFormat values.
301
     *
302
     * @return the numberFormat values
303
     */
304
    public List<String> getNumberFormat() {
305
        return numberFormat;
×
306
    }
307

308
    /**
309
     * Sets the numberFormat values.
310
     *
311
     * @param numberFormat the new numberFormat values
312
     */
313
    public FormatTables setNumberFormat(List<String> numberFormat) {
314
        this.numberFormat = numberFormat;
1✔
315
        return this;
1✔
316
    }
317

318
    /**
319
     * Gets the Possible strikethrough values.
320
     *
321
     * @return the Possible strikethrough values
322
     */
323
    public List<String> getStrikethrough() {
324
        return strikethrough;
×
325
    }
326

327
    /**
328
     * Sets the Possible strikethrough values.
329
     *
330
     * @param strikethrough the new Possible strikethrough values
331
     */
332
    public FormatTables setStrikethrough(List<String> strikethrough) {
333
        this.strikethrough = strikethrough;
1✔
334
        return this;
1✔
335
    }
336

337
    /**
338
     * Gets the textWrap values.
339
     *
340
     * @return the textWrap values
341
     */
342
    public List<String> getTextWrap() {
343
        return textWrap;
×
344
    }
345

346
    /**
347
     * Sets the textWrap values.
348
     *
349
     * @param textWrap the new textWrap values
350
     */
351
    public FormatTables setTextWrap(List<String> textWrap) {
352
        this.textWrap = textWrap;
1✔
353
        return this;
1✔
354
    }
355

356
    /**
357
     * Gets the thousandsSeparator values.
358
     *
359
     * @return the thousandsSeparator values
360
     */
361
    public List<String> getThousandsSeparator() {
362
        return thousandsSeparator;
×
363
    }
364

365
    /**
366
     * Sets the thousandsSeparator values.
367
     *
368
     * @param thousandsSeparator the new thousandsSeparator values
369
     */
370
    public FormatTables setThousandsSeparator(List<String> thousandsSeparator) {
371
        this.thousandsSeparator = thousandsSeparator;
1✔
372
        return this;
1✔
373
    }
374

375
    /**
376
     * Gets the Possible underline values.
377
     *
378
     * @return the Possible underline values
379
     */
380
    public List<String> getUnderline() {
381
        return underline;
×
382
    }
383

384
    /**
385
     * Sets the Possible underline values.
386
     *
387
     * @param underline the new Possible underline values
388
     */
389
    public FormatTables setUnderline(List<String> underline) {
390
        this.underline = underline;
1✔
391
        return this;
1✔
392
    }
393

394
    /**
395
     * Gets the Possible verticalAlign values.
396
     *
397
     * @return the Possible verticalAlign values
398
     */
399
    public List<String> getVerticalAlign() {
400
        return verticalAlign;
×
401
    }
402

403
    /**
404
     * Sets the Possible verticalAlign values.
405
     *
406
     * @param verticalAlign the new Possible verticalAlign values
407
     */
408
    public FormatTables setVerticalAlign(List<String> verticalAlign) {
409
        this.verticalAlign = verticalAlign;
1✔
410
        return this;
1✔
411
    }
412
}
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