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

box / box-java-sdk-gen / #226

20 Jun 2025 03:14PM UTC coverage: 35.609% (-0.2%) from 35.816%
#226

push

github

web-flow
feat: Shorten builder names in Java (box/box-codegen#742) (#334)

367 of 1570 new or added lines in 984 files covered. (23.38%)

674 existing lines in 370 files now uncovered.

16125 of 45284 relevant lines covered (35.61%)

0.36 hits per line

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

0.0
/src/main/java/com/box/sdkgen/managers/collections/GetCollectionItemsQueryParams.java
1
package com.box.sdkgen.managers.collections;
2

3
import java.util.List;
4

5
public class GetCollectionItemsQueryParams {
6

7
  public List<String> fields;
8

9
  public Long offset;
10

11
  public Long limit;
12

13
  public GetCollectionItemsQueryParams() {}
×
14

NEW
15
  protected GetCollectionItemsQueryParams(Builder builder) {
×
16
    this.fields = builder.fields;
×
17
    this.offset = builder.offset;
×
18
    this.limit = builder.limit;
×
19
  }
×
20

21
  public List<String> getFields() {
22
    return fields;
×
23
  }
24

25
  public Long getOffset() {
26
    return offset;
×
27
  }
28

29
  public Long getLimit() {
30
    return limit;
×
31
  }
32

NEW
33
  public static class Builder {
×
34

35
    protected List<String> fields;
36

37
    protected Long offset;
38

39
    protected Long limit;
40

41
    public Builder fields(List<String> fields) {
42
      this.fields = fields;
×
43
      return this;
×
44
    }
45

46
    public Builder offset(Long offset) {
47
      this.offset = offset;
×
48
      return this;
×
49
    }
50

51
    public Builder limit(Long limit) {
52
      this.limit = limit;
×
53
      return this;
×
54
    }
55

56
    public GetCollectionItemsQueryParams build() {
57
      return new GetCollectionItemsQueryParams(this);
×
58
    }
59
  }
60
}
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