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

box / box-java-sdk / #5076

07 Oct 2025 12:35PM UTC coverage: 37.132% (+0.007%) from 37.125%
#5076

push

github

web-flow
test: Change `Event.additionalDetails` field assertion in events test (box/box-codegen#858) (#1491)

18454 of 49699 relevant lines covered (37.13%)

0.37 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
  /** The status of the collaborations to retrieve. */
9
  public final EnumWrapper<GetCollaborationsQueryParamsStatusField> status;
10

11
  /**
12
   * A comma-separated list of attributes to include in the response. This can be used to request
13
   * fields that are not normally returned in a standard response.
14
   *
15
   * <p>Be aware that specifying this parameter will have the effect that none of the standard
16
   * fields are returned in the response unless explicitly specified, instead only fields for the
17
   * mini representation are returned, additional to the fields requested.
18
   */
19
  public List<String> fields;
20

21
  /**
22
   * The offset of the item at which to begin the response.
23
   *
24
   * <p>Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
25
   */
26
  public Long offset;
27

28
  /** The maximum number of items to return per page. */
29
  public Long limit;
30

31
  public GetCollaborationsQueryParams(GetCollaborationsQueryParamsStatusField status) {
1✔
32
    this.status = new EnumWrapper<GetCollaborationsQueryParamsStatusField>(status);
1✔
33
  }
1✔
34

35
  public GetCollaborationsQueryParams(EnumWrapper<GetCollaborationsQueryParamsStatusField> status) {
×
36
    this.status = status;
×
37
  }
×
38

39
  protected GetCollaborationsQueryParams(Builder builder) {
×
40
    this.status = builder.status;
×
41
    this.fields = builder.fields;
×
42
    this.offset = builder.offset;
×
43
    this.limit = builder.limit;
×
44
  }
×
45

46
  public EnumWrapper<GetCollaborationsQueryParamsStatusField> getStatus() {
47
    return status;
1✔
48
  }
49

50
  public List<String> getFields() {
51
    return fields;
1✔
52
  }
53

54
  public Long getOffset() {
55
    return offset;
1✔
56
  }
57

58
  public Long getLimit() {
59
    return limit;
1✔
60
  }
61

62
  public static class Builder {
63

64
    protected final EnumWrapper<GetCollaborationsQueryParamsStatusField> status;
65

66
    protected List<String> fields;
67

68
    protected Long offset;
69

70
    protected Long limit;
71

72
    public Builder(GetCollaborationsQueryParamsStatusField status) {
×
73
      this.status = new EnumWrapper<GetCollaborationsQueryParamsStatusField>(status);
×
74
    }
×
75

76
    public Builder(EnumWrapper<GetCollaborationsQueryParamsStatusField> status) {
×
77
      this.status = status;
×
78
    }
×
79

80
    public Builder fields(List<String> fields) {
81
      this.fields = fields;
×
82
      return this;
×
83
    }
84

85
    public Builder offset(Long offset) {
86
      this.offset = offset;
×
87
      return this;
×
88
    }
89

90
    public Builder limit(Long limit) {
91
      this.limit = limit;
×
92
      return this;
×
93
    }
94

95
    public GetCollaborationsQueryParams build() {
96
      return new GetCollaborationsQueryParams(this);
×
97
    }
98
  }
99
}
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