• 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/aistudio/GetAiAgentsQueryParams.java
1
package com.box.sdkgen.managers.aistudio;
2

3
import java.util.List;
4

5
public class GetAiAgentsQueryParams {
6

7
  /**
8
   * The mode to filter the agent config to return. Possible values are: `ask`, `text_gen`, and
9
   * `extract`.
10
   */
11
  public List<String> mode;
12

13
  /** The fields to return in the response. */
14
  public List<String> fields;
15

16
  /**
17
   * The state of the agents to return. Possible values are: `enabled`, `disabled` and
18
   * `enabled_for_selected_users`.
19
   */
20
  public List<String> agentState;
21

22
  /** Whether to include the Box default agents in the response. */
23
  public Boolean includeBoxDefault;
24

25
  /** Defines the position marker at which to begin returning results. */
26
  public String marker;
27

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

31
  public GetAiAgentsQueryParams() {}
1✔
32

33
  protected GetAiAgentsQueryParams(Builder builder) {
×
34
    this.mode = builder.mode;
×
35
    this.fields = builder.fields;
×
36
    this.agentState = builder.agentState;
×
37
    this.includeBoxDefault = builder.includeBoxDefault;
×
38
    this.marker = builder.marker;
×
39
    this.limit = builder.limit;
×
40
  }
×
41

42
  public List<String> getMode() {
43
    return mode;
1✔
44
  }
45

46
  public List<String> getFields() {
47
    return fields;
1✔
48
  }
49

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

54
  public Boolean getIncludeBoxDefault() {
55
    return includeBoxDefault;
1✔
56
  }
57

58
  public String getMarker() {
59
    return marker;
1✔
60
  }
61

62
  public Long getLimit() {
63
    return limit;
1✔
64
  }
65

66
  public static class Builder {
×
67

68
    protected List<String> mode;
69

70
    protected List<String> fields;
71

72
    protected List<String> agentState;
73

74
    protected Boolean includeBoxDefault;
75

76
    protected String marker;
77

78
    protected Long limit;
79

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

85
    public Builder fields(List<String> fields) {
86
      this.fields = fields;
×
87
      return this;
×
88
    }
89

90
    public Builder agentState(List<String> agentState) {
91
      this.agentState = agentState;
×
92
      return this;
×
93
    }
94

95
    public Builder includeBoxDefault(Boolean includeBoxDefault) {
96
      this.includeBoxDefault = includeBoxDefault;
×
97
      return this;
×
98
    }
99

100
    public Builder marker(String marker) {
101
      this.marker = marker;
×
102
      return this;
×
103
    }
104

105
    public Builder limit(Long limit) {
106
      this.limit = limit;
×
107
      return this;
×
108
    }
109

110
    public GetAiAgentsQueryParams build() {
111
      return new GetAiAgentsQueryParams(this);
×
112
    }
113
  }
114
}
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