• 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

24.14
/src/main/java/com/box/sdkgen/managers/aistudio/GetAiAgentsQueryParams.java
1
package com.box.sdkgen.managers.aistudio;
2

3
import java.util.List;
4

5
public class GetAiAgentsQueryParams {
6

7
  public List<String> mode;
8

9
  public List<String> fields;
10

11
  public List<String> agentState;
12

13
  public Boolean includeBoxDefault;
14

15
  public String marker;
16

17
  public Long limit;
18

19
  public GetAiAgentsQueryParams() {}
1✔
20

NEW
21
  protected GetAiAgentsQueryParams(Builder builder) {
×
22
    this.mode = builder.mode;
×
23
    this.fields = builder.fields;
×
24
    this.agentState = builder.agentState;
×
25
    this.includeBoxDefault = builder.includeBoxDefault;
×
26
    this.marker = builder.marker;
×
27
    this.limit = builder.limit;
×
28
  }
×
29

30
  public List<String> getMode() {
31
    return mode;
1✔
32
  }
33

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

38
  public List<String> getAgentState() {
39
    return agentState;
1✔
40
  }
41

42
  public Boolean getIncludeBoxDefault() {
43
    return includeBoxDefault;
1✔
44
  }
45

46
  public String getMarker() {
47
    return marker;
1✔
48
  }
49

50
  public Long getLimit() {
51
    return limit;
1✔
52
  }
53

NEW
54
  public static class Builder {
×
55

56
    protected List<String> mode;
57

58
    protected List<String> fields;
59

60
    protected List<String> agentState;
61

62
    protected Boolean includeBoxDefault;
63

64
    protected String marker;
65

66
    protected Long limit;
67

68
    public Builder mode(List<String> mode) {
69
      this.mode = mode;
×
70
      return this;
×
71
    }
72

73
    public Builder fields(List<String> fields) {
74
      this.fields = fields;
×
75
      return this;
×
76
    }
77

78
    public Builder agentState(List<String> agentState) {
79
      this.agentState = agentState;
×
80
      return this;
×
81
    }
82

83
    public Builder includeBoxDefault(Boolean includeBoxDefault) {
84
      this.includeBoxDefault = includeBoxDefault;
×
85
      return this;
×
86
    }
87

88
    public Builder marker(String marker) {
89
      this.marker = marker;
×
90
      return this;
×
91
    }
92

93
    public Builder limit(Long limit) {
94
      this.limit = limit;
×
95
      return this;
×
96
    }
97

98
    public GetAiAgentsQueryParams build() {
99
      return new GetAiAgentsQueryParams(this);
×
100
    }
101
  }
102
}
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