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

box / box-java-sdk-gen / #361

14 Jul 2025 11:20AM UTC coverage: 38.075% (+2.5%) from 35.58%
#361

push

github

web-flow
feat: Support common union fields and implicit union conversion (box/box-codegen#758) (#361)

288 of 1203 new or added lines in 106 files covered. (23.94%)

165 existing lines in 43 files now uncovered.

18537 of 48685 relevant lines covered (38.08%)

0.38 hits per line

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

24.14
/src/main/java/com/box/sdkgen/managers/listcollaborations/GetCollaborationsQueryParams.java
1
package com.box.sdkgen.managers.listcollaborations;
2

3
import com.box.sdkgen.serialization.json.EnumWrapper;
4
import java.util.List;
5

6
public class GetCollaborationsQueryParams {
7

8
  public final EnumWrapper<GetCollaborationsQueryParamsStatusField> status;
9

10
  public List<String> fields;
11

12
  public Long offset;
13

14
  public Long limit;
15

16
  public GetCollaborationsQueryParams(GetCollaborationsQueryParamsStatusField status) {
1✔
17
    this.status = new EnumWrapper<GetCollaborationsQueryParamsStatusField>(status);
1✔
18
  }
1✔
19

NEW
20
  public GetCollaborationsQueryParams(EnumWrapper<GetCollaborationsQueryParamsStatusField> status) {
×
NEW
21
    this.status = status;
×
NEW
22
  }
×
23

24
  protected GetCollaborationsQueryParams(Builder builder) {
×
25
    this.status = builder.status;
×
26
    this.fields = builder.fields;
×
27
    this.offset = builder.offset;
×
28
    this.limit = builder.limit;
×
29
  }
×
30

31
  public EnumWrapper<GetCollaborationsQueryParamsStatusField> getStatus() {
32
    return status;
1✔
33
  }
34

35
  public List<String> getFields() {
36
    return fields;
1✔
37
  }
38

39
  public Long getOffset() {
40
    return offset;
1✔
41
  }
42

43
  public Long getLimit() {
44
    return limit;
1✔
45
  }
46

47
  public static class Builder {
48

49
    protected final EnumWrapper<GetCollaborationsQueryParamsStatusField> status;
50

51
    protected List<String> fields;
52

53
    protected Long offset;
54

55
    protected Long limit;
56

57
    public Builder(GetCollaborationsQueryParamsStatusField status) {
×
58
      this.status = new EnumWrapper<GetCollaborationsQueryParamsStatusField>(status);
×
59
    }
×
60

NEW
61
    public Builder(EnumWrapper<GetCollaborationsQueryParamsStatusField> status) {
×
NEW
62
      this.status = status;
×
NEW
63
    }
×
64

65
    public Builder fields(List<String> fields) {
66
      this.fields = fields;
×
67
      return this;
×
68
    }
69

70
    public Builder offset(Long offset) {
71
      this.offset = offset;
×
72
      return this;
×
73
    }
74

75
    public Builder limit(Long limit) {
76
      this.limit = limit;
×
77
      return this;
×
78
    }
79

80
    public GetCollaborationsQueryParams build() {
81
      return new GetCollaborationsQueryParams(this);
×
82
    }
83
  }
84
}
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